New version of S3518 for Java

Hi, dear Java developers,

As explained in a previous post we are very busy updating the bug detection rules for Java.

Today we released version 2.2 of our bug detection engine for Java (and Python). This release mainly brings an updated version of S3518 (Division by zero).

Similar to what we did for S2259, this version should bring better findings, and make it easier for us to improve S3518 over time.

We hope you will take the time to report the problems you will observe, either in this forum or directly in SonarQube Cloud, by sharing the details with us when you mark an issue as False-Positive or accept it.
We have noticed an uptick in such information being shared for S2259 for Java since last time, for which we really wanted to thank you all, as it will make it easier to figure out where the rule falls short and correct the problems!

This is available today on SonarQube Cloud, and will be in SonarQube Server 2025.4 later this month.
It is also available in SonarQube IDE when running in connected mode if the project is in one of the supported products (SonarQube Cloud or SonarQube Server).

Denis

2 Likes