FaserF / ha-db_infoscreen
pythonmain3a5370914.4K linessynced 1mo ago
Code health
4.1out of 10Needs work
This codebase scores 4.1 out of 10 for code health, which we rate needs work. It also scores maintainability 6.6 and static performance 9.8 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 11 of 89 files are git hotspots, and they average 2.7 — which is where the fixes pay off most.
Do next
0 suggested
Nothing stands out in the week to Aug 31, the last indexed commit.
Improve what Repowise can see
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
- line coverage
- Unknown, no report
Small effort
- Lines of code
- 14.4K
Recent activity
All commitsCommits
- 3a537094fix(config_flow): prevent spurious add-on install prompt on discovery (#188)1mo ago
- d82afe47chore(dev): bump to 2026.8.3-dev0 [skip ci]1mo ago
- 87f2bd53fix(config_flow): prevent unwanted add-on prompt when adding integration (#188)1mo ago
- a644c940fix(i18n): use proper translation keys for api_error_via repair issue1mo ago
- 1117b90cfix(i18n): use clean translation placeholders for repair construction hints1mo ago
- 08178b29fix(repairs): resolve empty repair issue placeholders and add via station construction notice1mo ago
Decisions
- Fallback to HTML parsing when JSON fails or returns HTMLproposed · 1mo ago
- Mock text() to avoid returning MagicMocksproposed · 1mo ago
- Mock json() as async and text() as asyncproposed · 1mo ago
- Use async MagicMock side effects for mocksproposed · 1mo ago
- Handle AVV bus entries using 'line' fieldproposed · 1mo ago
Everything we found
355 open
Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.
- worst item is critical severity. Code health253Co-change scatter · custom_components/db_infoscreen/utils.py33 findings · 8.0 deducted
- worst item is medium severity. Refactoring43_compute_issues+1.5 health, S effort · custom_components/db_infoscreen/binary_sensor.py
- worst item is medium severity. Decisions16custom_components/db_infoscreen/__init__.py5 awaiting review · 11 hotspots ungoverned
- worst item is medium severity. Ownership43custom_components/db_infoscreen/config_flow.py100% single-owner concentration, 22 commits in 90d
Composition
Open the graph- python100%
Explore this codebase
- Docs62 pages across 4 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files89 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 0 entry points
- Code healthPer-file scores, 350 open findings, coverage and refactoring targets
- Knowledge graphEntities, communities, and the paths between them
- Change couplingFiles that keep changing together, mined from commit history
- CommitsChange-risk ranked history with agent provenance
- ContributorsBus factor, per-file maintainers, and the human/agent split
- StatsSize class, origin, lifetime churn, rhythm and records
- CostsWhat indexing this snapshot cost, by model and by run.