miguelgrinberg / microdot
pythonmain7742db910.7K linessynced on Oct 3, 2026
Code health
7.5out of 10Good
Hotspots average 2.0, the place fixes pay off most.
Explore this codebase
- Code health map1hotspot across 171 files
- Ownership124sole-owned files: one author, no second reader
- Architecture8modules, 12 entry points
- Decisions1recorded, of which 0 accepted and 1 awaiting review
- Refactoring13open 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 Sep 18, the last indexed commit.
Worth planning
Start breaking up dispatch_request (CCN 40, 94 lines): first lift lines 1480-1520
src/microdot/microdot.py:1480
dispatch_request nests deeply; easier to read and change once split; function changed in 16 commits; its file is imported by 15 files, changed 3 times in 90 days.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Nested complexity
- size
- CCN 40, 94 lines, nests 7 deep
- severity
- high
Medium effort, worth a check
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 health210 open findingsCriticalDeep nesting · src/microdot/microdot.py50 findings · 8.0 deducted
- Refactoring13 open opportunitiesLowgather+0.8 health, S effort · libs/circuitpython/asyncio/funcs.py
- Decisions1 to reviewMediumsrc/microdot/microdot.py1 awaiting review, 0 drifting from the code
- Ownership124 sole-owned filesMediumsrc/microdot/microdot.pyOne author, no second reader
- Dead code1Lowticks_lessUnreachable function (4 lines)