Code health of DimitroffVodka/shadowdark-enhancer
Repowise scores DimitroffVodka/shadowdark-enhancer at 6.1 out of 10 for code health, which reads as fair, alongside maintainability 7.8 and static performance 9.9 on the same scale. There are 1,264 open findings across the three pillars, and the lowest-scoring file is merchant-shop.mjs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
155 critical, 285 high, 480 medium, 305 low.
Hotspots
56 files are flagged as hotspots. The top 5:
- scripts/encounter/encounter-roller-app.mjs: 11 commits in the last 90 days from 2 contributors with 13 recent bug fixes
- scripts/pit-fighting/pit-fighting-app.mjs: 10 commits in the last 90 days from 1 contributor with 3 recent bug fixes
- test/pdf-export.test.mjs: 9 commits in the last 90 days from 1 contributor with 7 recent bug fixes
- scripts/crawl-strip/crawl-strip.mjs: 21 commits in the last 90 days from 1 contributor with 9 recent bug fixes
- scripts/shadowdark-enhancer.mjs: 95 commits in the last 90 days from 2 contributors with 24 recent bug fixes
Lowest-scoring files
- scripts/merchant/merchant-shop.mjs: 1.0 out of 10 with 9 bug fixes in the last 180 days
- scripts/crawl-strip/movement-tracker.mjs: 1.0 out of 10 with 4 bug fixes in the last 180 days
- scripts/crawl-strip/crawl-strip.mjs: 1.0 out of 10 with 9 bug fixes in the last 180 days
- scripts/importer/importer-hub-app.mjs: 1.0 out of 10 with 3 bug fixes in the last 180 days
- scripts/shadowdark-enhancer.mjs: 1.1 out of 10 with 24 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 344 scored files, 44.2% had a bug fix in that window.
Dead code and refactoring
Repowise found 1 unused export. 98 refactoring targets across 98 files would raise the score.
More on shadowdark-enhancer: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language