I\'m using the PMD plugin for eclipse and it gives开发者_如何学Python me an error when using System.out.println() with the explanation:
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
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.
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
As I was advised 开发者_JAVA技巧by PMD, I want to reduce coopling by using interfaces instead of implementation ...
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:
DataflowAnomalyAnalysis: Found \'DD\'-anomaly for variable \'variable\' (lines \'n1\'-\'n2\'). DataflowAnomalyAnalysis: Found
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.
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