Which of the following is a benefit of static analysis?

Opções de Resposta

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

Resposta Correta

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

Explicação

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.

Mais Questões desta Prova