repowiserepowise
Sign in
FaserF/ha-openwrt
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowiseFaserF/ha-openwrt
HA
HA

FaserF / ha-openwrt

pythonmain8f83b9e40.0K linessynced 16h 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: 26 of 150 files are git hotspots, and they average 2.2.

Full health report →
Documentation174pages0 with model-written prose, 174 built from the indexScore validation20/201.9× baselineOf the 20 lowest-health files, 20 were bug-fixed in the last 6 months — 1.9× the 53% baselineDead code8exportsUnused exports that nothing in the graph reaches
Lines of code
40.0K
Files
150
Symbols
1,495
Modules
5
Languages
6

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Fix Python 2 bare except syntax in luci_rpc/ssh/ubus modulesproposed · 16h ago
  • Remove top_bandwidth_hosts entity when NLBWMON sensors disabledproposed · 16h ago
  • Skip dnsmasq placeholder hostname "*" in DHCP hostname mapproposed · 16h ago
  • Log actionable warning for rpcd ACL misconfig by checking stderr firstproposed · 16h ago
  • Reraise UbusError in ubus file_execproposed · 16h ago
  • Capture real exit codes in luci_rpc/ssh file_execproposed · 16h ago

Needs attention

36 open
  • medium severity. ProposedFix Python 2 bare except syntax in luci_rpc/ssh/ubus modulesAuto-proposed decision awaiting review
  • medium severity. ProposedRemove top_bandwidth_hosts entity when NLBWMON sensors disabledAuto-proposed decision awaiting review
  • medium severity. ProposedSkip dnsmasq placeholder hostname "*" in DHCP hostname mapAuto-proposed decision awaiting review
  • medium severity. ProposedLog actionable warning for rpcd ACL misconfig by checking stderr firstAuto-proposed decision awaiting review
  • medium severity. ProposedReraise UbusError in ubus file_execAuto-proposed decision awaiting review

Where the risk concentrates

All 26 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.1th33bug magnet417
coordinator.pycustom_components/openwrt98.2th41bug magnet632
config_flow.pycustom_components/openwrt97.3th19bug magnet4bus factor 116
base.pycustom_components/openwrt/api96.5th28bug magnet432
switch.pycustom_components/openwrt95.6th22bug magnet3bus factor 18

Composition

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

Explore this codebase

  • Docs174 pages across 5 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files150 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 1 entry points→
  • Code healthPer-file scores, 1,382 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→