Skip to content

chore(lints): gate span arithmetic, lexer indexing, and production unwrap - #1229

Merged
dekobon merged 10 commits into
mainfrom
fix/1152-1227-panic-free-lints
Aug 7, 2026
Merged

chore(lints): gate span arithmetic, lexer indexing, and production unwrap#1229
dekobon merged 10 commits into
mainfrom
fix/1152-1227-panic-free-lints

test(metrics/loc): cover the C-family continued-macro arm

debd153
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 7, 2026 in 0s

98.35% (+0.01%) compared to a47d020

View this Pull Request on Codecov

98.35% (+0.01%) compared to a47d020

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.35%. Comparing base (a47d020) to head (debd153).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1229      +/-   ##
==========================================
+ Coverage   98.33%   98.35%   +0.01%     
==========================================
  Files         278      278              
  Lines       72043    72068      +25     
  Branches    71613    71638      +25     
==========================================
+ Hits        70845    70879      +34     
+ Misses        788      779       -9     
  Partials      410      410              
Files with missing lines Coverage Δ
src/c_macro.rs 98.11% <100.00%> (-0.01%) ⬇️
src/metrics/loc.rs 99.92% <100.00%> (+<0.01%) ⬆️
src/metrics/loc/bash.rs 100.00% <100.00%> (ø)
src/metrics/loc/c.rs 90.32% <100.00%> (+9.67%) ⬆️
src/metrics/loc/cpp.rs 100.00% <100.00%> (ø)
src/metrics/loc/csharp.rs 96.15% <100.00%> (ø)
src/metrics/loc/elixir.rs 100.00% <100.00%> (ø)
src/metrics/loc/go.rs 100.00% <100.00%> (ø)
src/metrics/loc/groovy.rs 90.32% <100.00%> (ø)
src/metrics/loc/irules.rs 95.23% <100.00%> (ø)
... and 17 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.