mangowm / mango
Code health
This codebase scores 3.1 out of 10 for code health, which we rate at risk. It also scores maintainability 6.9 and static performance 10.0 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 10 of 80 files are git hotspots, and they average 2.4 — which is where the fixes pay off most.
Do next
1 suggested
1 thing worth doing this quarter.
Worth planning
Delete 19 unused symbols and files (287 lines)
Nothing in the graph reaches them, across 2 files; every reader and agent pays to skip them.
- symbols
- 19
- lines
- 287
- safe to delete
- Yes(inferred)
Small 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 effortReview the 9 proposed decisions
None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.
- proposed
- 9
- accepted
- 0
Medium effort
- Lines of code
- 26.9K
Recent activity
All commitsCommits
Decisions
- Sort nix options and fix default value checkproposed · 2mo ago
- Add trailing comma in metaproposed · 2mo ago
- Replace sync nix options with direct markdown generationproposed · 2mo ago
- Prefer keycode when keybinds fail on keyboard layoutsproposed · 2mo ago
- Use spawn_shell for shell pipesproposed · 2mo ago
- Enable tearing to reduce input latencyproposed · 2mo ago
Everything we found
599 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 health515Untested hotspot · src/fetch/client.h27 findings · 9.1 deducted
- worst item is low severity. Refactoring9cycle[2]: util.h->util.c+0.0 health, S effort · src/common/util.c
- worst item is medium severity. Decisions19src/mango.c9 awaiting review · 10 hotspots ungoverned
- worst item is medium severity. Ownership37src/mango.c92% single-owner concentration, 134 commits in 90d
- worst item is low severity. Dead code19regex_matchUnreachable function (26 lines)
Composition
Open the graph- cpp83%
- c10%
- python5%
- shell3%
Explore this codebase
- Docs147 pages across 4 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files80 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 5 entry points
- Code healthPer-file scores, 515 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.