justaresearcher / gpu-unlock-ada
Code health
Hotspots average 1.3, the place fixes pay off most.
Explore this codebase
- Code health map2hotspots across 190 files
- Ownership175sole-owned files: one author, no second reader
- Architecture7modules, 2 entry points
- Decisions2recorded, of which 0 accepted and 2 awaiting review
- Refactoring17open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 4
4 things worth doing in the week to Oct 24, the last indexed commit.
Worth planning
Break up unlock_transaction_reset (CCN 52, 89 lines)
kernel/gpu_unlock/unlock_610.c:1620
unlock_transaction_reset has many paths; easier to read and change once split; its file is imported by 4 files, changed 4 times in 90 days.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Complex method
- size
- CCN 52, 89 lines
- severity
- high
Medium effort, worth a checkBreak up GuFormatV (CCN 61, 49 lines)
windows/ad104-msi/format.c:8
GuFormatV has many paths; easier to read and change once split; its file is imported by 1 file, changed 1 time in 90 days.
- gain
- up to +3.4 health on this file(inferred)
- finding
- Complex method
- size
- CCN 61, 49 lines
- severity
- high
Medium effort, worth a checkTidy the code shape this week's commits left: 80 findings in 22 files
4 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
windows/ad104-msi/msi_release.c(16 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 80
- files
- 22
- commits
- 4
Large effortStart breaking up GuMsiPreflight (CCN 50, 31 lines): first lift lines 404-419
windows/ad104-msi/msi_release.c:404
GuMsiPreflight has many paths; easier to read and change once split; its file is imported by 2 files, changed 1 time in 90 days.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Complex method
- size
- CCN 50, 31 lines
- 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 health373 open findingsCriticalChange entropy · kernel/gpu_unlock/unlock_610.c46 findings · 12.1 deducted
- Refactoring17 open opportunitiesMediumanalyze+1.3 health, M effort · windows/ad104-msi/diagnostic/tools/analyze.py
- Doc drift2Mediumrtx4090-register-report.mdDocument names docs/ANALYSIS.en.md, which no longer exists.
- Decisions2 to reviewMediumtests/test_unlock_adapter.c2 awaiting review, 0 drifting from the code
- Ownership175 sole-owned filesMediumdiagnostics/bench/bench_args.hOne author, no second reader