repowisebacknotprop/plannotator

Code health of backnotprop/plannotator

Repowise scores backnotprop/plannotator at 7.3 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 9,636 open findings across the three pillars, and the lowest-scoring file is shape.ts at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

1,587 critical, 2,073 high, 4,713 medium, 1,263 low.

Hotspots

612 files are flagged as hotspots. The top 5:

  • packages/inbox/components/Thread.tsx: 477 commits in the last 90 days from 2 contributors with 91 recent bug fixes
  • packages/inbox/App.tsx: 500 commits in the last 90 days from 6 contributors with 100 recent bug fixes
  • packages/shared/inbox/store.ts: 276 commits in the last 90 days from 3 contributors with 54 recent bug fixes
  • packages/server/inbox.ts: 500 commits in the last 90 days from 7 contributors with 104 recent bug fixes
  • packages/editor/App.tsx: 124 commits in the last 90 days from 27 contributors with 60 recent bug fixes

Lowest-scoring files

  • packages/core/shape.ts: 1.0 out of 10 with 15 bug fixes in the last 180 days
  • packages/shared/inbox/store.ts: 1.0 out of 10 with 54 bug fixes in the last 180 days
  • packages/server/inbox.ts: 1.0 out of 10 with 104 bug fixes in the last 180 days
  • scripts/ci-affected.ts: 1.0 out of 10
  • apps/hook/hooks/mod/controller.ts: 1.0 out of 10 with 14 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 5,917 scored files, 11.2% had a bug fix in that window.

Dead code and refactoring

Repowise found 40 unused exports. 327 refactoring targets across 327 files would raise the score.

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

Related guide: Best dead code detection tools by language