ISTQB-CTFL-FOUNDATION practice question 27 of 35
Which of the following provides the BEST description of statement coverage?
Full set: 403 questionsStatement coverage is a white-box test technique that measures the percentage of executable statements in the source code that have been exercised by a set of tests. Its primary goal is to ensure that every line of executable code has been run at least once. This metric helps identify code that has not been tested, although achieving 100% statement coverage does not guarantee the absence of defects. It is a fundamental structural coverage metric.
A. This describes decision coverage, which focuses on covering the outcomes (e.g., true and false) of decision points, not individual statements.
B. This describes state transition testing, which is a black-box technique used for modeling the behavior of a system, not a white-box technique.
D. This describes an experience-based technique, such as error guessing, which relies on the tester's intuition and experience rather than the code's structure.
ISTQB® Certified Tester Foundation Level Syllabus V4.0, Section 4.2.2, page 46: "Statement coverage measures the percentage of executable statements that have been exercised by a test suite."
ISTQB® Certified Tester Foundation Level Syllabus V4.0, Section 4.2, page 45: "White-box test techniques... are based on an analysis of the structure of the component or system."
Keep practicing
Take the free ISTQB-CTFL-FOUNDATION practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ISTQB-CTFL-FOUNDATION practice questions
- Question 1Which of the following statements refers to good testing practice to be applied regardles…
- Question 3Which of the following statements regarding the testing quadrants model is correct?
- Question 4Which of the following statements best describe Behavior-Driven Development (BDD)?
- Question 5Which of the following statements contradicts the general principles of testing?
- Question 6After being in operation for many years, a document management system must be decommissio…
- Question 7Given the following examples of entry and exit criteria: 1. A defined level of code cover…
