Skip to content
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

How to remove unreachable branches from coverage? #108

Closed
lorediana opened this issue Dec 16, 2020 · 3 comments
Closed

How to remove unreachable branches from coverage? #108

lorediana opened this issue Dec 16, 2020 · 3 comments

Comments

@lorediana
Copy link

lorediana commented Dec 16, 2020

As far as I know, gcovr provides some flags that help in removing unreachable branches (--exclude-unreachable-branches). Is there something like this provided by lcov? I attach and example with the multiple branches detected by lcov for an if-else statement.
image

@henry2cox
Copy link
Collaborator

henry2cox commented Dec 16, 2020 via email

@lorediana
Copy link
Author

Ok, thanks :(

@henry2cox
Copy link
Collaborator

henry2cox commented Dec 16, 2020 via email

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

No branches or pull requests

2 participants