repowisesonic-net/sonic-buildimage

sonic-net / sonic-buildimage

pythonmasterdb028332.8M linessynced 2mo ago

Code health

8.9out of 10Excellent

This codebase scores 8.9 out of 10 for code health, which we rate excellent. It also scores maintainability 8.9 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: 24 of 9,481 files are git hotspots, and they average 4.9 — which is where the fixes pay off most.

Do next

1 suggested

3 things worth doing this quarter, 2 of them now.

Worth planning

  • Delete 10,432 unused symbols and files (344,996 lines)

    Nothing in the graph reaches them, across 2,836 files; every reader and agent pays to skip them.

    symbols
    10432
    lines
    344,996
    safe to delete
    Yes(inferred)

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
  • Review the 49 proposed decisions

    None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.

    proposed
    49
    accepted
    0
Lines of code
2.8M

Recent activity

All commits

Everything we found

33,482 open
  • python50%
  • c20%
  • cpp12%
  • shell11%
  • makefile6%
  • Other<1%

Explore this codebase