Skip to content

Add tests for missing branch coverage and mark defensive code as no c…

a21f2c7
Select commit
Loading
Failed to load commit list.
Merged

Achieve 100% branch coverage through targeted tests and defensive code marking #92

Add tests for missing branch coverage and mark defensive code as no c…
a21f2c7
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 19, 2026 in 0s

100.00% (+2.09%) compared to ed0673d

View this Pull Request on Codecov

100.00% (+2.09%) compared to ed0673d

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ed0673d) to head (a21f2c7).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main       #92      +/-   ##
===========================================
+ Coverage   97.90%   100.00%   +2.09%     
===========================================
  Files           7         7              
  Lines         763       755       -8     
  Branches      160       157       -3     
===========================================
+ Hits          747       755       +8     
+ Misses         10         0      -10     
+ Partials        6         0       -6     
Files with missing lines Coverage Δ
simplecpreprocessor/core.py 100.00% <ø> (+3.59%) ⬆️
simplecpreprocessor/tokens.py 100.00% <ø> (+2.19%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.