repowisechenglou/handwired

Code health of chenglou/handwired

Repowise scores chenglou/handwired at 7.1 out of 10 for code health, which reads as good, alongside maintainability 6.6 and static performance 9.9 on the same scale. There are 2,138 open findings across the three pillars, and the lowest-scoring file is numeric-ui-core.ts at 1.9. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

217 critical, 399 high, 888 medium, 564 low.

Hotspots

92 files are flagged as hotspots. The top 5:

  • src/handwiredos/window-manager.ts: 53 commits in the last 90 days from 1 contributor with 1 recent bug fix
  • src/handwiredos/photo-gallery.ts: 19 commits in the last 90 days from 1 contributor with 1 recent bug fix
  • src/runtime/numeric-ui-core.ts: 19 commits in the last 90 days from 1 contributor with 1 recent bug fix
  • src/learned-gallery/learned-gallery.ts: 31 commits in the last 90 days from 1 contributor
  • src/json-search/demo.ts: 23 commits in the last 90 days from 1 contributor with 1 recent bug fix

Lowest-scoring files

  • src/runtime/numeric-ui-core.ts: 1.9 out of 10 with 1 bug fix in the last 180 days
  • src/handwiredos/window-manager.ts: 1.9 out of 10 with 1 bug fix in the last 180 days
  • src/json-search/demo.ts: 2.3 out of 10 with 1 bug fix in the last 180 days
  • src/learned-gallery/learned-gallery.ts: 2.5 out of 10
  • src/learned-gallery/trainable-geometry.ts: 2.5 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 6 had a bug fix in the last 180 days. Across all 706 scored files, 10.6% had a bug fix in that window.

Dead code and refactoring

Repowise found 64 unused exports. 126 refactoring targets across 126 files would raise the score.

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

Related guide: Best dead code detection tools by language