seedds / nxnative
Code health
Hotspots average 3.7, the place fixes pay off most.
Explore this codebase
- Code health map61hotspots across 1,658 files
- Ownership784sole-owned files: one author, no second reader
- Architecture2modules, 4 entry points
- Decisions92recorded, of which 0 in force and 92 background
- Refactoring161open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 5
5 things worth doing in the week to Nov 10, the last indexed commit.
Worth planning
Start breaking up duo_calc (CCN 490, 169 lines): first lift lines 138-244
dm/games/01007EF00011E000/duo_anchor.c:138
duo_calc has many paths; easier to read and change once split; its file is imported by 3 files, changed 2 times in 90 days.
- gain
- up to +5.1 health on this file(inferred)
- finding
- Complex method
- size
- CCN 490, 169 lines, nests 4 deep
- severity
- high
Medium effort, worth a checkBreak up nvn_refl_from_json (CCN 201, 153 lines)
dm/gfx/nvn/nvn_refl.m:176
nvn_refl_from_json has many paths; easier to read and change once split; function changed in 13 commits; its file is imported by 1 file, changed 12 times in 90 days.
- gain
- up to +3.1 health on this file(inferred)
- finding
- Complex method
- size
- CCN 201, 153 lines, nests 5 deep
- severity
- high
Medium effort, worth a checkTidy the code shape this week's commits left: 44 findings in 18 files
18 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
dm/gfx/nvn/nvn_geometry.inc(4 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 44
- files
- 18
- commits
- 18
Large effortSimplify
scan_file_inindm/gfx/tools/shader_split.py: tests reach it, and fixes keep landingChanged 32 times in 90 days, and 5 of those commits were bug fixes.
- commits in 90 days
- 32
- bug-fix commits
- 5
- line coverage
- Unknown, no report
- tests that reach it
- 4 test files, import graph(inferred)
Large effort, worth a checkBreak up draw_ (CCN 479, 324 lines)
dm/gfx/nvn/nvn_mtl.m:13280
draw_ has many paths; easier to read and change once split; its file is imported by 1 file, changed 136 times in 90 days.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Complex method
- size
- CCN 479, 324 lines, nests 6 deep
- severity
- high
Medium 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 health5,382 open findingsCriticalFunction hotspot · dm/gfx/nvn/nvn_geometry.inc86 findings · 14.9 deducted
- Refactoring161 open opportunitiesMediumcollect+1.7 health, M effort · scripts/bug_report.py
- Doc drift9Mediumdm/games/README.mdDocument names dm/launcher.json, which no longer exists.
- Decisions0 drifting from the codeMediumdm/gfx/nvn/nvn_mtl.mHigh-churn file with no governing decision
- Ownership784 sole-owned filesMediumdm/gfx/nvn/nvn_mtl.mOne author, no second reader