Skip to content

perf: parser, metric, output, and CLI batch (#1098, #1100, #1107-#1111, #1115, #1118) - #1134

Merged
dekobon merged 19 commits into
mainfrom
fix/batch-2026-07-30
Jul 31, 2026
Merged

dekobon merged 19 commits into
mainfrom
fix/batch-2026-07-30

test(coverage): cover the serializers this batch touched

6543d00
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 31, 2026 in 0s

98.15% (-0.03%) compared to 53e4c62

View this Pull Request on Codecov

98.15% (-0.03%) compared to 53e4c62

Details

Codecov Report

❌ Patch coverage is 96.65579% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.15%. Comparing base (53e4c62) to head (6543d00).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/preproc.rs 84.90% 14 Missing and 2 partials ⚠️
src/output/color.rs 91.61% 3 Missing and 11 partials ⚠️
src/checker.rs 96.90% 6 Missing ⚠️
src/metrics/loc.rs 98.87% 0 Missing and 1 partial ⚠️
src/ops.rs 99.02% 0 Missing and 1 partial ⚠️
src/output/dump.rs 90.90% 0 Missing and 1 partial ⚠️
src/output/dump_metrics.rs 75.00% 0 Missing and 1 partial ⚠️
src/output/dump_ops.rs 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1134      +/-   ##
==========================================
- Coverage   98.18%   98.15%   -0.03%     
==========================================
  Files         272      276       +4     
  Lines       68345    69223     +878     
  Branches    67915    68793     +878     
==========================================
+ Hits        67107    67949     +842     
- Misses        848      873      +25     
- Partials      390      401      +11     
Files with missing lines Coverage Δ
src/c_macro.rs 98.12% <100.00%> (ø)
src/checker/rust.rs 92.85% <100.00%> (ø)
src/function.rs 87.50% <100.00%> (-0.31%) ⬇️
src/int_hash.rs 98.85% <100.00%> (+0.23%) ⬆️
src/metrics/halstead.rs 99.90% <100.00%> (+<0.01%) ⬆️
src/metrics/loc/line_set.rs 100.00% <100.00%> (ø)
src/metrics/loc/shared.rs 100.00% <100.00%> (ø)
src/node.rs 95.79% <100.00%> (+0.17%) ⬆️
src/node/parser_cache.rs 100.00% <100.00%> (ø)
src/observation.rs 100.00% <100.00%> (ø)
... and 14 more

... and 14 files with indirect coverage changes

🚀 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.