repowiserepowise
Sign in
FaserF/ha-openwrt
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowiseFaserF/ha-openwrt
HA
HA

FaserF / ha-openwrt

pythonmainfd1f44c42.8K linessynced 2w ago

Code health

4.6out of 10Needs work

This codebase scores 4.6 out of 10 on defect risk, which we rate needs work. It also scores maintainability 6.0 and static performance risk 9.9 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 28 of 155 files are git hotspots, and they average 2.6.

Full health report →
Documentation181pages0 with model-written prose, 181 built from the indexScore validation19/201.69× baselineOf the 20 lowest-health files, 19 were bug-fixed in the last 6 months — 1.69× the 56% baselineDead code7exportsUnused exports that nothing in the graph reaches
Lines of code
42.8K
Files
155
Symbols
1,577
Modules
5
Languages
6

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Fix Python 2 bare except syntaxproposed · 2w ago
  • Remove top_bandwidth_hosts registry entity when NLBWMON sensors disabledproposed · 2w ago
  • Skip dnsmasq placeholder hostname '*' in DHCP mapproposed · 2w ago
  • Log permission errors before fast-return in coordinatorproposed · 2w ago
  • Re-raise UbusError instead of returning empty resultsproposed · 2w ago
  • Capture real exit codes in luci_rpc/ssh file_execproposed · 2w ago

Needs attention

33 open
  • medium severity. ProposedFix Python 2 bare except syntaxAuto-proposed decision awaiting review
  • medium severity. ProposedRemove top_bandwidth_hosts registry entity when NLBWMON sensors disabledAuto-proposed decision awaiting review
  • medium severity. ProposedSkip dnsmasq placeholder hostname '*' in DHCP mapAuto-proposed decision awaiting review
  • medium severity. ProposedLog permission errors before fast-return in coordinatorAuto-proposed decision awaiting review
  • medium severity. ProposedRe-raise UbusError instead of returning empty resultsAuto-proposed decision awaiting review

Where the risk concentrates

All 28 hotspots →

Ranked by prior bug fixes and change frequency, mined from full git history rather than from the code alone.

FileChurnPrior fixesMaintainersCommits 90d
sensor.pycustom_components/openwrt99.1th44bug magnet628
coordinator.pycustom_components/openwrt98.3th55bug magnet1052
base.pycustom_components/openwrt/api97.4th28bug magnet534
config_flow.pycustom_components/openwrt96.6th19bug magnet4bus factor 116
switch.pycustom_components/openwrt95.7th32bug magnet521

Composition

Open the graph →
python 75%yaml 10%markdown 9%json 5%makefile 1%Other 1%

Explore this codebase

  • Docs181 pages across 5 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files155 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 0 entry points→
  • Code healthPer-file scores, 1,501 open findings, coverage and refactoring targets→
  • Knowledge graphEntities, communities, and the paths between them→
  • Change couplingFiles that keep changing together, mined from commit history→
  • CommitsChange-risk ranked history with agent provenance→
  • ContributorsBus factor, per-file maintainers, and the human/agent split→
  • StatsSize class, origin, lifetime churn, rhythm and records→
  • CostsWhat indexing this snapshot cost, by model and by run→