ISTQB
CTFL18 · Question #482
For the code fragment given below, which answer correctly represents minimum tests required for statement and branch coverage respectively?
The correct answer is B. Statement Coverage = 1. See the full explanation below for the reasoning.
Question
For the code fragment given below, which answer correctly represents minimum tests required for statement and branch coverage respectively?
Exhibit
Options
- AStatement Coverage = 2
- BStatement Coverage = 1
- CStatement Coverage = 2
- DStatement Coverage = 1
How the community answered
(28 responses)- A4% (1)
- B82% (23)
- C11% (3)
- D4% (1)
Community Discussion
No community discussion yet for this question.
