repowiseamosblomqvist/learnharness

Code health of amosblomqvist/learnharness

Repowise scores amosblomqvist/learnharness at 7.7 out of 10 for code health, which reads as good, alongside maintainability 8.2 and static performance 9.8 on the same scale. There are 1,884 open findings across the three pillars, and the lowest-scoring file is session-core.ts at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

264 critical, 378 high, 807 medium, 430 low.

Hotspots

116 files are flagged as hotspots. The top 5:

  • components/chat.tsx: 159 commits in the last 90 days from 10 contributors with 33 recent bug fixes
  • src/agent/subagents/extraction.ts: 66 commits in the last 90 days from 2 contributors with 5 recent bug fixes
  • components/graph-view.tsx: 110 commits in the last 90 days from 6 contributors with 16 recent bug fixes
  • components/graph-canvas.ts: 38 commits in the last 90 days from 2 contributors with 4 recent bug fixes
  • src/core/prices.ts: 14 commits in the last 90 days from 1 contributor with 2 recent bug fixes

Lowest-scoring files

  • components/session-core.ts: 1.0 out of 10
  • src/core/native-messages.ts: 1.0 out of 10
  • src/core/plugin-questions.ts: 1.0 out of 10
  • components/chat.tsx: 1.0 out of 10
  • components/plugin-manager.ts: 1.0 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 0 had a bug fix in the last 180 days. Across all 1,048 scored files, 2.8% had a bug fix in that window.

Dead code and refactoring

Repowise found 30 unused exports. 61 refactoring targets across 61 files would raise the score.

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

Related guide: Best dead code detection tools by language