Software Testing / Learning brief
Tom counts the routes through the town
In simple terms / 01
What this means in plain language
Cyclomatic complexity counts the independent routes through code. Tom draws the graph of a Daily List function, counts four routes and learns why four paths can still need only three basis tests.
Complete lesson / 02
Understand the full idea, step by step
A town has roads and junctions. Some routes are just the same roads in a new mix. Others add a road you have not used. The number of independent routes is how many you must walk, so that every other route is a mix of those.
Tom draws Daily List code as a town and counts the routes he must walk.
Evidence & review / 03
Evidence & review
The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.
Cyclomatic complexity, basis path and control flow graph as taught in this academy. The people and the Daily List app are invented.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The counts were checked by drawing the graphs and with a short script. The claims about branch coverage are our own reasoning from the definition. Reconciliation 7 November 2026: historical access statements above remain historical; the complete domain gate records the actual current primary sections read or exact historical full-read reuse, including Certified Tester Foundation Level (CTFL) v4.0.1, CTAL-TA (CTAL stands for Certified Tester Advanced Level) v4.0 GA, National Institute of Standards and Technology (NIST) SP500-235 (SP500 is NIST Special Publication 500, a report series) and Pairwise Independent Combinatorial Testing tool (PICT) as applicable. Counts and fictional business rules remain scoped synthetic examples; no publisher-original image or paid-standard independent reading is claimed.
Sources for this brief — 5 sources
- Market practice
Structured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric (NIST Special Publication 500-235) ↗ — National Institute of Standards and Technology (NIST) · Structured testing, also called basis path testing, yields a basis set of paths equal in number to the cyclomatic complexity, and gives more thorough testing than statement and branch coverage (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: 1996. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
A Complexity Measure (Thomas McCabe, Transactions on Software Engineering of the Institute of Electrical and Electronics Engineers (IEEE), 1976) ↗ — Institute of Electrical and Electronics Engineers (IEEE) · The measure is taken from the control flow graph; for one entry and one exit it equals the number of decisions plus one; McCabe suggested splitting a routine above ten (search excerpt of a course copy, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: IEEE Transactions on Software Engineering, vol. SE-2, no. 4, December 1976. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Section 4.3 on white-box techniques covers statement and branch testing, which are based on the structure of the code (confirmed against the syllabus, read in full text from a mirror copy of the publisher PDF, v4.0.1, 15 September 2024)
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
More Control Flow Tools (Python tutorial) ↗ — Python Software Foundation · An if statement can have elif and else parts, and a for statement goes over the items of a sequence in order (search excerpt from copies of the tutorial text, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.