ory / kratos
Code health
Hotspots average 3.2, the place fixes pay off most.
Explore this codebase
- Code health map78hotspots across 7,112 files
- Ownership803sole-owned files: one author, no second reader
- Architecture26modules, 19 entry points
- Decisions652recorded, of which 0 in force and 652 background
- Refactoring118open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 3
3 things worth doing this quarter.
Worth planning
Review the decision “Do not bound schema structural size at loader layer”: the files it governs changed since it was recorded or last accepted
Agents and reviewers still follow it, and nobody has checked it against those changes.
- status
- Accepted, its files changed since
Small effort, worth a checkReview the decision “Reject pure
$refcycles but not mixed validation cycles”: the files it governs changed since it was recorded or last acceptedAgents and reviewers still follow it, and nobody has checked it against those changes.
- status
- Accepted, its files changed since
Small effort, worth a checkDelete 260 unused symbols and files (2,288 lines)
Nothing in the graph reaches them, across 139 files; every reader and agent pays to skip them.
- symbols
- 260
- lines
- 2,288
- safe to delete
- Yes(inferred)
Medium effort
Improve what Repowise can see
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
- line coverage
- Unknown, no report
Small effort
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health2,659 open findingsCriticalUntested hotspot · oryx/popx/migrator.go27 findings · 10.2 deducted
- Refactoring118 open opportunitiesMediumIsValidNumber+1.5 health, S effort · x/json_number.go
- Decisions0 drifting from the codeHighDo not bound schema structural size at loader layerActive decision drifting from the code it governs
- Ownership803 sole-owned filesMediumselfservice/hook/verify_new_address.goOne author, no second reader
- Dead code265Loworyx/josex/encoding.goUnreachable symbol (20 lines)