Code health of yairEO/context-mode
Repowise scores yairEO/context-mode at 5.2 out of 10 for code health, which reads as needs work, alongside maintainability 7.1 and static performance 9.5 on the same scale. There are 2,432 open findings across the three pillars, and the lowest-scoring file is analytics.ts at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
263 critical, 333 high, 526 medium, 1,203 low.
Hotspots
97 files are flagged as hotspots. The top 5:
- src/server.ts: 142 commits in the last 90 days from 33 contributors with 144 recent bug fixes
- tests/core/server.test.ts: 73 commits in the last 90 days from 20 contributors with 48 recent bug fixes
- src/session/analytics.ts: 54 commits in the last 90 days from 8 contributors with 28 recent bug fixes
- src/cli.ts: 63 commits in the last 90 days from 26 contributors with 69 recent bug fixes
- src/session/extract.ts: 49 commits in the last 90 days from 7 contributors with 28 recent bug fixes
Lowest-scoring files
- src/session/analytics.ts: 1.0 out of 10 with 28 bug fixes in the last 180 days
- src/db-base.ts: 1.0 out of 10 with 16 bug fixes in the last 180 days
- hooks/sessionstart.mjs: 1.0 out of 10 with 24 bug fixes in the last 180 days
- src/session/db.ts: 1.0 out of 10 with 14 bug fixes in the last 180 days
- src/session/extract.ts: 1.0 out of 10 with 28 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 517 scored files, 56.7% had a bug fix in that window.
Dead code and refactoring
Repowise found 42 unused exports.
More on context-mode: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language