Code health
This codebase scores 5.8 out of 10 for code health, which we rate fair. It also scores maintainability 6.2 and static performance 9.5 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 129 of 686 files are git hotspots, and they average 4.1 — which is where the fixes pay off most.
Every detector, by area of work, each leading with the worst thing in it: code health and the test-quality biomarkers, security, refactoring, documentation drift, decision records, ownership, and dead code.
Ranked by prior bug fixes and change frequency, mined from full git history rather than from the code alone.
| File | Prior fixes | Last fix | Maintainers | Commits 90d |
|---|---|---|---|---|
| autocalibration.pysrc/openptv2 | 5bug magnet | 2d ago | 1bus factor 1 | 25 |
| two_phase_tracking.pysrc/openptv2/plugins | 7bug magnet | 2d ago | 1bus factor 1 | 18 |
| ptv.pysrc/openptv2/gui | 17bug magnet | 2w ago | 1bus factor 1 | 42 |
| tracking_frame_buf.pysrc/openptv2/algorithms | 8bug magnet | 4w ago | 1bus factor 1 | 28 |
| track_kernels_track3d.pysrc/openptv2/algorithms | 5bug magnet | 3d ago | 1bus factor 1 | 21 |