joelpizza0818-blip / helix-assitant
Code health
Hotspots average 4.9, the place fixes pay off most.
Explore this codebase
- Code health map70hotspots across 461 files
- Ownership274sole-owned files: one author, no second reader
- Architecture8modules, 19 entry points
- DecisionsNo decisions recorded yet
- Refactoring46open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
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
Medium effort, worth a checkBreak 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
Medium effort, worth a checkTidy 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
Large effortStart 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)
Large effort, 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
Small effort
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health917 open findingsCriticalChange entropy · apps/desktop/electron/main.ts25 findings · 12.4 deducted
- Refactoring46 open opportunitiesMediumhandle_user_input+1.3 health, M effort · services/agent/core/agent.py
- Decisions0 to reviewMediumapps/desktop/electron/main.ts0 awaiting review, 0 drifting from the code
- Ownership274 sole-owned filesMediumservices/agent/main.pyOne author, no second reader
- Dead code10Lowget_process_windowsUnreachable function (16 lines)