What is static analysis?

What is static analysis?
A . The decision between using white or black box test techniques.
B . Executing software to validate the most common path through the code.
C . A technique to find defects in software source code and software models, performed without executing code.
D . It is a testing technique used during system testing.

Answer: C

Explanation:

Static analysis is a technique to find defects in software source code and software models, performed without executing code. Static analysis can be done manually or automatically using tools that examine the code or design of a software system without running it. Static analysis can help identify and prevent defects, measure complexity, check compliance, or improve quality.

The other statements are not correct definitions of static analysis because they describe different concepts related to testing.

For example:

A: The decision between using white or black box test techniques: This statement describes a test strategy, which is an approach or method for designing and executing test cases based on various factors, such as scope, objectives, risks, resources, etc.

B: Executing software to validate the most common path through the code: This statement describes dynamic testing, which is a technique to find defects in software by executing it under various conditions and inputs and comparing the actual results with the expected results.

D: It is a testing technique used during system testing: This statement describes a test level, which is a group of test activities that are organized and managed together based on some criteria, such as objectives, scope, target audience, etc.

You can find more information about static analysis in [A Study Guide to the ISTQB® Foundation Level

2018 Syllabus], Chapter 6, Section 6.3.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments