Code health of cabinetai/cabinet
Repowise scores cabinetai/cabinet at 6.3 out of 10 for code health, which reads as fair, alongside maintainability 8.4 and static performance 9.7 on the same scale. There are 2,926 open findings across the three pillars, and the lowest-scoring file is cabinet-daemon.ts at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
218 critical, 440 high, 845 medium, 976 low.
Hotspots
62 files are flagged as hotspots. The top 5:
- src/lib/agents/mcp-catalog.ts: 18 commits in the last 90 days from 6 contributors with 3 recent bug fixes
- src/components/onboarding/onboarding-wizard.tsx: 3 commits in the last 90 days from 4 contributors with 7 recent bug fixes
- src/components/settings/settings-page.tsx: 14 commits in the last 90 days from 6 contributors with 16 recent bug fixes
- src/components/tasks/conversation/task-conversation-page.tsx: 7 commits in the last 90 days from 4 contributors with 17 recent bug fixes
- src/components/integrations/hub/connect-panel.tsx: 11 commits in the last 90 days from 5 contributors with 2 recent bug fixes
Lowest-scoring files
- server/cabinet-daemon.ts: 1.0 out of 10 with 16 bug fixes in the last 180 days
- src/lib/agents/heartbeat.ts: 1.0 out of 10 with 7 bug fixes in the last 180 days
- electron/main.cjs: 1.0 out of 10 with 6 bug fixes in the last 180 days
- src/components/tasks/conversation/task-conversation-page.tsx: 1.0 out of 10 with 17 bug fixes in the last 180 days
- src/stores/app-store.ts: 1.0 out of 10 with 6 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 18 had a bug fix in the last 180 days. Across all 1,074 scored files, 33.9% had a bug fix in that window.
Dead code and refactoring
Repowise found 21 unused exports. 189 refactoring targets across 189 files would raise the score.
More on cabinet: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language