During a code review, you discover quality issues in a Java application. You need to recommend a solution to detect quality issues including unused variables and empty catch blocks. What should you recommend?
A.
In a Maven build task, select Run PMD.
B.
In an Xcode build task, select Use xcpretty from Advanced.
C.
In a Gulp build task, specify a custom condition expression.
D.
In a Grunt build task, select Enabled from Control Options.
A is the answer.
https://pmd.github.io/
PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth.
This section is not available anymore. Please use the main Exam Page.AZ-400 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
kumardeb
Highly Voted 3 years, 11 months agochingdm
1 year, 9 months agoUrbanRellik
Most Recent 5 months, 1 week agovsvaid
10 months, 2 weeks agozellck
1 year, 5 months agozellck
1 year, 5 months agotjeerd
2 years, 3 months agoaz_architect
2 years, 3 months agosyu31svc
2 years, 3 months agoGovcomm
2 years, 3 months agoLeandrocei
2 years, 3 months agoEltooth
2 years, 5 months agoUnknowMan
2 years, 5 months agordemontis
2 years, 7 months agoOptimist_Indian
2 years, 8 months agosubrata83
3 years, 1 month agofrancis6170
3 years, 4 months agoArnoudBM
3 years, 10 months ago