FaserF / ha-googlehome
pythonmain91119bf12.5K linessynced 1mo ago
Code health
3.3out of 10At risk
Hotspots average 1.3, the place fixes pay off most.
Explore this codebase
- Code health map11hotspots across 70 files
- Ownership44sole-owned files: one author, no second reader
- Architecture5modules, 0 entry points
- Decisions3recorded, of which 0 accepted and 3 awaiting review
- Refactoring19open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 1
1 thing worth doing this quarter.
Worth planning
Delete 2 unused symbols and files (67 lines)
Nothing in the graph reaches them, across 2 files; every reader and agent pays to skip them.
- symbols
- 2
- lines
- 67
- safe to delete
- Yes(inferred)
Small effort
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
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health386CriticalUntested hotspot · custom_components/google_home/light.py20 findings · 9.8 deducted
- Refactoring19 open opportunitiesMediumasync_setup_entry+1.5 health, L effort · custom_components/google_home/sensor.py
- Decisions3 to reviewMediumcustom_components/google_home/sensor.py3 awaiting review, 0 drifting from the code
- Ownership44 sole-owned filesMediumcustom_components/google_home/__init__.pyOne author, no second reader
- Dead code2Lowasync_get_config_entry_diagnosticsUnreachable function (57 lines)