Code health of miguelgrinberg/microdot
Repowise scores miguelgrinberg/microdot at 7.5 out of 10 for code health, which reads as good, alongside maintainability 7.3 and static performance 9.8 on the same scale. There are 210 open findings across the three pillars, and the lowest-scoring file is microdot.py at 2.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
11 critical, 41 high, 61 medium, 94 low.
Hotspots
1 file is flagged as hotspots. The top one:
- src/microdot/microdot.py: 3 commits in the last 90 days from 10 contributors with 2 recent bug fixes
Lowest-scoring files
- src/microdot/microdot.py: 2.0 out of 10 with 2 bug fixes in the last 180 days
- src/microdot/test_client.py: 3.5 out of 10 with 1 bug fix in the last 180 days
- src/microdot/asgi.py: 4.7 out of 10
- libs/micropython/datetime.py: 5.6 out of 10
- src/microdot/multipart.py: 5.7 out of 10 with 1 bug fix in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 7 had a bug fix in the last 180 days. Across all 128 scored files, 20.3% had a bug fix in that window.
Dead code and refactoring
Repowise found 47 unused exports. 13 refactoring targets across 13 files would raise the score.
More on microdot: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language