Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k
stars
787
forks
source link
Teamcity reporter reports statement coverage as block coverage #797
Basic block coverage is not sensitive to basic block length. Basic block coverage is the same as statement coverage except the unit of code measured is each sequence of non-branching statements. Segment coverage is another name for basic block coverage.
According to this documentation, the statistic value for Block-level coverage is "CodeCoverageB".
in https://github.com/gotwarlost/istanbul/blob/master/lib/report/teamcity.js#L67, we can see that statements coverage is reported as "CodeCoverageB"
Is this correct? According to http://www.bullseye.com/statementCoverage.html: