Code health
This codebase scores 4.6 out of 10 on defect risk, which we rate needs work. It also scores maintainability 6.0 and static performance risk 9.9 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 28 of 155 files are git hotspots, and they average 2.6.
No commits indexed yet.
Ranked by prior bug fixes and change frequency, mined from full git history rather than from the code alone.
| File | Churn | Prior fixes | Maintainers | Commits 90d |
|---|---|---|---|---|
| sensor.pycustom_components/openwrt | 99.1th | 44bug magnet | 6 | 28 |
| coordinator.pycustom_components/openwrt | 98.3th | 55bug magnet | 10 | 52 |
| base.pycustom_components/openwrt/api | 97.4th | 28bug magnet | 5 | 34 |
| config_flow.pycustom_components/openwrt | 96.6th | 19bug magnet | 4bus factor 1 | 16 |
| switch.pycustom_components/openwrt | 95.7th | 32bug magnet | 5 | 21 |