PMD IDEA plug-in's

1 What is?

  PMD is an open source static source code analyzer , it reports problems found in the application code. PMD includes built-in rule sets, and supports writing custom rules features. PMD does not report compilation errors, because it can only deal with properly formatted source file. PMD problem report is inefficient code or bad programming practice, if the accumulation of these problems, they may reduce the performance and maintainability of the program.

2, install the plug

  File -> Settings -> Plugins -> Marketplace Search "PMD" to download the plug

 

 3, use

In the code editor window box or Project folder, bag, right file, select "Run PMD", "Pre Defined", "All", the specified folders, packages, file for analysis:

 

 

 

 

Guess you like

Origin www.cnblogs.com/GuixinChan/p/11755145.html