← Quiz: Unit Testing and TDD: all 10 questions
Quiz: Unit Testing and TDD · Question 7 of 10
A function has 100% statement coverage. What can you conclude?
A function has 100% statement coverage. What can you conclude?
- A.It has no bugs
- B.All boundary values were tested
- C.Every statement ran at least once during the tests — but bugs may remain
- D.Branch coverage is also 100%
Answer & explanation
Correct answer: Every statement ran at least once during the tests — but bugs may remain
Coverage shows what ran, not whether the checks were correct or complete.
Can you get the rest right without peeking?
Take the timed Quiz: Unit Testing and TDD quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →