repowisezenbu-labs/terminal-code

Code health of zenbu-labs/terminal-code

Repowise scores zenbu-labs/terminal-code at 6.0 out of 10 for code health, which reads as fair, alongside maintainability 8.8 and static performance 9.6 on the same scale. There are 367 open findings across the three pillars, and the lowest-scoring file is web.ts at 1.3. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

19 critical, 77 high, 78 medium, 139 low.

Hotspots

19 files are flagged as hotspots. The top 5:

  • test/shortcuts.test.js: 7 commits in the last 90 days from 2 contributors with 2 recent bug fixes
  • src/main.ts: 21 commits in the last 90 days from 2 contributors with 3 recent bug fixes
  • src/shortcuts/wizard.ts: 10 commits in the last 90 days from 2 contributors with 1 recent bug fix
  • src/profile.ts: 9 commits in the last 90 days from 1 contributor with 1 recent bug fix
  • src/bridge.ts: 8 commits in the last 90 days from 1 contributor

Lowest-scoring files

  • src/shortcuts/web.ts: 1.3 out of 10 with 1 bug fix in the last 180 days
  • src/main.ts: 1.5 out of 10 with 3 bug fixes in the last 180 days
  • src/runtime/release.ts: 2.2 out of 10
  • src/shortcuts/imported.ts: 2.5 out of 10
  • src/shortcuts/wizard.ts: 2.9 out of 10 with 1 bug fix in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 10 had a bug fix in the last 180 days. Across all 101 scored files, 17.8% had a bug fix in that window.

Dead code and refactoring

Repowise found 9 unused exports. 13 refactoring targets across 13 files would raise the score.

More on terminal-code: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language