Static code analysis typically identifies all but one of the following problems.Which is it?
-
Unreachable Code
-
Undeclared Variables
-
Faults in requirements
-
Too few comments
C
Correct answer
Explanation
Static analysis tools examine source code without running it, allowing them to detect structural issues like unreachable code, undeclared variables, or insufficient comments. However, they cannot evaluate whether the program meets business needs, meaning faults in requirements can only be identified through dynamic testing or manual reviews.