What should you recommend?

During a code review, you discover many quality issues. Many modules contain unused variables and empty catch Modes. You need to recommend a solution to improve the quality o’ the code.

What should you recommend?
A . In a Gradle build task, select Run Checkstyle.
B . In an Xcode build task, select Use xcpretty from Advanced
C . In a Grunt build task, select Enabled from Control Options.
D . In a Maven build task, select Run PM

Answer: D

Explanation:

PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth.

There is an Apache Maven PMD Plugin which allows you to automatically run the PMD code analysis tool on your project’s source code and generate a site report with its results.

References: https://pmd.github.io/

Latest AZ-400 Dumps Valid Version with 289 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments