repowiselee-xeo/claude-cage

lee-xeo / claude-cage

gomain35d719f316.6K linessynced on Nov 17, 2026

Code health

7.3out of 10Good

Hotspots average 4.9, the place fixes pay off most.

Explore this codebase

Do next · 5

6 things worth doing in the week to Nov 16, the last indexed commit, 1 of them now.

Worth planning

  • Start breaking up App (CCN 423, 1,168 lines): first lift lines 280-296

    ui/src/main.jsx:280

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

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 423, 1,168 lines
    severity
    high
    worth a check
  • Start breaking up handler (CCN 92, 301 lines): first lift lines 337-506

    internal/workbench/server.go:337

    handler has many paths; easier to read and change once split; function changed in 27 commits; its file is imported by 196 files, changed 44 times in 90 days.

    gain
    up to +0.2 health on this file(inferred)
    finding
    Complex method
    size
    CCN 92, 301 lines
    severity
    high
    worth a check
  • Tidy the code shape this week's commits left: 159 findings in 106 files

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

    code-shape findings
    159
    files
    106
    commits
    26
  • No test reaches ui/src/initialization.jsx in the code graph: confirm it is tested before its next change

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

    commits in 90 days
    15
    bug-fix commits
    3
    line coverage
    Unknown, no report
    tests that reach it
    None in the code graph(inferred)
    worth a check
  • Start breaking up runSafetyCheck (CCN 138, 442 lines): first lift lines 1001-1011

    internal/workbench/safety.go:1001

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

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 138, 442 lines, nests 5 deep
    severity
    high
    worth a check

Everything we found

4 areas