interplains / zero-breach-toolkit
Code health
Hotspots average 3.2, the place fixes pay off most.
Explore this codebase
- Code health map34hotspots across 266 files
- Ownership215sole-owned files: one author, no second reader
- Architecture3modules, 2 entry points
- Decisions6recorded, of which 0 accepted and 6 awaiting review
- Refactoring39open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 2
3 things worth doing in the week to Nov 5, the last indexed commit, 1 of them now.
Worth planning
Tidy the code shape this week's commits left: 44 findings in 18 files
8 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
scan/zbtriage/modules/browser.py(7 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 44
- files
- 18
- commits
- 8
Large effortSimplify
_tr_persistenceinscan/zbtriage/modules/traces.py: tests reach it, and fixes keep landingChanged 10 times in 90 days, and 4 of those commits were bug fixes.
- commits in 90 days
- 10
- bug-fix commits
- 4
- line coverage
- Unknown, no report
- tests that reach it
- 12 test files, call graph(inferred)
Large 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
4 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health751 open findingsCriticalChange entropy · scan/zbtriage/modules/browser.py96 findings · 14.7 deducted
- Refactoring39 open opportunitiesMediumscope_validate+1.2 health, S effort · scan/zbtriage/scope.py
- Decisions6 to reviewMediumscan/zbtriage/i18n_data.py6 awaiting review, 0 drifting from the code
- Ownership215 sole-owned filesMediumscan/zbtriage/modules/browser.pyOne author, no second reader