repowisepatrickvorgers/open-energy-planner

patrickvorgers / open-energy-planner

pythonmain5c9b63f212.2K linessynced on Nov 28, 2026

Code health

7.2out of 10Good

Hotspots average 6.0, the place fixes pay off most.

Explore this codebase

Do next · 6

7 things worth doing in the week to Nov 28, the last indexed commit, 1 of them now.

Worth planning

  • Review why fixes keep landing in src/open_energy_planner/app.py: it is tested

    Changed 72 times in 90 days; 25 of those were bug fixes that changed its code.

    commits in 90 days
    72
    bug-fix commits in 90 days
    25
    line coverage
    92%
  • Review why fixes keep landing in src/open_energy_planner/solar/runtime.py: it is tested

    Changed 42 times in 90 days; 15 of those were bug fixes that changed its code.

    commits in 90 days
    42
    bug-fix commits in 90 days
    15
    line coverage
    98%
  • Tidy the code shape this week's commits left: 55 findings in 36 files

    38 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with custom_components/open_energy_planner/coordinator.py (8 findings): tidying it while the change is fresh costs less than after the next one.

    code-shape findings
    55
    files
    36
    commits
    38
  • No test reaches src/open_energy_planner/web/public/overview.js in the code graph: confirm it is tested before its next change

    Changed 95 times in 90 days; 52 of those were bug fixes that changed its code.

    commits in 90 days
    95
    bug-fix commits in 90 days
    52
    line coverage
    Unknown, not in the report
    tests that reach it
    None in the code graph(inferred)
    worth a check
  • Review why fixes keep landing in custom_components/open_energy_planner/coordinator.py: tests reach it

    Changed 41 times in 90 days; 19 of those were bug fixes that changed its code.

    commits in 90 days
    41
    bug-fix commits in 90 days
    19
    line coverage
    Unknown, not in the report
    tests that reach it
    1 test file, call graph(inferred)
    worth a check

Everything we found

5 areas