I am rolling out PMD to my project and the first run has fetched more than 4000 violations. I would like to prioritize the violations and so am looking to filter the 100 most unacceptable violations that my team can focus on.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can look at the rule names and decide which is the most critical. Or you can go through the available rules and only turn on the most critical. Without knowing anything about your project or what rules are triggering, one can’t say what is most important. Plus, it is subjective. A number of rules are equally fatal to an application.
In Eclipse, you can have it just run the highest severity rules which is a good proxy for what you are trying to accomplish.