CompTIA CASP+ (CAS-003) — Question 134

A development team is testing an in-house-developed application for bugs. During the test, the application crashes several times due to null pointer exceptions.
Which of the following tools, if integrated into an IDE during coding, would identify these bugs routinely?

Answer options

Correct answer: B

Explanation

The correct answer is B, as a Static code analyzer can automatically review the code for potential errors like null pointer exceptions during development. An Issue tracker (A) manages reported bugs but doesn't identify them during coding, a Source code repository (C) stores code but doesn't analyze it for issues, and a Fuzzing utility (D) tests for vulnerabilities in a program but is not designed for routine bug detection in the coding phase.