repowiseseedds/nxnative

seedds / nxnative

csharpcpythonmain804809c308.2K linessynced on Nov 10, 2026

Code health

6.2out of 10Fair

Hotspots average 3.7, the place fixes pay off most.

Explore this codebase

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
    worth a check
  • Break 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
    worth a check
  • Tidy 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
  • Simplify scan_file_in in dm/gfx/tools/shader_split.py: tests reach it, and fixes keep landing

    Changed 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)
    worth a check
  • Break 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
    worth a check

Everything we found

5 areas