repowiseodal-node/dpp-engine

Code health of odal-node/dpp-engine

Repowise scores odal-node/dpp-engine at 8.1 out of 10 for code health, which reads as good, alongside maintainability 8.6 and static performance 9.8 on the same scale. There are 1,654 open findings across the three pillars, and the lowest-scoring file is render.rs at 1.9. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

98 critical, 122 high, 323 medium, 1,111 low.

Hotspots

125 files are flagged as hotspots. The top 5:

  • crates/dpp-node/tests/smoke.rs: 38 commits in the last 90 days from 2 contributors with 14 recent bug fixes
  • crates/dpp-node/tests/openapi_contract.rs: 45 commits in the last 90 days from 1 contributor with 4 recent bug fixes
  • crates/dpp-node/src/infra/registry/tests.rs: 12 commits in the last 90 days from 2 contributors with 1 recent bug fix
  • crates/dpp-node/tests/registry_outbox.rs: 12 commits in the last 90 days from 2 contributors with 2 recent bug fixes
  • crates/dpp-dal/src/pg/repo_passport.rs: 12 commits in the last 90 days from 2 contributors with 10 recent bug fixes

Lowest-scoring files

  • crates/dpp-node/tests/openapi_contract.rs: 1.0 out of 10 with 4 bug fixes in the last 180 days
  • cli/src/stateless/render.rs: 1.9 out of 10 with 6 bug fixes in the last 180 days
  • crates/dpp-node/src/main.rs: 3.2 out of 10 with 13 bug fixes in the last 180 days
  • crates/dpp-integrator/src/handlers/import.rs: 3.4 out of 10 with 5 bug fixes in the last 180 days
  • crates/dpp-vault/src/domain/service/publish.rs: 3.5 out of 10 with 10 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 15 had a bug fix in the last 180 days. Across all 661 scored files, 12.1% had a bug fix in that window.

Dead code and refactoring

33 refactoring targets across 33 files would raise the score.

More on dpp-engine: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language