RCov: The difference between "code coverage" and "total coverage"

Posted Over 12 years ago. Visible to the public.

Code coverage is the ratio of code lines kissed by a test vs. the total number of lines in your source files. This sounds meaningful, but isn't.

Total coverage additionally ignores whitespace and comments when computing the coverage ratio, which is what you want.

Henning Koch
Last edit
About 12 years ago
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2011-12-20 10:54)