White-box test techniques · Question 21 of 60
Which defects does a test with 100% statement coverage not necessarily find?
2 answers are correct. Medium Created with AI
Show answer
Answer
- C Defects in a decision outcome that was not exercised
- D Data-dependent defects such as division by zero for certain values
Explanation
Every statement runs, but not with all values and not in every branch. At 100% there are, by definition, no statements that were never executed.