Skip to content

fix: batch 2026-08-30 — Halstead, ABC, LOC, NPM/NPA, nargs, preproc - #1403

Merged
dekobon merged 20 commits into
mainfrom
fix/batch-2026-08-30
Sep 9, 2026
Merged

dekobon merged 20 commits into
mainfrom
fix/batch-2026-08-30

test(metrics): cover four uncovered patch lines

4d7ec3e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 9, 2026 in 1s

98.49% (+0.02%) compared to 9c93e05

View this Pull Request on Codecov

98.49% (+0.02%) compared to 9c93e05

Details

Codecov Report

❌ Patch coverage is 99.15254% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.49%. Comparing base (9c93e05) to head (4d7ec3e).

Files with missing lines Patch % Lines
src/metrics/halstead.rs 98.79% 5 Missing ⚠️
src/getter.rs 95.55% 0 Missing and 4 partials ⚠️
src/metrics/npa/shared.rs 97.02% 0 Missing and 3 partials ⚠️
src/metrics/loc.rs 99.56% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1403      +/-   ##
==========================================
+ Coverage   98.46%   98.49%   +0.02%     
==========================================
  Files         278      278              
  Lines       75772    77200    +1428     
  Branches    75342    76769    +1427     
==========================================
+ Hits        74610    76037    +1427     
+ Misses        756      752       -4     
- Partials      406      411       +5     
Files with missing lines Coverage Δ
...e-analysis-py/python/big_code_analysis/_flatten.py 100.00% <ø> (ø)
...ode-analysis-py/python/big_code_analysis/_types.py 100.00% <100.00%> (ø)
src/getter/bash.rs 95.83% <ø> (ø)
src/getter/cpp.rs 100.00% <ø> (ø)
src/getter/irules.rs 96.66% <100.00%> (+1.01%) ⬆️
src/getter/mozcpp.rs 94.73% <ø> (ø)
src/getter/ruby.rs 96.66% <100.00%> (+0.83%) ⬆️
src/getter/tcl.rs 96.66% <100.00%> (+1.01%) ⬆️
src/metric_catalog.rs 100.00% <ø> (ø)
src/metrics/abc.rs 99.62% <100.00%> (+<0.01%) ⬆️
... and 40 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.