repowisejoelpizza0818-blip/helix-assitant

joelpizza0818-blip / helix-assitant

pythontypescriptmain82074a151.3K linessynced 10h ago

Code health

6.7out of 10Fair

Hotspots average 4.9, the place fixes pay off most.

Explore this codebase

Do next · 4

4 things worth doing in the week to Oct 24, the last indexed commit.

Worth planning

  • Start breaking up execute (CCN 63, 281 lines): first lift lines 620-660

    services/agent/core/react_loop.py:620

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

    gain
    up to +1.3 health on this file(inferred)
    finding
    Complex method
    size
    CCN 63, 281 lines, nests 6 deep
    severity
    high
    worth a check
  • Break up AdminSection (CCN 109, 506 lines)

    apps/desktop/renderer/src/components/Toolbox/sections/AdminSection.tsx:84

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

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

    12 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with apps/desktop/renderer/src/components/Toolbox/Toolbox.tsx (2 findings): tidying it while the change is fresh costs less than after the next one.

    code-shape findings
    33
    files
    22
    commits
    12
  • Start breaking up _execute_task (CCN 80, 558 lines): first lift lines 715-720

    services/agent/core/orchestrator.py:715

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

    gain
    +0.6 health on this file(inferred)
    health recoverable
    +0.6(inferred)
    size
    CCN 80, 558 lines, nests 4 deep
    steps
    1 (0 mechanical)
    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

5 areas