Code health of alvinunreal/oh-my-opencode-slim
Repowise scores alvinunreal/oh-my-opencode-slim at 5.9 out of 10 for code health, which reads as fair, alongside maintainability 8.2 and static performance 9.7 on the same scale. There are 1,112 open findings across the three pillars, and the lowest-scoring file is dashboard.ts at 1.4. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
131 critical, 220 high, 373 medium, 335 low.
Hotspots
61 files are flagged as hotspots. The top 5:
- src/hooks/task-session-manager/index.test.ts: 42 commits in the last 90 days from 8 contributors with 23 recent bug fixes
- src/index.ts: 108 commits in the last 90 days from 35 contributors with 57 recent bug fixes
- src/hooks/task-session-manager/index.ts: 59 commits in the last 90 days from 9 contributors with 29 recent bug fixes
- src/hooks/foreground-fallback/index.test.ts: 41 commits in the last 90 days from 11 contributors with 35 recent bug fixes
- src/multiplexer/session-manager.test.ts: 28 commits in the last 90 days from 9 contributors with 19 recent bug fixes
Lowest-scoring files
- src/interview/dashboard.ts: 1.4 out of 10 with 6 bug fixes in the last 180 days
- src/hooks/auto-update-checker/skill-sync.ts: 1.6 out of 10 with 15 bug fixes in the last 180 days
- src/hooks/auto-update-checker/checker.ts: 1.8 out of 10 with 9 bug fixes in the last 180 days
- src/index.ts: 2.1 out of 10 with 57 bug fixes in the last 180 days
- src/companion/manager.ts: 2.2 out of 10 with 14 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 19 had a bug fix in the last 180 days. Across all 364 scored files, 53.3% had a bug fix in that window.
Dead code and refactoring
Repowise found 20 unused exports. 49 refactoring targets across 49 files would raise the score.
More on oh-my-opencode-slim: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language