repowisematthart1983/netwatch

Code health of matthart1983/netwatch

Repowise scores matthart1983/netwatch at 4.1 out of 10 for code health, which reads as needs work, alongside maintainability 4.4 and static performance 9.7 on the same scale. There are 1,371 open findings across the three pillars, and the lowest-scoring file is topology.rs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

86 critical, 231 high, 393 medium, 403 low.

Hotspots

36 files are flagged as hotspots. The top 5:

  • src/app.rs: 33 commits in the last 90 days from 4 contributors with 22 recent bug fixes
  • src/collectors/egress.rs: 16 commits in the last 90 days from 1 contributor with 3 recent bug fixes
  • src/ui/dashboard.rs: 8 commits in the last 90 days from 3 contributors with 4 recent bug fixes
  • src/collectors/connections.rs: 8 commits in the last 90 days from 1 contributor with 6 recent bug fixes
  • src/ui/packets.rs: 5 commits in the last 90 days from 1 contributor with 4 recent bug fixes

Lowest-scoring files

  • src/ui/topology.rs: 1.0 out of 10
  • src/ui/timeline.rs: 1.0 out of 10
  • src/collectors/packets/mod.rs: 1.6 out of 10 with 5 bug fixes in the last 180 days
  • src/diagnose/engine.rs: 1.6 out of 10 with 3 bug fixes in the last 180 days
  • src/app.rs: 1.6 out of 10 with 22 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 11 had a bug fix in the last 180 days. Across all 161 scored files, 19.9% had a bug fix in that window.

Dead code and refactoring

Repowise found 2 unused exports. 77 refactoring targets across 77 files would raise the score.

More on netwatch: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language