repowisefaserf/ha-komodo

Code health of FaserF/ha-komodo

Repowise scores FaserF/ha-komodo at 9.2 out of 10 for code health, which reads as excellent, alongside maintainability 9.5 and static performance 10.0 on the same scale. There are 21 open findings across the three pillars, and the lowest-scoring file is coordinator.py at 6.9. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

1 critical, 3 high, 9 medium, 8 low.

Hotspots

4 files are flagged as hotspots. The top 4:

  • custom_components/komodo/coordinator.py: 8 commits in the last 90 days from 4 contributors with 1 recent bug fix
  • custom_components/komodo/switch.py: 5 commits in the last 90 days from 2 contributors with 2 recent bug fixes
  • custom_components/komodo/data/service.py: 5 commits in the last 90 days from 2 contributors
  • custom_components/komodo/update.py: 3 commits in the last 90 days from 3 contributors with 1 recent bug fix

Dead code and refactoring

Repowise found 6 unused exports.

More on ha-komodo: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language