rlaope / oh-my-hermes
Code health
Hotspots average 4.9, the place fixes pay off most.
Explore this codebase
- Code health map313hotspots across 3,899 files
- Ownership2,357sole-owned files: one author, no second reader
- Architecture19modules, 12 entry points
- Decisions45recorded, of which 0 in force and 45 background
- Refactoring593open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 9
11 things worth doing in the week to Nov 10, the last indexed commit, 2 of them now.
Worth planning
Break up createSessions (CCN 230, 613 lines)
apps/omher/src/sessions/sessions.ts:204
createSessions has many paths; easier to read and change once split, which also removes a duplicate; function changed in 10 commits; its file is imported by 12 files, changed 10 times in 90 days.
- gain
- up to +0.9 health on this file(inferred)
- finding
- Complex method
- size
- CCN 230, 613 lines
- severity
- high
Medium effort, worth a checkStart breaking up layoutAt (CCN 198, 476 lines): first lift lines 830-851
apps/omher/src/runs/boxView.ts:830
layoutAt has many paths; easier to read and change once split; function changed in 4 commits; its file is imported by 5 files, changed 7 times in 90 days.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Complex method
- size
- CCN 198, 476 lines, nests 5 deep
- severity
- high
Medium effort, worth a checkTidy the code shape this week's commits left: 50 findings in 23 files
14 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
apps/omher/src/runs/boxView.ts(10 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 50
- files
- 23
- commits
- 14
Large effortSimplify
_on_event_inputinsrc/tui/app.py: tests reach it, and fixes keep landingChanged 435 times in 90 days, and 231 of those commits were bug fixes.
- commits in 90 days
- 435
- bug-fix commits
- 231
- line coverage
- Unknown, no report
- tests that reach it
- 1 test file, import graph(inferred)
Large effort, worth a checkReview why fixes keep landing in
src/maintenance/drift.py: tests reach itChanged 305 times in 90 days, and 169 of those commits were bug fixes.
- commits in 90 days
- 305
- bug-fix commits
- 169
- line coverage
- Unknown, no report
- tests that reach it
- 1 test file, import graph(inferred)
Large effort, worth a check
Everything we found
6 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health9,508 open findingsCriticalChange entropy · apps/omher/bridge/omher_bridge.py213 findings · 16.0 deducted
- Refactoring593 open opportunitiesMediumbuild_frame+2.3 health, S effort · src/tui/frame.py
- Doc drift131Medium.omh/plans/visual-engineering-design-skill-harness.mdDocument names src/coding/required_skill_reads.py, which no longer exists.
- Decisions0 drifting from the codeMediumsrc/quality/routing_precision.pyHigh-churn file with no governing decision
- Ownership2,357 sole-owned filesMediumsrc/tui/app.pyOne author, no second reader
- Dead code9LowselectUnreadTotalUnreachable function (3 lines)