Which of the following is a benefit of static analysis?

選択肢

A.Defects can be identified that might not be caught by dynamic testing
B.Early defect identification requires less documentation
C.Early execution of the code provides a gauge of code quality
D.Tools are not needed because reviews are used instead of executing code

正解

A: Defects can be identified that might not be caught by dynamic testing

解説

A is correct, per syllabus. Static analysis with a static analyzer can be used to find defects such as uninitialized variables that could be difficult to catch with dynamic testing. B is incorrect because defects will still need to be documented regardless of how early they are found. C is incorrect because this is dynamic analysis. D is incorrect because static analysis usually requires the use of tools.

この試験の他の問題