Static analysis tools are designed to analyze code without executing it. They are highly effective at identifying issues such as syntax errors, variable declaration, and usage problems. Options A, B, and D are types of defects that static analysis tools can typically detect because they relate to the code structure and syntax. However, Option C refers to a variable having the wrong numeric value passed into it, which is more of a logical error that typically requires dynamic testing to identify. Static analysis tools cannot understand the correct logical flow or expected values in the code, thus making Option C the correct answer .
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit