Hey all!
Thanks for another great week in our Community. There is lots of stuff going on at Sonar, some of which will be announced soon. However, this week, we announced that Structure101 has joined Sonar! Welcome to the team.
I’m off next week (nothing exciting planned other than this 4,400-piece Lego set of Notre Dame). Ann will steer the ship until Leith and I are back from GitHub Universe! If you happen to be in attendance, stop by our booth and say hello, and if you just happen to be in the Bay Area, you can come to our Sonar meetup!
We’re grateful every time you give us feedback, so like every week we want to spend some time acknowledging everyone who prompted interesting discussions and gave us feedback to help us continuously improve.
SonarQube:
-
The SonarScanner for Maven should be more selective about what properties it passes to the scanner engine, as reported by @loblanch! Thanks for the report. SCANMAVEN-228
-
We released a buggy version of the SonarScanner for NPM (4.2.4) that was swiftly fixed (with 4.2.5). Thanks for the reports @Tomaz_Majerhold, @matim, @klemen, @Sajadh_Mohammed, and @asafjafarli!
SonarLint:
-
Thanks to @nadia-tarashkevich for helping us track down a memory issue with SonarLint for IntelliJ where unwanted files are being indexed! SLI-1655
-
Thanks @rohit-jalmi_pacol for a nudge that led us to resolve SLI-1381, a noisy but annoying SonarLint error.
Rule & Languages Improvements:
-
Whenever possible, SonarQube shouldn’t “hide” an issue behind another issue (require an issue to be fixed to see the next one). @alxdvn ran into such a scenario when using
NULL
instead ofnullptr
. `cpp:S17631 should always be raised in this case, but it wasn’t. Now we have a ticket to address this. Thanks! CPP-5808 -
Optional values are by construction never null. This means that when using the map method on an optional, we know that the value is not null. However,
java:S5411
isn’t taking this information into account and behaves as if the value may be null, leading to false positives. Thanks @throup! SONARJAVA-5146 -
Thanks @ChristopheS for suggesting a new rule to disallow wrapping of legend in a div, to help with accessibility for users using screen readers. SONARHTML-264
-
Thanks @jat_malte for reporting his experience using older Texas compilers. CPP-5810 CPP-5811
-
Analysis is crashing on projects compiled with XCode 16, as reported by @mpashnyov, @ToniRealp, and @justintyre. Thanks a lot for the reproducers – we are investigating with CPP-5815!
-
As reported by @WhiteTom,
javascript:S125
does not fully support JSX syntax (no commented-out code). Thanks for the report! We’ll fix it with JS-366.
Once more, we extend our thanks to everyone mentioned here - and those we may have missed - for their efforts in strengthening this community and enhancing our Sonar products.
Please leave your own recognitions below – whether for another community member or a SonarSourcer who assisted you this week. If there’s someone you think should be acknowledged in next week’s roundup, don’t hesitate to let us know.