repowisehankanman/area-occupancy-detection

Hankanman / Area-Occupancy-Detection

pythonmain5909cb678.7K linessynced 22m ago
Since the previous index, 2w ago+1 file+0.4 code health+0.8 hotspot health

Code health

7.4out of 10Good

This codebase scores 7.4 out of 10 for code health, which we rate good. It also scores maintainability 8.0 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: 31 of 234 files are git hotspots, and they average 6.7 — which is where the fixes pay off most.

Do next

1 suggested

1 thing worth doing in the week to Oct 22, the last indexed commit, 1 of them now.

Now

  • High

    Simplify async_shutdown in custom_components/area_occupancy/coordinator.py while the change is fresh

    1 commit in the last 7 days added or worsened 1 critical or high finding here, still open. Fixing now costs less than after the next change.

    serious findings
    1
    critical
    0
    latest commit
    fix: consolidate health alerts for sensors shared across rooms (#612)

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
Lines of code
78.7K

Recent activity

All commits

Everything we found

761 open
  • python91%
  • shell6%
  • javascript3%
  • dockerfile<1%

Explore this codebase