Create custom rules Java

Hello everyone,

I’m quite new to all things Sonarqube and I could use some help. I’d like to be able to write custom rules for my projects but apart from the simple Sonar tutorial : sonar-java/ at master · SonarSource/sonar-java · GitHub
I can’t find any documentations and such that explain concretely how these libraries work.

I admit that the tuto was not enough for me to be autonomous on these rules…
If someone would have a doc, a video or whatever, information that will allow me to write rules by myself I would be grateful.

Thank you for your help,


a good starting point is to look at the sources of Sonar Java

and see how it’s done / search for rules with similar functionality


1 Like