New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 789692 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Feature

Blocking:
issue 784464
issue 784620



Sign in to add a comment

Supporting generating code coverage breakdown by directories

Project Member Reported by liaoyuke@chromium.org, Nov 29 2017

Issue description

This can make it easier to view and understand the code coverage.
 
Owner: liaoyuke@chromium.org
Status: Started (was: Available)
A high level design for this feature is as following:

1. Add an required argument called, top_level_dir.
2. By running "llvm-cov report" and parse the report, we can obtain a list of files under top_level_dir that was exercised as well as their coverage stats.
3. Using "llvm-cov show" to generate line-by-line code coverage report for the files mentioned in step 2.
4. Assumble directory based code coverage report for the files mentioned in step 2.

I'll be careful with the implementation so that it can be easily adapted to support generating coverage breakdown by components.
Please let me know if you have any questions or concerns.

Unfortunately, this is still blocked on the Clang roll, there is a CL in flight: https://chromium-review.googlesource.com/c/chromium/src/+/845700, hopefully, it will land soon.

Comment 3 by mmoroz@google.com, Jan 4 2018

Components: Tools>CodeCoverage

Comment 4 by mmoroz@google.com, Jan 4 2018

Blocking: 784620
Status: Fixed (was: Started)

Sign in to add a comment