repowiseitsnotrexed/leonida

itsnotrexed / leonida

pythoncppmain91b36cf94.9K linessynced on Nov 22, 2026

Code health

6.4out of 10Fair

Hotspots average 4.4, the place fixes pay off most.

Explore this codebase

Do next · 5

5 things worth doing in the week to Nov 22, the last indexed commit.

Worth planning

  • Break up prepare (CCN 75, 113 lines)

    runtime/src/vulkan_replay.h:994

    prepare has many paths; easier to read and change once split; function changed in 5 commits; its file is imported by 7 files, changed 11 times in 90 days.

    gain
    up to +0.2 health on this file(inferred)
    finding
    Complex method
    size
    CCN 75, 113 lines, nests 4 deep
    severity
    high
    worth a check
  • Break up parse_rts0_payload (CCN 74, 156 lines)

    runtime/src/root_signature.cpp:358

    parse_rts0_payload has many paths; easier to read and change once split; function changed in 5 commits; its file is imported by 3 files, changed 6 times in 90 days.

    gain
    up to +0.7 health on this file(inferred)
    finding
    Complex method
    size
    CCN 74, 156 lines, nests 4 deep
    severity
    high
    worth a check
  • Tidy the code shape this week's commits left: 24 findings in 13 files

    11 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with runtime/src/vulkan_replay.h (3 findings): tidying it while the change is fresh costs less than after the next one.

    code-shape findings
    24
    files
    13
    commits
    11
  • No test reaches scripts/run_gpu_tests.py in the code graph: confirm it is tested before its next change

    Changed 53 times in 90 days, and 4 of those commits were bug fixes.

    commits in 90 days
    53
    bug-fix commits
    4
    line coverage
    Unknown, no report
    tests that reach it
    None in the code graph(inferred)
    worth a check
  • Break up allocation (CCN 51, 59 lines)

    runtime/shims/d3d12_vulkan_device.cpp:1448

    allocation has many paths; easier to read and change once split; its file is imported by 10 files, changed 14 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 51, 59 lines
    severity
    high
    worth a check

Everything we found

5 areas