Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Spacetown
Copy link
Member

@Spacetown Spacetown commented Feb 3, 2023

Since the patch discussed in #677 is merged to latest gcc thwe output is not recognized by gcovr anymore (#710).

This PR allows the annotations also for not executed branches and a doctest is added for this new case.

Closes #710

@codecov
Copy link

codecov bot commented Feb 3, 2023

Codecov Report

Base: 95.55% // Head: 95.55% // No change to project coverage 👍

Coverage data is based on head (a8e4401) compared to base (dce78fc).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #711   +/-   ##
=======================================
  Coverage   95.55%   95.55%           
=======================================
  Files          28       28           
  Lines        3736     3736           
  Branches      640      640           
=======================================
  Hits         3570     3570           
  Misses         93       93           
  Partials       73       73           
Flag Coverage Δ
ubuntu-20.04 94.50% <ø> (ø)
windows-2019 95.22% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gcovr/gcov_parser.py 98.75% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Spacetown Spacetown merged commit 7221f61 into gcovr:master Feb 5, 2023
@Spacetown Spacetown deleted the allow_never_executed_with_annotations branch February 5, 2023 06:32
D-Walther pushed a commit to D-Walther/gcovr that referenced this pull request Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unrecognized GCOV output with gcc 13: branch 0 never executed (fallthrough)

2 participants