Statement coverage
Read the code as a list of steps and count how many steps your tests ran. A count of 100 percent means every step ran once. It does not mean every step was checked well.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: reading every line of a letter. You read a long letter and you want to be sure you did not skip a page. So you tick each line as you go. When every line has a tick, you know you read it all. You do not yet know that it makes sense.
Daily List is a to-do list app. Leo, the developer, has written the code that sets a reminder. Code is a list of steps for the computer, written one after another. Each step is a statement. Leo's tests run some of the steps, and Tom, the tester, wants to know how many.
is the share of statements that tests have run at least once. If the reminder code has 100 steps and the tests run 90, coverage is 90 percent. Tom asks about the other 10. Some of them may be steps no test has reached. A few may be , which is code that no input can ever reach.
The picture has a limit. A tick on a line proves you read it. A tick on a step proves a test ran it. Neither proves the result was right.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Counting which steps of the code a test ran shows the parts nobody has looked at, and it does not say whether the results were right.
- List the steps
- Mark the steps that ran
- Divide ran by all
- Ask about each step that did not run
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Reading a letter | Running the tests |
| A line you ticked | A statement that ran |
| A page you skipped | A statement no test reached |
| A page torn out of the letter | Dead code that no input can reach |
| All lines ticked | Full statement coverage |
WHERE THIS PICTURE STOPS
- A tick means you read the line. It does not mean the letter makes sense, just as a run does not mean the result is right.
- A reader can skip a page and notice. Code can hide steps that only a tool can show.
- A letter has one path from top to bottom. Code has decisions, so one reading can miss some outcomes.
HOOK
Every line ticked is not every line right.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
Usually, treat steps that did not run as questions, not as a score. A tick shows a test ran a step, not that its result was right.
| In the trick | What it stands for |
|---|---|
| Tick | a statement that ran |
| Missing step | a statement no test reached |
It misleads when a missing step is dead code, which needs removing rather than testing.
TELL A FRIEND
Ticking each line of a letter shows you read it all. Ticking each step of the code shows the tests ran it all.
OFTEN MIXED UP WITH From test basis to coverage: how much testing is enough. Coverage from the counts items from the requirements. This lesson counts items from the code itself, so it looks at what the program contains and not at what the document says.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- Market practice
ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Foundation v4.0.1 section 4.3.1, printed p.42: executable statements and coverage limits. Full primary passage read 2026-10-24; the ten-step illustration is synthetic.
v4.0.1 is dated 15 September 2024 and is a list of corrections to v4.0 (21 April 2023) that reworded six learning objectives — not a cosmetic reissue. 78 pages.
Two traps this entry exists to stop. v4.0.2 is the German edition (1 March 2025, 94 pages), so sorting by version number reaches the wrong document. And the widely-repeated per-chapter question allocation "8 / 5 / 4 / 11 / 9 / 3" is wrong: it is 8 / 6 / 4 / 11 / 9 / 2, derived from three official sample-exam answer keys and confirmed against the Exam Structure Tables.
The single most consequential detail for a question bank: white-box coverage — statement and branch — is K2 "Explain", not K3 "Apply" (FL-4.3.1, FL-4.3.2, FL-4.3.3), and MC/DC, path and condition coverage are declared out of scope in §4.3. A question asking a candidate to compute branch coverage is testing something this syllabus does not.
Read through a mirror, because the publisher's own domain could not be fetched (a reachability gap, not a statement about the publisher). A 403 there is a policy refusal and says nothing about whether the document exists or is reachable elsewhere.
Anyone on an unrestricted network should open the canonical URL above and confirm the section and page numbers cited against it. Every claim drawn from this entry is written so that it can be checked against a numbered page.
Read from two independent PDF-to-markdown conversions mirrored on raw.githubusercontent.com. They are treated as faithful because they were produced by unrelated parties with different tooling, agree on the full 64-item objective set including wording, and reproduce the same internal inconsistency present in the source PDF. Chapter 1 reads "testware that supports" where Appendix B reads "that support". A conversion artefact does not replicate across two toolchains.
The licence permits attributed non-commercial extracts and use as the basis for articles. Whether a site that sells a pass may rely on that is an owner's decision, not this entry's.
7 November 2026 review: actual publisher PDF 4.0.1, 15 September 2024, 78 pages, front matter/copyright and relevant numbered operative sections 0.5–0.10 and chapters 1–6 compared with CTFLpractice lessons. Earlier mirror/search descriptions are historical access records. TheK2 white-box objectives require explanation; the source does not justify a categorical ban on small numeric illustrations that support explanation. Later Exam Rules 1.2§4.1.4 usesK2 for keyword definitions, while syllabus§0.5 usesK1; keep dated scopes distinct. No copied questions or figure assets.
- Market practice
Glossary of testing terms from the International Software Testing Qualifications Board (equivalence partition, equivalence partitioning, boundary value) ↗ — International Software Testing Qualifications Board (ISTQB) · Glossary of testing terms: statement coverage and statement (general knowledge, page not opened)
Seen as a search excerpt; the page was not opened. The authoring container could not resolve this publisher's host name when a fetch was tried on 12 October 2026 for related hosts, so this is a reachability gap and not a statement about the publisher. The glossary has an older and a newer version of the entry for equivalence partitioning; the newer one defines the partition rather than the technique.
- Market practice
ISTQB CTFL syllabus v 4.0.1 ↗ — International Software Testing Qualifications Board · ISTQB CTFL v4.0.1, 15 September 2024; publisher PDF opened 6 November 2026. Sections 1.4.4 and 4.2–4.4 distinguish exercised coverage items, invalid isolation, branches and experience-based techniques.
Version 4.0.1, 15 September 2024. Publisher PDF opened 6 November 2026. Paraphrased for teaching; no licence claim.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.