repowisebelobug/victory-belobug-amd

belobug / victory-belobug-amd

rustrx9070xt81ebb7b150.3K linessynced on Nov 26, 2026

Code health

4.5out of 10Needs work

Hotspots average 2.9, the place fixes pay off most.

Explore this codebase

Do next · 4 · 1 setup step

4 things worth doing in the week to Nov 26, the last indexed commit · 1 setup step.

Worth planning

  • Start breaking up unspill (CCN 84, 282 lines): first lift lines 609-619

    crates/victory-shader/src/ir.rs:609

    unspill has many paths; easier to read and change once split, which also removes a duplicate; function changed in 5 commits; its file is imported by 18 files, changed 13 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 84, 282 lines, nests 6 deep
    severity
    high
    worth a check
  • Start breaking up image (CCN 128, 722 lines): first lift lines 11049-11059

    crates/victory-shader/src/emit/lower.rs:11049

    image nests deeply; easier to read and change once split; its file is imported by 8 files, changed 60 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 128, 722 lines, nests 6 deep
    severity
    high
    worth a check
  • Tidy the code shape this week's commits left: 11 findings in 6 files

    7 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with crates/victory-gpu/src/host.rs (6 findings): tidying it while the change is fresh costs less than after the next one.

    code-shape findings
    11
    files
    6
    commits
    7
  • Break up write (CCN 51, 316 lines)

    crates/victory-shader/src/emit/bitcode.rs:857

    write has many paths; easier to read and change once split, which also removes a duplicate; function changed in 4 commits; its file is imported by 7 files, changed 8 times in 90 days.

    gain
    up to +0.6 health on this file(inferred)
    finding
    Complex method
    size
    CCN 51, 316 lines, nests 4 deep
    severity
    high
    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

Everything we found

4 areas