statement coverage testing code code example
Example: statement coverage testing
The benefit of statement coverage metric is that
a) It does not require processing source
code and can be applied directly to object code
b) Bugs are distributed evenly through
the code, due to which percentage of executable
statements covered reflects the
percentage of faults discovered