litestar-org / litestar
pythonmain716f8b082.0K linessynced 9h ago
Code health
8.7out of 10Excellent
Hotspots average 4.8, the place fixes pay off most.
Explore this codebase
- Code health map10hotspots across 1,168 files
- Ownership376sole-owned files: one author, no second reader
- Architecture8modules, 14 entry points
- Decisions41recorded, of which 0 accepted and 41 awaiting review
- Refactoring23open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 1
1 thing worth doing in the week to Oct 30, the last indexed commit.
Worth planning
Tidy the code shape this week's commits left: 3 findings in 3 files
2 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
litestar/_kwargs/kwargs_model.py(1 finding): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 3
- files
- 3
- commits
- 2
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 health640 open findingsCriticalChange entropy · litestar/_openapi/schema_generation/schema.py20 findings · 9.0 deducted
- Refactoring23 open opportunitiesLowcreate_for_signature_model+0.7 health, M effort · litestar/_kwargs/kwargs_model.py
- Decisions41 to reviewMediumlitestar/_kwargs/kwargs_model.py41 awaiting review, 0 drifting from the code
- Ownership376 sole-owned filesMediumtests/unit/test_kwargs/test_param_markers.pyOne author, no second reader
- Dead code2Lowcleanup_temporary_filesUnreachable function (4 lines)