FaserF / ha-grocery-deals
pythonmain4ff76c03.7K linessynced 1mo ago
Code health
6.9out of 10Fair
Hotspots average 5.5, the place fixes pay off most.
Explore this codebase
- Code health map2hotspots across 41 files
- Ownership18sole-owned files: one author, no second reader
- Architecture6modules, 0 entry points
- Decisions2recorded, of which 0 accepted and 2 awaiting review
- Refactoring8open 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 1 unused symbol or file (43 lines)
Nothing in the graph reaches them, across 1 file; every reader and agent pays to skip them.
- symbols
- 1
- lines
- 43
- 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 health67HighDeep nesting · custom_components/grocery_deals/coordinator.py8 findings · 5.2 deducted
- Refactoring8 open opportunitiesMediumbump_version+1.5 health, S effort · .github/scripts/bump_version.py
- Decisions2 to reviewMediumcustom_components/grocery_deals/config_flow.py2 awaiting review, 0 drifting from the code
- Ownership18 sole-owned filesMediumcustom_components/grocery_deals/__init__.pyOne author, no second reader
- Dead code1Lowasync_get_config_entry_diagnosticsUnreachable function (43 lines)