ISTQB
CTFL18 · Question #403
One of the exit criteria for a SW project was defined as "80% statement coverage". A test manager submitted the following report: "We did not measure the statement coverage. However, we ensured 80%…
The correct answer is A. No. There is not direct relationship. 80% branch coverage does not guarantee 80% statement. See the full explanation below for the reasoning.
Question
One of the exit criteria for a SW project was defined as "80% statement coverage". A test manager submitted the following report:
"We did not measure the statement coverage. However, we ensured 80% branch coverage, therefore the exit criteria was met". Is the test manager right?
Options
- ANo. There is not direct relationship. 80% branch coverage does not guarantee 80% statement
- BYes. 50% branch coverage guarantees 100% statement coverage. With 80% branch coverage,
- CNo. The relation works the other way. 80% statement coverage guarantees 80% branch coverage
- DYes. Coverage of 80% of the branches in the control flow guarantees 80% statement coverage.
How the community answered
(33 responses)- A79% (26)
- B12% (4)
- C3% (1)
- D6% (2)
Community Discussion
No community discussion yet for this question.