8000 Ignore negative hits by Spacetown · Pull Request #852 · gcovr/gcovr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ignore negative hits #852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 12, 2023
Merged

Ignore negative hits #852

merged 6 commits into from
Dec 12, 2023

Conversation

Spacetown
Copy link
Member

Ignore all negative hits from coverage data if option --gcov-ignore-parse-errors=all, --gcov-ignore-parse-errors=negative_hits.warn or --gcov-ignore-parse-errors=negative_hits.warn_once_per_file is given. In the current version only negative values for the branches are ignored.

Closes #847

@Spacetown Spacetown added this to the Upcoming release milestone Nov 16, 2023
@Spacetown Spacetown force-pushed the ignore_negative_hits branch from 1a3e13b to 11ee088 Compare November 16, 2023 20:12
Copy link
codecov bot commented Nov 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (190e7b9) 95.27% compared to head (e864b20) 95.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #852      +/-   ##
==========================================
+ Coverage   95.27%   95.31%   +0.04%     
==========================================
  Files          54       54              
  Lines        4466     4483      +17     
  Branches      873      878       +5     
==========================================
+ Hits         4255     4273      +18     
  Misses        127      127              
+ Partials       84       83       -1     

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

@Spacetown Spacetown requested a review from latk November 22, 2023 11:39
@Spacetown Spacetown merged commit 064d409 into gcovr:main Dec 12, 2023
@Spacetown Spacetown deleted the ignore_negative_hits branch December 12, 2023 19:28
@Spacetown Spacetown removed this from the Upcoming release milestone Jan 26, 2024
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.

Parsing error: AssertionError: lineno 365 is negative : -1
1 participant
0