repowiserepowise
Sign in
sonic-net/sonic-buildimage
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowisesonic-net/sonic-buildimage
SO
SO

sonic-net / sonic-buildimage

pythonmasterdb028332.8M linessynced 5h ago

Code health

9.4out of 10Excellent

This codebase scores 9.4 out of 10 on defect risk, which we rate excellent. It also scores maintainability 9.4 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: 24 of 9,481 files are git hotspots, and they average 5.0.

Full health report →
Documentation16,705pages0 with model-written prose, 16,705 built from the indexScore validation16/2046.53× baselineOf the 20 lowest-health files, 16 were bug-fixed in the last 6 months — 46.53× the 2% baselineDead code10,661exportsUnused exports that nothing in the graph reaches
Lines of code
2.8M
Files
9,481
Symbols
136,982
Modules
388
Languages
12

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Add new implementations only to kcompat_impl.hproposed · 5h ago
  • Use only NEED_/HAVE_ checks; avoid kernel version checksproposed · 5h ago
  • Offset DEVLINK_PARAM_GENERIC_ID_MAX for backport safetyproposed · 5h ago
  • Make dhcpservd readiness check idempotentproposed · 5h ago
  • Fix kea-dhcp4 paths for Kea 2.6 strict validation (Trixie upgrade)proposed · 5h ago
  • Omit DHCP server gateway when gateway is optionalproposed · 5h ago

Needs attention

79 open
  • medium severity. ProposedAdd new implementations only to kcompat_impl.hAuto-proposed decision awaiting review
  • medium severity. ProposedUse only NEED_/HAVE_ checks; avoid kernel version checksAuto-proposed decision awaiting review
  • medium severity. ProposedOffset DEVLINK_PARAM_GENERIC_ID_MAX for backport safetyAuto-proposed decision awaiting review
  • medium severity. ProposedMake dhcpservd readiness check idempotentAuto-proposed decision awaiting review
  • medium severity. ProposedFix kea-dhcp4 paths for Kea 2.6 strict validation (Trixie upgrade)Auto-proposed decision awaiting review

Where the risk concentrates

All 24 hotspots →

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

FileChurnPrior fixesMaintainersCommits 90d
test_system_health.pysrc/system-health/tests100.0th4137
build_sbom.pyscripts99.9th023
test_sonic_yang.pysrc/sonic-yang-mgmt/tests/libyang-python-tests99.8th153
pddf_multifpgapci_driver.cplatform/pddf/i2c/modules/multifpgapci/driver99.7th143
chassis.pyplatform/mellanox/mlnx-platform-api/sonic_platform99.7th2129

Composition

Open the graph →
python 36%json 24%c 14%cpp 9%shell 8%Other 10%

Explore this codebase

  • Docs16,705 pages across 388 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files9,481 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 79 entry points→
  • Code healthPer-file scores, 15,813 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→