statement coverage
The coverage of executable source statements.
In more detail
Statement testing designs tests until every executable statement has run at least once. Reaching 100% does not prove the code is correct, and it can leave a branch untested, such as the false side of an if statement with no else.
Related terms
- branch coverage — A measurement of whether each decision in the code, such as an if statement, was taken both ways during the tests.
- coverage — The degree to which specified coverage items are exercised by a test suite, expressed as a percentage.
- white-box test technique — A test technique based on the internal structure of a component or system.
Taught in
- Statement And Branch Coverage — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- Test Plans, Entry And Exit Criteria — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- Prioritising Test Cases — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep