it's missing support for branch coverage info #1

Closed
millermedeiros opened this Issue Dec 8, 2012 · 2 comments

Projects

None yet

2 participants

@millermedeiros

would be cool if it supported branch info as well:

Branch coverage information is stored which one line per branch:

 BRDA:<line number>,<block number>,<branch number>,<taken>

Block  number  and  branch  number are gcc internal IDs for the branch.
Taken is either ’-’ if the basic block containing the branch was  never
executed or a number indicating how often that branch was taken.

Branch coverage summaries are stored in two lines:

 BRF:<number of branches found>
 BRH:<number of branches hit>

source: http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php

@davglass davglass was assigned Dec 10, 2012
@davglass davglass closed this in ff0e6a7 Jan 15, 2013
Owner

Sorry this took so long, published in lcov-parser@0.0.2

I was going to implement it but in the end I realized istanbul already had a check-coverage command which solved my problem. but anyway, thx!

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