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

Changes for when gcovr 4.2 gets released #6

Closed
tovrstra opened this issue Apr 9, 2019 · 1 comment
Closed

Changes for when gcovr 4.2 gets released #6

tovrstra opened this issue Apr 9, 2019 · 1 comment

Comments

@tovrstra
Copy link
Member

tovrstra commented Apr 9, 2019

Add the option --exclude-throw-branches to gcovr once gcovr 4.2 is released. C++ coverage analysis is pretty useless without it, because many not so relevant branches are introduced by the compiler to handle exceptions. Most of these branches (or arcs technically) are always missed.

This may not be enough, i.e. other sources of useless branches exist, and branch coverage may have to be disabled entirely to get sensible results for C++ coverage.

@tovrstra
Copy link
Member Author

tovrstra commented Apr 9, 2019

This got fixed in another way in 1.5.0.

@tovrstra tovrstra closed this as completed Apr 9, 2019
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

1 participant