Code health of lee-xeo/claude-cage
Repowise scores lee-xeo/claude-cage at 7.3 out of 10 for code health, which reads as good, alongside maintainability 7.9 and static performance 9.9 on the same scale. There are 5,363 open findings across the three pillars, and the lowest-scoring file is windows-browser.mjs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
460 critical, 992 high, 2,978 medium, 933 low.
Hotspots
146 files are flagged as hotspots. The top 5:
- ui/src/main.jsx: 37 commits in the last 90 days from 5 contributors with 6 recent bug fixes
- agent-vm.sh: 8 commits in the last 90 days from 5 contributors with 5 recent bug fixes
- internal/workbench/safety.go: 24 commits in the last 90 days from 5 contributors
- internal/workbench/server.go: 44 commits in the last 90 days from 8 contributors with 1 recent bug fix
- internal/cage/browser-agent.mjs: 19 commits in the last 90 days from 4 contributors with 1 recent bug fix
Lowest-scoring files
- scripts/guest-os/windows-browser.mjs: 1.0 out of 10 with 1 bug fix in the last 180 days
- internal/cage/claude-account.py: 1.0 out of 10 with 1 bug fix in the last 180 days
- internal/workbench/runtime.go: 1.0 out of 10 with 2 bug fixes in the last 180 days
- ui/src/views.jsx: 1.0 out of 10 with 3 bug fixes in the last 180 days
- internal/workbench/safety.go: 1.0 out of 10
Checked against bug fixes
Of the 20 files Repowise scores lowest, 16 had a bug fix in the last 180 days. Across all 2,381 scored files, 7.3% had a bug fix in that window.
Dead code and refactoring
Repowise found 9 unused exports. 405 refactoring targets across 405 files would raise the score.
More on claude-cage: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language