Hi~I am learning how to write my own custom rules with SonarQube semantic API.
But I don’t understand what each API can do.
So I am wondering if there is any tutorial about SonarQube semantic API.
Please help me.
I really want to learn how to use the SonarQube semantic API.
Thanks a lot!
my SonarQube version: 8.9.2.46101
the language I use: Java
Now I am trying to use custom rule to find out where there are more than 3 “if-else” in the code.
Then I can suggest the developer use strategy design pattern.
But I don’t know how to reach my goal.
Hi @Liver
There is no other tutorial at the moment. From the moment you have completed, you should be able to start exploring the code of the analyzer to look for examples of what you are trying to do.