vortex-data / vortex
Code health
Hotspots average 6.1, the place fixes pay off most.
Explore this codebase
- Code health map427hotspots across 2,724 files
- Ownership1,088sole-owned files: one author, no second reader
- Architecture51modules, 99 entry points
- Decisions36recorded, of which 0 in force and 36 background
- Refactoring211open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 3
3 things worth doing in the week to Aug 13, the last indexed commit.
Worth planning
Start breaking up test_cast_slice_consistency (CCN 44, 228 lines)
vortex-array/src/compute/conformance/consistency.rs:1147
test_cast_slice_consistency nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 3 commits; its file is imported by 28 files, changed 5 times in 90 days.
- gain
- up to +0.5 health on this file(inferred)
- finding
- Nested complexity
- size
- CCN 44, 228 lines, nests 4 deep
- severity
- medium
Medium effort, worth a checkStart breaking up accumulate (CCN 33, 96 lines): first lift lines 425-432
vortex-array/src/aggregate_fn/fns/is_sorted/mod.rs:425
accumulate nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 2 commits; its file is imported by 13 files, changed 7 times in 90 days.
- gain
- up to +0.4 health on this file(inferred)
- finding
- Nested complexity
- size
- CCN 33, 96 lines, nests 6 deep
- severity
- high
Medium effort, worth a checkStart breaking up encode_fsl (CCN 17, 108 lines): first lift lines 905-912
vortex-row/src/codec.rs:905
encode_fsl nests deeply; easier to read and change once split, which also removes a duplicate; its file is imported by 3 files, changed 6 times in 90 days.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Nested complexity
- size
- CCN 17, 108 lines, nests 6 deep
- severity
- high
Medium effort, worth a check
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
Small effort
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health4,696 open findingsCriticalUntested hotspot · vortex-array/src/compute/conformance/consistency.rs20 findings · 9.8 deducted
- Refactoring211 open opportunitiesMediummin_max+1.5 health, S effort · vortex-array/src/aggregate_fn/fns/min_max/mod.rs
- Decisions0 drifting from the codeMediumvortex-ffi/cinclude/vortex.hHigh-churn file with no governing decision
- Ownership1,088 sole-owned filesMediumvortex-array/src/aggregate_fn/fns/uncompressed_size_in_bytes/mod.rsOne author, no second reader
- Dead code372LowArrowVectorAccessorUnreachable class (63 lines)