pmd
Logger vs. System.out.println
I\'m using the PMD plugin for eclipse and it gives开发者_如何学Python me an error when using System.out.println() with the explanation:[详细]
2022-12-29 00:41 分类:问答The "Why" behind PMD's rules
Is there a good resource which describes the \"why\" behind PMD rule sets? PMD\'s site has the \"what\" - what each rule does - but it doesn\'t describe why PMD has that rule and why ignoring that rul[详细]
2022-12-24 18:05 分类:问答RegExp matching string not starting with my
For PMD I\'d like to have a rule which warns me of those ugly variables which start with my. This means I have to accept all variables which do NOT start with my.[详细]
2022-12-17 23:35 分类:问答Can i customize PMD of my eclipse?
We know that PMD is int开发者_Go百科egrated with eclipse. And i want to customize it. say suppose i want all variables to start with small letter[详细]
2022-12-15 13:27 分类:问答Loose coupling : Can we use Interfaces when we need cloneables params?
As I was advised 开发者_JAVA技巧by PMD, I want to reduce coopling by using interfaces instead of implementation ...[详细]
2022-12-15 03:55 分类:问答Where will the result will be stored? after executing PMD
I am using PMD to do code-review for my application. I am able to do the review, but I don\'t have a clue where the report will be stored. I am using this cmd:[详细]
2022-12-12 17:09 分类:问答What is the reason for these PMD rules?
DataflowAnomalyAnalysis: Found \'DD\'-anomaly for variable \'variable\' (lines \'n1\'-\'n2\'). DataflowAnomalyAnalysis: Found[详细]
2022-12-09 02:14 分类:问答PMD - check for too many public methods (but exclude constructors and getters/setters)
I wish to add a PMD check to ensure that a class does not have too many public methods, but I do not want constructors and getters/setters to be included in the check.[详细]
2022-12-09 00:41 分类:问答Code analyzers: PMD & FindBugs
1. Regarding PMD: 1.1 How do I set the PMD checks, to ignore some of them, like \"Variable name is too short, or too long\", \"Remove empty constructor, etc\" - and if I do that, another warning appe[详细]
2022-12-08 18:54 分类:问答