pallets / quart
pythonmain29d339c11.3K linessynced 1mo ago
Code health
5.5out of 10Fair
This codebase scores 5.5 out of 10 for code health, which we rate fair. It also scores maintainability 7.0 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 6 of 97 files are git hotspots, and they average 2.7 — which is where the fixes pay off most.
Do next
0 suggested
Nothing stands out in the week to Sep 12, the last indexed commit.
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
- Lines of code
- 11.3K
Recent activity
All commitsCommits
Decisions
- Make use of asynctest for better testing Mocksproposed · 1mo ago
- Remove deprecated usage of asyncio.coroutineproposed · 1mo ago
- Switch JSON tag datetime format to match Flaskproposed · 1mo ago
- Change JSON datetime tag format back to isoformatproposed · 1mo ago
- Remove Config.from_toml and replace with Config.from_fileproposed · 1mo ago
- Adopt the JSON provider interfaceproposed · 1mo ago
Everything we found
295 open
Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.
- worst item is critical severity. Code health198God class · src/quart/app.py43 findings · 8.0 deducted
- worst item is medium severity. Refactoring15Blueprint+1.0 health, M effort · src/quart/blueprints.py
- worst item is medium severity. Decisions18src/quart/app.py12 awaiting review · 6 hotspots ungoverned
- worst item is medium severity. Ownership63src/quart/app.py89% single-owner concentration, 14 commits in 90d
- worst item is low severity. Dead code1src/quart/json/tag.pyUnreachable symbol (0 lines)
Composition
Open the graph- python99%
- makefile1%
Explore this codebase
- Docs111 pages across 4 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files97 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 5 entry points
- Code healthPer-file scores, 251 open findings, coverage and refactoring targets
- Knowledge graphEntities, communities, and the paths between them
- Change couplingFiles that keep changing together, mined from commit history
- CommitsChange-risk ranked history with agent provenance
- ContributorsBus factor, per-file maintainers, and the human/agent split
- StatsSize class, origin, lifetime churn, rhythm and records
- CostsWhat indexing this snapshot cost, by model and by run.