August 2012
Intermediate to advanced
318 pages
5h 56m
English
To better understand how Sonar works and to be in a position to better evaluate code coverage results, it is necessary to take a closer look at how code coverage tools analyze tests and calculate total coverage. The result of the coverage analysis process, although expressed as a single percentage number in Sonar, is based on many different coverage metrics.
Next, we will examine four fundamental coverage metrics used by all code coverage tools supported by Sonar:
Statement coverage is the most basic metric of the analysis process. It is the building block element for the rest of the metrics. The metric reports ...
Read now
Unlock full access