User Tools

Site Tools


java:sonar

This is an old revision of the document!


Sonar

How to write a custom rule.

As far as I've investigated, the basic steps are:

1. download PMD 2. In PMD you have a rule designer you can use for create a custom rule. For instance, see this article 3. Once you have a custom rule created in PMD, I guess there is a method to pass this information to sonar, I've not dive into it so far now

java/sonar.1431337800.txt.gz · Last modified: 2022/12/02 22:02 (external edit)