Is the code analysis rules of 9.9.5 and 10.5 the same?

is the code analysis rules of 9.9.5 and 10.5 the same?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    9.9.5

  • how is SonarQube deployed: zip, Docker, Helm
    zip

  • what are you trying to achieve
    stay at 9.9.x if the rule set the same with 10.5.X

  • what have you tried so far to achieve this
    dont understand the way sonarqube update the ruleset /coverage for community edition

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hey there.

SonarQube’s ruleset evolves with each version. Rules are updated, added, deprecated, and (after appropriate deprecation) removed.

You can see at a high-level what evolution takes place in our release announcements. For example, in SonarQube 10.5:

Other Changes to Note

JavaScript/TypeScript:

  • Ongoing precision improvements were made to reduce false positive rates.

Java/Kotlin:

  • Added five new rules.

.NET:

  • Promoted seven rules to the Sonar way quality profile.

Python:

  • Ongoing precision improvements were made to reduce false positive rates.
1 Like

Thanks for sharing this. 10.5.X had new feature and changes.
But we will stay at 9.9.x LTA branch as its still providing Bug fix and Security updates .

  1. if we stay at 9.9 LTA and update with the latest minor version. Do we still get the latest rules.

  2. can we assume the the ruleset updates in 9.9.x LTA as welll. eg version of 9.9.4 to 9.9.x on par with 10.5.x ?

  3. the rules site dont have mean to download.
    https://rules.sonarsource.com/

No. Rules are only updated in new major/minor versions of SonarQube (not patch versions)

1 Like

before this thread close.
noted. Rules are only updated in new major/minor versions.
version 9.5 to 9.9 consider minor version ?
i observed that there are java rules update between the version 9.5 to 9.9.x LTA

refer to png file attached.
java profile for 9.5.0 was 471
java profile for 9.9.5 add to 479

Yes, that’s expected and normal!