How to Find the New Java Rules Coming with 7.9.1

Hi, we are trying to upgrade to SonarQube 7.9.1 from 6.7.7. From the “Language Updates” of 7.9.1, it says “92 new rules” for Java and if clicked it will take you to https://rules.sonarsource.com/java with Java 554 rules.

My question is how can I find these 92 new rules? (same for JavaScript, etc.)

Thanks very much.

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube 6.7.7
  • what are you trying to achieve
    Upgrade to the new LTS 7.9.1
  • what have you tried so far to achieve this
    Just trying to learn the new Java & JavaScript Rules.

On the rules tab you can filter the rules with “Available since”.

2 Likes

Thanks for your response.

The issue with “Available Since…” is, however, if the server does a restart, then the it becomes the server restarted date/time.

What I am actually looking for is the NEW RULES coming ONLY with the NEW LTS 7.9.1 as the web page stated regardless when the server started since we need to test those new rules.

Thanks.

Hi and welcome :slight_smile:

just do your update Sonarqube 6.7.7 to 7.9.1 LTS (7.9.2 coming soon…)
Afterwards see the changelog for the language you are interested in, e.g. Java
see yoursonarinstance/profiles/changelog?language=java&name=Sonar+way
and you’ll see all new/changed rules.
If you want keep track of all the details for a specific scanner, see Sonarsource Jira e.g.
https://jira.sonarsource.com/projects/SONARJAVA
You may create a free account being able to vote and create watches on specific tickets.

Gilbert

1 Like