anefzaoui / misterdownloadmanager
Code health
Hotspots average 3.7, the place fixes pay off most.
Explore this codebase
- Code health map59hotspots across 610 files
- Ownership280sole-owned files: one author, no second reader
- Architecture6modules, 22 entry points
- Decisions26recorded, of which 0 in force and 26 background
- Refactoring74open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 6
6 things worth doing in the week to Nov 9, the last indexed commit.
Worth planning
Start breaking up dialogs (CCN 170, 604 lines): first lift lines 7940-7982
crates/app/src/app.rs:7940
dialogs nests deeply; easier to read and change once split, which also removes a duplicate; its file is imported by 39 files, changed 80 times in 90 days.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Nested complexity
- size
- CCN 170, 604 lines, nests 5 deep
- severity
- high
Medium effort, worth a checkStart breaking up run (CCN 87, 596 lines): first lift lines 991-1004
crates/cli/src/lib.rs:991
run nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 14 commits; its file is imported by 2 files, changed 17 times in 90 days.
- gain
- up to +0.7 health on this file(inferred)
- finding
- Nested complexity
- size
- CCN 87, 596 lines, nests 6 deep
- severity
- medium
Medium effort, worth a checkTidy the code shape this week's commits left: 59 findings in 26 files
28 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
crates/app/src/app.rs(10 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 59
- files
- 26
- commits
- 28
Large effortReview why fixes keep landing in
crates/app/src/unix.rs: tests reach itChanged 31 times in 90 days, and 4 of those commits were bug fixes.
- commits in 90 days
- 31
- bug-fix commits
- 4
- line coverage
- Unknown, no report
- tests that reach it
- 6 test files, import graph(inferred)
Large effort, worth a checkSimplify
sub_dialogincrates/app/src/options.rs: tests reach it, and fixes keep landingChanged 30 times in 90 days, and 4 of those commits were bug fixes.
- commits in 90 days
- 30
- bug-fix commits
- 4
- line coverage
- Unknown, no report
- tests that reach it
- 6 test files, import graph(inferred)
Large effort, worth a check
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health2,389 open findingsCriticalLong function · .claude/skills/impeccable/scripts/live-browser.js256 findings · 13.0 deducted
- Refactoring74 open opportunitiesMediumSettings+1.9 health, L effort · crates/app/src/settings.rs
- Doc drift39Mediumdocs/browser-help.mdLink points at #linux-sandbox, which docs/browser-help.md no longer declares.
- Decisions0 drifting from the codeMediumcrates/app/src/app.rsHigh-churn file with no governing decision
- Ownership280 sole-owned filesMediumcrates/app/src/app.rsOne author, no second reader