Java – checkstyle, findbugs and PMD configurations do not overlap

In my company, we began to use checkstyle, findbugs and PMD to check our code quality and unify our programming style These tools are very effective, but unfortunately they have some overlapping rule sets

Is there a configuration available online that removes overlapping rules?

Of course, these default rule sets do not apply to every project, but it will be a good starting point for us We can adopt this default (non overlapping) configuration and adapt it to our style instead of pruning the duplicate rule set first

Solution

Sonar comes with some very good configurations, called sonar way and sonar way, with findbugs. They seem to have no overlap between different tools (checkstyle, findbugs and PMD) They seem to meet my needs as a good starting point for configuration without all the redundant rules

PS I hesitate to answer my own question, but no one else has an answer, not even an opinion This thread on Meta also seems to think it’s okay.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>