Sunday, May 16, 2010

About Code Coverage

This page says that "Code Coverage" is divided into the three phases, C0, C1 and C2.
The following are the summaries of the three phases to one program.

C0 is How many lines the test code checked.
C1 is what percentage of the conditional statements the test code checked.
C2 is whether the test code checked all the likelihood of the procedures.

In the case of Ruby, you can visually check C0 with rcov.

No comments:

Post a Comment