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

Updated . Posted . 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
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2011-12-20 10:54)