repowisedietrichgebert/ponytail

Code health of dietrichgebert/ponytail

Repowise scores dietrichgebert/ponytail at 7.6 out of 10 for code health, which reads as good, alongside maintainability 8.5 and static performance 9.9 on the same scale. There are 213 open findings across the three pillars, and the lowest-scoring file is ponytail-mode-tracker.js at 2.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

23 critical, 22 high, 79 medium, 89 low.

Hotspots

5 files are flagged as hotspots. The top 5:

  • hooks/ponytail-activate.js: 10 commits in the last 90 days from 15 contributors with 12 recent bug fixes
  • hooks/band/register.tsx: 10 commits in the last 90 days from 7 contributors with 8 recent bug fixes
  • hooks/band/metrics.ts: 3 commits in the last 90 days from 1 contributor with 1 recent bug fix
  • .opencode/plugins/ponytail.mjs: 7 commits in the last 90 days from 11 contributors with 11 recent bug fixes
  • hooks/ponytail-mode-tracker.js: 11 commits in the last 90 days from 13 contributors with 11 recent bug fixes

Lowest-scoring files

  • hooks/ponytail-mode-tracker.js: 2.0 out of 10 with 11 bug fixes in the last 180 days
  • hooks/band/register.tsx: 3.2 out of 10 with 8 bug fixes in the last 180 days
  • hooks/ponytail-activate.js: 3.2 out of 10 with 12 bug fixes in the last 180 days
  • benchmarks/agentic/run.py: 3.9 out of 10
  • pi-extension/index.js: 4.9 out of 10 with 15 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 9 had a bug fix in the last 180 days. Across all 61 scored files, 21.3% had a bug fix in that window.

Dead code and refactoring

7 refactoring targets across 7 files would raise the score.

More on ponytail: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language