repowiseemdash-cms/emdash

Code health of emdash-cms/emdash

Repowise scores emdash-cms/emdash at 7.6 out of 10 for code health, which reads as good, alongside maintainability 8.6 and static performance 9.9 on the same scale. There are 3,545 open findings across the three pillars, and the lowest-scoring file is emdash-runtime.ts at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

338 critical, 573 high, 1,255 medium, 1,227 low.

Hotspots

219 files are flagged as hotspots. The top 5:

  • packages/core/src/emdash-runtime.ts: 44 commits in the last 90 days from 19 contributors with 26 recent bug fixes
  • packages/admin/src/components/ContentEditor.tsx: 31 commits in the last 90 days from 28 contributors with 27 recent bug fixes
  • packages/core/src/taxonomies/index.ts: 16 commits in the last 90 days from 5 contributors with 4 recent bug fixes
  • packages/core/src/mcp/server.ts: 15 commits in the last 90 days from 7 contributors with 10 recent bug fixes
  • packages/core/src/loader.ts: 20 commits in the last 90 days from 8 contributors with 11 recent bug fixes

Lowest-scoring files

  • packages/core/src/emdash-runtime.ts: 1.0 out of 10 with 26 bug fixes in the last 180 days
  • packages/admin/src/components/WordPressImport.tsx: 1.0 out of 10 with 6 bug fixes in the last 180 days
  • packages/core/src/query.ts: 1.0 out of 10 with 5 bug fixes in the last 180 days
  • packages/core/src/loader.ts: 1.0 out of 10 with 11 bug fixes in the last 180 days
  • packages/core/src/taxonomies/index.ts: 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, 20 had a bug fix in the last 180 days. Across all 2,388 scored files, 36.6% had a bug fix in that window.

Dead code and refactoring

Repowise found 433 unused exports. 234 refactoring targets across 234 files would raise the score.

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

Related guide: Best dead code detection tools by language