ISTQB Certified Tester Foundation Level v4.0 — Question 22

How is branch coverage determined?

Answer options

Correct answer: A

Explanation

The correct answer, A, accurately describes branch coverage as the ratio of tested branches to total branches. Option B incorrectly refers to paths rather than branches, which is not how branch coverage is calculated. Option C misrepresents branch coverage by focusing on statements instead of branches, while option D lacks the necessary division to quantify coverage.