repowisevortex-data/vortex

Code health of vortex-data/vortex

Repowise scores vortex-data/vortex at 7.5 out of 10 for code health, which reads as good, alongside maintainability 8.0 and static performance 9.9 on the same scale. There are 4,696 open findings across the three pillars, and the lowest-scoring file is consistency.rs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

122 critical, 448 high, 1,041 medium, 2,543 low.

Hotspots

427 files are flagged as hotspots. The top 5:

  • vortex-ffi/cinclude/vortex.h: 10 commits in the last 90 days from 4 contributors
  • vortex-file/src/tests.rs: 20 commits in the last 90 days from 9 contributors with 2 recent bug fixes
  • vortex-ffi/src/array.rs: 13 commits in the last 90 days from 4 contributors
  • vortex-array/src/scalar_fn/fns/binary/numeric/primitive.rs: 5 commits in the last 90 days from 3 contributors
  • vortex-array/src/arrays/varbin/compute/take.rs: 8 commits in the last 90 days from 5 contributors with 1 recent bug fix

Lowest-scoring files

  • vortex-array/src/compute/conformance/consistency.rs: 1.0 out of 10
  • vortex-datafusion/src/convert/scalars.rs: 1.4 out of 10
  • encodings/zstd/src/array.rs: 1.7 out of 10 with 1 bug fix in the last 180 days
  • vortex-array/src/aggregate_fn/fns/sum/mod.rs: 1.7 out of 10 with 1 bug fix in the last 180 days
  • vortex-duckdb/src/convert/expr.rs: 1.8 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 6 had a bug fix in the last 180 days. Across all 2,724 scored files, 4.7% had a bug fix in that window.

Dead code and refactoring

Repowise found 376 unused exports. 211 refactoring targets across 211 files would raise the score.

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

Related guide: Best dead code detection tools by language