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

Include multiple coverage reports in html with different coloring #886

Open
RobertBuhren opened this issue Feb 15, 2024 · 1 comment
Open

Comments

@RobertBuhren
Copy link

Is your feature request related to a problem? Please describe.
I'm trying to identify code areas which are executed by INPUT_A but not by INPUT_B. I can generate two distinct coverage reports and then create two different html reports, but its not easy to see then where the difference in coverage is.

Describe the solution you'd like
Ideally I'd like to be able to point gcovr to multiple folders containing .gcda files generated by different inputs. In the html view I then can see different colored lines for each input/run. For example: Green - covered by both inputs, Red - not covered by any input, blue - only covered by INPUT_A, yellow - only covered by INPUT_B

Describe alternatives you've considered
So far I create two distinct reports and compare them manually

Additional context
N/A

Thanks!

Regards,

Robert

@Spacetown
Copy link
Member

Such a compare can be done on the base of the JSON as described in #507 (comment). Creating a HTML report out of this is a quite big effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants