repowisegemu404/livenyan

gemu404 / livenyan

rustmain7b8988230.6K linessynced on Nov 13, 2026

Code health

5.6out of 10Fair

Hotspots average 3.4, the place fixes pay off most.

Explore this codebase

Do next · 5

5 things worth doing in the week to Oct 31, the last indexed commit.

Worth planning

  • Start breaking up run (CCN 197, 1,115 lines): first lift lines 273-297

    src/app/mod.rs:273

    run 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 6 files, changed 5 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 197, 1,115 lines, nests 8 deep
    severity
    high
    worth a check
  • Start breaking up draw_scene (CCN 121, 929 lines): first lift lines 1609-1619

    src/app/scene.rs:1609

    draw_scene 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 1 file, changed 5 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 121, 929 lines, nests 6 deep
    severity
    high
    worth a check
  • Tidy the code shape this week's commits left: 55 findings in 23 files

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

    code-shape findings
    55
    files
    23
    commits
    18
  • Review why fixes keep landing in src/scene.rs: tests reach it

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

    commits in 90 days
    14
    bug-fix commits
    4
    line coverage
    Unknown, no report
    tests that reach it
    3 test files, call graph(inferred)
    worth a check
  • Start breaking up system_text_event (CCN 90, 487 lines): first lift lines 450-467

    src/vm/sysevent.rs:450

    system_text_event has many paths; easier to read and change once split, which also removes a duplicate; its file is imported by 1 file, changed 3 times in 90 days.

    gain
    up to +0.7 health on this file(inferred)
    finding
    Complex method
    size
    CCN 90, 487 lines
    severity
    high
    worth a check

Everything we found

4 areas