What should you rec...
 
Notifications
Clear all

What should you recommend?

1 Posts
1 Users
0 Likes
101 Views
(@delillovicente)
Posts: 721
Noble Member
Topic starter
 

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 an Xcode build task, select Use xcpretty from Advanced.
    B. In a Maven build task, select Run PMD.
    C. In a Grunt build task, select Enabled from Control Options.
    D. In a Gulp build task, specify a custom condition expression.

Show Answer Hide Answer

Suggested Answer: B

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.
 
Posted : 14/01/2023 1:19 pm

Latest Microsoft AZ-400 Dumps Valid Version

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