repowiseanomalyco/rune

anomalyco / rune

rustdeveb5ae6c322.5K linessynced on Nov 17, 2026

Code health

8.1out of 10Good

Hotspots average 5.5, the place fixes pay off most.

Explore this codebase

Do next · 6

6 things worth doing in the week to Nov 16, the last indexed commit.

Worth planning

  • Start breaking up build (CCN 547, 1,184 lines): first lift lines 9-42

    crates/rune/src/runtime/paint/build.rs:9

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

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 547, 1,184 lines, nests 9 deep
    severity
    high
    worth a check
  • Start breaking up apply (CCN 440, 807 lines): first lift lines 67-81

    crates/rune/src/runtime/commit/apply.rs:67

    apply has many paths; easier to read and change once split; function changed in 15 commits; its file is imported by 2 files, changed 14 times in 90 days.

    gain
    up to +0.2 health on this file(inferred)
    finding
    Complex method
    size
    CCN 440, 807 lines, nests 6 deep
    severity
    high
    worth a check
  • Tidy the code shape this week's commits left: 36 findings in 22 files

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

    code-shape findings
    36
    files
    22
    commits
    19
  • Review why fixes keep landing in crates/rune/src/text/coretext_match.rs: tests reach it

    Changed 7 times in 90 days, and 3 of those commits were bug fixes.

    commits in 90 days
    7
    bug-fix commits
    3
    line coverage
    Unknown, no report
    tests that reach it
    18 test files, call graph(inferred)
    worth a check
  • Simplify paint_content in crates/rune/src/runtime/paint/content.rs: tests reach it, and fixes keep landing

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

    commits in 90 days
    28
    bug-fix commits
    4
    line coverage
    Unknown, no report
    tests that reach it
    278 test files, import graph(inferred)
    worth a check

Everything we found

5 areas