makeporngreatagain.pro
yeahporn.top
hd xxx

Practice Test 1 | Designing and Implementing Microsoft DevOps Solutions | AZ-400 | Dumps | Mock Test

5,012

A team is currently working on a Java-based project in an Azure DevOps environment. A solution needs to be recommended to improve the quality of code within the DevOps project.
Which of the following would you recommend?

A. For a Maven build task, enable CheckStyle
B. For a Maven build task, enable Run PMD and Run CheckStyle
C. For a Gradle build task, enable CheckStyle.
D. For an ANT build task, enable FindBugs.

Answer – B

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

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard.

Below is a snippet contains a short introduction to PMD tool:

In Azure DevOps, you can enable this as shown in the Microsoft documentation below.

Option A  is incorrect as this tool is only used for style checks.

Option B is CORRECT as both tools in combination (PMD and CheckStyle) help to improve the code quality.

Option C is incorrect as this tool is only used for style checks.

Option D is incorrect as you need to use either a Maven or Gradle build task.

For more information on PMD and enabling it for a Java project, please visit the below URL-

Comments are closed, but trackbacks and pingbacks are open.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.