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

Is it possible to show coverage data in files instead of class? #39

Closed
kyocwn opened this issue Feb 19, 2016 · 1 comment
Closed

Is it possible to show coverage data in files instead of class? #39

kyocwn opened this issue Feb 19, 2016 · 1 comment
Labels

Comments

@kyocwn
Copy link

kyocwn commented Feb 19, 2016

Hi daniel,

Your tool is really cool. And I have created several code coverage reports using your open source tool. However, I am wondering whether it is possible to show the coverage information in terms of cpp files instead of class.

I am using VS2012 dynamic coverage file to generate the report. Sometimes I would feel more easier if you could list the coverage information for several classes defined in the same cpp file altogether. Now I could only see the coverage information for a specific class in a cpp file. All other classes are grayed out.

@danielpalme
Copy link
Owner

Theoretically it would to possible to change from "by class" view to a "by file" view. But this would require to change the entire code base.
It is best practice to only have one class per file (at least for C#, http://stackoverflow.com/questions/2434990/one-class-per-file-rule-in-net).
If you don't violate that rule, then "by file" or "by class" doesn't really matter.

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

No branches or pull requests

2 participants