TOPIC 12/3712 MINNOT STARTED

Static analysis for testers: linters, scanners and quality gates

Tools can read code and flag slips and risky patterns without running it. A tester learns what they find, what they miss and how a quality gate uses them.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a spell-check and a style guide. Before a report goes to the printer, a spell-check marks wrong words and a style guide marks messy sentences. Neither one reads for sense. They only catch the slips they know about.

Daily List is a to-do list app. Every time Leo sends a change, a tool reads the new code before anyone runs it. It marks one unused piece and one risky way of building a message from user text. Leo fixes both in minutes.

The tool read the code without running it. This is . A linter flags style slips and likely mistakes. A looks for known risky patterns. Together they work like a spell-check for code.

Tom, the tester, still has work. The tool does not know what Nina wanted. It cannot tell if the reminder is sent at the right time.

The picture has a limit. A spell-check knows a language well. A code tool knows only the rules it was given, and it can flag harmless code or miss real faults.

(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 Letting tools catch the slips they know, while people test what tools cannot see.

  1. Run the check
  2. Read the flags
  3. Fix or explain
  4. Test for sense
Spell-check

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
A spell-checkA linter
A style guideThe team's rules for the tool
The printer's gateA quality gate
Reading for senseTesting against what users need

WHERE THIS PICTURE STOPS

  • A spell-check knows a language well. A code tool knows only its rules.
  • A spell-check rarely flags a good word. A scanner may flag fine code.
  • A printer rejects a bad page. A gate blocks a change, and people decide what to do.

HOOK

Slips by tool, sense by people.

REMEMBER IT THIS WAY

A contrast: two neighbours told apart by one test.

The tool asks whether the code matches a slip it knows. The tester asks whether it is what Nina wanted.

What each part of the trick stands for
In the trickWhat it stands for
Toolreads the new code before anyone runs it for slips it knows
Testerchecks the intended behaviour against the needs agreed with Nina

TELL A FRIEND

A spell-check and style guide before the printer. Tools catch slips and people check sense.

OFTEN MIXED UP WITH Reviews and static testing. The lesson covers reviews. This lesson adds tools that read code for slips and the quality gates that use them.

PRACTISE AND KEEP

Sources for this topic — 9 sources
  1. Market practice

    ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Section 6.1, tool support: tools that support static testing include review tools and static analysis tools (confirmed against the syllabus, read in full text from a mirror copy of the publisher PDF, v4.0.1, 15 September 2024) | Section 3.1, static testing finds defects without running the code (confirmed against the syllabus, read in full text from a mirror copy of the publisher PDF, v4.0.1, 15 September 2024)

    The examinable statement of what a foundation-level tester is expected to know: six chapters, 64 learning objectives, each tagged K1 Remember, K2 Understand or K3 Apply, plus the test-design techniques the qualification names and groups as black-box, white-box and experience-based.

    Used here for the test-craft questions a Payment Quality Assurance Analyst and a Production Support Analyst are asked. It is cited for what the syllabus says a tester must be able to do, never as a rule about how payments work. · Checked 2026-11-07

    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.

  2. Market practice

    Introduction to quality gates (SonarQube documentation) ↗ — SonarSource · A quality gate is a set of conditions, each made of a metric, an operator and a value, often applied to new code (search excerpt, page not opened)

    Says a quality gate is a set of conditions, each with a metric, an operator and a value, often on new code. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  3. Market practice

    Source Code Analysis Tools (OWASP wiki category) ↗ — Open Worldwide Application Security Project · The OWASP wiki category lists tools that analyse source code for security problems; it is archived, incomplete and not an endorsement (search excerpt, page not opened)

    Lists tools that analyse source code for security problems; archived and incomplete. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  4. Market practice

    Data flow analysis (ISTQB glossary entry as shown on SoftwareTestPilot) ↗ — SoftwareTestPilot · softwaretestpilot-data-flow-analysis: glossary entry shown as a form of static analysis based on the definition and use of variables (search excerpt; check against the official ISTQB glossary). istqb-ctal-tta-syllabus-v4: course outlines list data flow analysis under static analysis next to control flow analysis and call graphs (search excerpt; r7 queries TTA-3/4). The 'used before set' example is

    Third-party study site. Per the search excerpt it gives the glossary entry as a form of static analysis based on the definition and use of variables. The official glossary was not reached, so the wording must be checked against it. · Checked 2026-10-18

    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.

  5. Market practice

    ISTQB Certified Tester Advanced Level Technical Test Analyst (CTAL-TTA) Syllabus v4.0 ↗ — International Software Testing Qualifications Board (ISTQB) · softwaretestpilot-data-flow-analysis: glossary entry shown as a form of static analysis based on the definition and use of variables (search excerpt; check against the official ISTQB glossary). istqb-ctal-tta-syllabus-v4: course outlines list data flow analysis under static analysis next to control flow analysis and call graphs (search excerpt; r7 queries TTA-3/4). The 'used before set' example is

    Version 4.0 syllabus (footer date 2021-06-30), read in full text. Used for the objective ids, the review checklists in sections 5.2.1 and 5.2.2, dynamic and static analysis, white-box detail and compatibility. Paraphrased, not quoted. · Checked 2026-10-18

    Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CTAL-TTA v4.0, dated 2021-06-30 in its footer), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.

    Specialist review 6 November 2026: Actual CTAL-TTA4.0 §3.3 dynamic-analysis body reviewed; no claim of a full-syllabus review. Professional certification guidance, not binding legislation or a formal ISO standard. Inherited full-text descriptions are not a claim that this audit read every PDF page.

  6. Market practice

    Control flow analysis (ISTQB glossary study page) ↗ — SoftwareTestPilot · Closes CTAL-TTA control flow analysis and call graphs. Control flow analysis wording follows a third-party page showing the ISTQB definition (check against the official glossary). Call graph, over-approximation and unused-procedure use from Wikipedia (excerpt). Applies after the live ADD-5 sentence.

    Third-party page labelled with the ISTQB definition: a form of static analysis based on a representation of unique paths through a component or system. Check against the official ISTQB glossary. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). 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.

  7. Market practice

    Call graph ↗ — Wikipedia · Closes CTAL-TTA control flow analysis and call graphs. Control flow analysis wording follows a third-party page showing the ISTQB definition (check against the official glossary). Call graph, over-approximation and unused-procedure use from Wikipedia (excerpt). Applies after the live ADD-5 sentence.

    A call graph is a directed graph of which procedure calls which. Static call graphs usually over-approximate; one use is finding procedures never called. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). 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.

  8. Market practice

    Does SonarQube code coverage fail if there is no reports imported (Sonar Community) ↗ — SonarSource community forum · SonarQube documentation says gate conditions often target new code; two user threads show a missing coverage report and a main-branch result that differs from the branch. These are SonarQube examples; other tools differ. (search excerpt, page not opened).

    Thread says the tool reflects only the coverage reports fed into analysis. Tool-specific user discussion. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). 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.

  9. Market practice

    Quality Gate on MAIN BRANCH failed because of 3 new lines of code without coverage (Sonar Community) ↗ — SonarSource community forum · SonarQube documentation says gate conditions often target new code; two user threads show a missing coverage report and a main-branch result that differs from the branch. These are SonarQube examples; other tools differ. (search excerpt, page not opened).

    User report that a gate can differ between a pull request and the main branch. Tool-specific user discussion. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). 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.

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.