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

pkg/cover: better coverage reports (summary/counters) #682

Closed
dvyukov opened this issue Aug 15, 2018 · 1 comment

Comments

@dvyukov
Copy link
Collaborator

commented Aug 15, 2018

It may be useful to generate shorter summary coverage report with just percents per dir/file. It may be useful in identifying yet uncovered subsystems.
Note: it would be nice to keep whole report in a single self-contained html file as it is now. But then will require some more complex navigation, e.g. going between dir/file tree view and a single file; or 2 panes: one shows dirs/files and another a single selected file.

On a related note: we could include coverage counters into reports (how many times a particular lines is covered). llvm coverage report generator can do this:
https://github.com/llvm-mirror/llvm/blob/master/tools/llvm-cov/SourceCoverageViewHTML.cpp

Also: need better handling for lines that are both covered and not-covered.

@dvyukov dvyukov changed the title syz-manager: summary coverage report pkg/cover: better coverage reports (summary/counters) Feb 27, 2019
@dvyukov dvyukov assigned dvyukov and xairy and unassigned dvyukov Apr 5, 2019
@dvyukov dvyukov added the fixit label Apr 5, 2019
@dvyukov

This comment has been minimized.

Copy link
Collaborator Author

commented Jun 9, 2019

@dvyukov dvyukov closed this in c85e1c5 Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.