ISEB-SWTINT1 practice question 3 of 10
For which of the following would a static analysis tool be MOST useful?
Full set: 43 questionsStatic analysis tools examine source code or other software artifacts without executing them. Their primary and most effective use is to automatically and consistently check the code against a predefined set of rules. This makes them exceptionally useful for the enforcement of coding standards, as they can identify deviations in syntax, structure, and complexity that would be tedious and error-prone for human reviewers to find manually. This automated enforcement improves code quality, maintainability, and consistency across a project.
A. Supporting reviews. While static analysis findings are valuable inputs for reviews, the tool's core function is the analysis and rule enforcement itself, not the support of the human-centric review process.
B. Validating models of the software. This is a specialized task, often performed by model-checking tools. While a form of static analysis, it is not the most common or primary use for the general-purpose static analysis tools implied here.
C. Testing code executed in a special test harness. This describes dynamic testing, where code is executed to observe its behavior. Static analysis, by definition, analyzes code without running it.
1. ISTQB® Certified Tester Foundation Level Syllabus (Version 2018 V3.1.1):
Section 5.3.2, "Test Tool Classification," discusses static analysis tools. It states, "Static analysis tools support developers and testers in finding defects and enforcing coding standards... They help to find defects, not failures. They are an extension of compiler warnings." This explicitly identifies "enforcing coding standards" as a key purpose.
2. Graham, D., Van Veenendaal, E., Evans, I., & Black, R. (2019). Foundations of Software Testing: ISTQB Certification (4th ed.). Cengage Learning.
In Chapter 3, Section 3.2, "Static analysis by tools," the text lists typical defects found by static analysis tools. The first item on the list is often related to standards: "A static analysis tool can find defects such as... violating programming standards" (paraphrased from content on pp. 108-110). The text emphasizes that this is a key strength of such tools.
3. Spillner, A., Linz, T., & Rossner, T. (2021). Software Testing Foundations: A Study Guide for the Certified Tester Exam (5th ed.). Rocky Nook.
Chapter 3, Section 3.2, "Static Analysis by Tools," states: "Typical defects that can be found more easily by tools than by humans are... Deviations from standards (coding standards)." It highlights that checking for compliance with coding guidelines is a primary and efficient application of these tools.
Keep practicing
Take the free ISEB-SWTINT1 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ISEB-SWTINT1 practice questions
- Question 1When should configuration management procedures be implemented?
- Question 4Which of the following defines the expected results of a test?
- Question 7Which of the following is a purpose of the review planning phase?
- Question 8What is the MAIN objective when reviewing a software deliverable?
- Question 9A thermometer measures temperature in whole degrees only. If the temperature falls below …
- Question 10Where may functional testing be performed?
