Skip to content

Use COV_EXCL_LINE - #100

Merged
JeffFessler merged 1 commit into
mainfrom
jf/codecov
Jun 29, 2026
Merged

Use COV_EXCL_LINE#100
JeffFessler merged 1 commit into
mainfrom
jf/codecov

Conversation

@JeffFessler

Copy link
Copy Markdown
Member

codecov wrongly asserts that the 5 code lines affected here are not covered by the test suite.
They are covered, but the compiler optimizes away these trivial lines, which codecov does not realize.
The comment COV_EXCL_LINE tells codecov to ignore these lines, which reduces PR noise.

@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #100      +/-   ##
===========================================
+ Coverage   97.83%   100.00%   +2.16%     
===========================================
  Files           8         8              
  Lines         231       226       -5     
===========================================
  Hits          226       226              
+ Misses          5         0       -5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 28367660803

Coverage increased (+2.2%) to 100.0%

Details

  • Coverage increased (+2.2%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 226
Covered Lines: 226
Line Coverage: 100.0%
Coverage Strength: 101.26 hits per line

💛 - Coveralls

@JeffFessler
JeffFessler merged commit a9dd343 into main Jun 29, 2026
22 checks passed
@JeffFessler
JeffFessler deleted the jf/codecov branch June 29, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants