Code health of milind-soni/openmausbot
Repowise scores milind-soni/openmausbot at 7.4 out of 10 for code health, which reads as good, alongside maintainability 8.7 and static performance 9.9 on the same scale. There are 12,561 open findings across the three pillars, and the lowest-scoring file is index.ts at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
2,060 critical, 2,868 high, 5,839 medium, 1,794 low.
Hotspots
813 files are flagged as hotspots. The top 5:
- src/components/Sidebar.tsx: 268 commits in the last 90 days from 44 contributors with 73 recent bug fixes
- electron/main.mjs: 327 commits in the last 90 days from 46 contributors with 111 recent bug fixes
- server/index.ts: 500 commits in the last 90 days from 38 contributors with 514 recent bug fixes
- src/state/store.tsx: 500 commits in the last 90 days from 69 contributors with 136 recent bug fixes
- src/components/ChatView.tsx: 264 commits in the last 90 days from 52 contributors with 90 recent bug fixes
Lowest-scoring files
- server/index.ts: 1.0 out of 10 with 514 bug fixes in the last 180 days
- server/workspace-backup.ts: 1.0 out of 10 with 15 bug fixes in the last 180 days
- server/boat.ts: 1.0 out of 10 with 20 bug fixes in the last 180 days
- server/drivers/openai-chat.ts: 1.0 out of 10 with 36 bug fixes in the last 180 days
- electron/cloud-send.mjs: 1.0 out of 10 with 17 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 6,943 scored files, 15.3% had a bug fix in that window.
Dead code and refactoring
Repowise found 97 unused exports. 337 refactoring targets across 337 files would raise the score.
More on openmausbot: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language