I would like to use the same Ruleset in my IDE (Eclipse) that my Sonar profile.
I got the PMD XML ruleset from the Sonar Permalinks and would like to import it into my P
The advice from Ivan Nikolov helped me, but I had to also change one rule from:
5
to
5
Here is my PMD configuration file from sonar which is working for me with PMD-plugin 4.0.2.:
3
3
3
3
3
3
3
3
3
3
3
3
3
3
4
2
3
3
3
3
4
4
3
2
4
2
3
3
5
3
3
2
2
3
3
2
3
4
4
3
3
3
3
3
3
3
3
3
3
3
4
3
3
3
3
3
2
3
3
3
3
3
3
3
3
4
3
3
4
3