repowiseoisf/suricata

oisf / suricata

ccpprustmaina5ec441423.3K linessynced 4w ago

Code health

6.7out of 10Fair

This codebase scores 6.7 out of 10 for code health, which we rate fair. It also scores maintainability 5.5 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 54 of 1,680 files are git hotspots, and they average 3.3 — which is where the fixes pay off most.

Do next

1 suggested

1 thing worth doing in the week to Sep 17, the last indexed commit, 1 of them now.

Now

  • Critical

    Clean up what this week's commits left: 35 serious findings in 6 files

    6 commits in the last 7 days added or worsened them, and they are still open. Start with rust/src/nfs/nfs.rs, which has 9 critical.

    serious findings
    35
    critical
    11
    files
    6

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
Lines of code
423.3K

Recent activity

All commits

Everything we found

6,932 open
  • c40%
  • cpp36%
  • rust20%
  • shell2%
  • python1%
  • Other<1%

Explore this codebase