repowisemaxritter/pilot-shell

Code health of maxritter/pilot-shell

Repowise scores maxritter/pilot-shell at 5.7 out of 10 for code health, which reads as fair, alongside maintainability 8.1 and static performance 9.5 on the same scale. There are 3,257 open findings across the three pillars, and the lowest-scoring file is mcp-server.cjs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

231 critical, 542 high, 862 medium, 829 low.

Hotspots

105 files are flagged as hotspots. The top 5:

  • installer/steps/dependencies.py: 10 commits in the last 90 days from 4 contributors with 25 recent bug fixes
  • installer/tests/unit/steps/test_dependencies.py: 7 commits in the last 90 days from 2 contributors with 22 recent bug fixes
  • installer/tests/unit/steps/test_claude_files.py: 10 commits in the last 90 days from 2 contributors with 10 recent bug fixes
  • pilot/ui/viewer-bundle.js: 28 commits in the last 90 days from 2 contributors with 40 recent bug fixes
  • installer/tests/unit/steps/test_config_migration.py: 11 commits in the last 90 days from 2 contributors with 9 recent bug fixes

Lowest-scoring files

  • pilot/scripts/mcp-server.cjs: 1.0 out of 10 with 83 bug fixes in the last 180 days
  • pilot/ui/viewer-bundle.js: 1.0 out of 10 with 40 bug fixes in the last 180 days
  • pilot/scripts/context-generator.cjs: 1.0 out of 10 with 9 bug fixes in the last 180 days
  • pilot/ui/vendor-markdown.js: 1.0 out of 10 with 6 bug fixes in the last 180 days
  • uninstall.sh: 1.0 out of 10 with 4 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 1,311 scored files, 53.2% had a bug fix in that window.

Dead code and refactoring

Repowise found 215 unused exports. 54 refactoring targets across 54 files would raise the score.

More on pilot-shell: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language