pmd
PMD with grails project
Does PMD works with grails project, i.e. with .groovy files?? i\'m using STS editor, if it works, what setup i have to do?[详细]
2023-03-09 22:11 分类:问答export installed eclipse plugin
I would like to know if it is possible to export an installed eclipse plugin with my proper preference configuration.[详细]
2023-03-07 14:08 分类:问答problems using PMD in IntelliJ IDEA
I was trying to install the PMD plugin to my IntelliJ IDE. I have followed the instructions but when trying to run the pmd check I am getting the following exception. From what it seems the “.” Is b[详细]
2023-03-03 13:12 分类:问答PMD/CPD: Ignore bits of code using comments
Is there a way to tell PMD to ignore checking parts of code for duplication? For example, can I do something like this:[详细]
2023-02-28 13:54 分类:问答PMD ruleset file
I am trying to figure where is the default ruleset file, name of the default ruleset file and how do we add our own rules to it. I tried to google, but that is just confusing me. S开发者_如何学编程o f[详细]
2023-02-27 00:10 分类:问答Ease of writing custom rules in (Java) static code analysis tools
At present I am working for a group where source code (Java) for multiple projects have to be analysed by static code analysic tools[详细]
2023-02-26 02:02 分类:问答PMD rule test classes source for benchmarking
Are there any test classes where PMD rule can be tested ? Basically i want to benchmark some other tool again PMD\'s basic rule set. Like PMd must be testing its rule against some te开发者_运维知识库s[详细]
2023-02-22 17:52 分类:问答maven 3 + pmd fails when code has annotations and generics
When I run mvn pmd:pmd I get an warning / error from PMD saying that the code cannot use generics, annotations or Enums with java 1.4 or 1.5. This is supposed to be a error when the targetJdk property[详细]
2023-02-22 08:21 分类:问答PMD report more than X violations
Is there a way to have pmd report failure if I exceed 3000 violations of a specific rule. I want CyclomaticComplexity to be unde开发者_运维知识库r 1000 violations and ExcessivePublicCount to be under[详细]
2023-02-21 18:49 分类:问答Which is the highest priority in PMD?
Maybe it\'s just me, but I can\'t find information which is the highest priority in PMD: 1 or 5? Because of http://pmd.sourceforge.net/runnin开发者_JS百科g.html and the mention of the command line pa[详细]
2023-02-21 17:23 分类:问答