Code Coverage
- Statement Coverage
- Segment (basic block) Coverage
- Branch Coverage
- Condition Coverage
- Condition/Decision Coverage
- Modified Condition/Decision Coverage
Function/Method Coverage
It can tell us whether each function in the program has been called.
Statement Coverage
It can tell us whether each statement in the program been executed.
Branch Coverage
It can tell us whether each branch of each control structure (such as in if and case statements) has been executed.
Condition Coverage
It can tell us whether each Boolean sub-expression is evaluated to both true and false.