fniessink
(Frank Niessink)
November 11, 2025, 4:12pm
1
Hi all,
The function below has one nesting level and 10?? and || operators. The complexity is correctly reported as 11. However, I don’t understand why all markers for the ?? and || operators are rendered on line 98. Is this a bug?
Regards, Frank
Colin
(Colin)
November 12, 2025, 7:25am
2
Hey there.
What version of SonarQube are you using (this should be noted in the footer of your instance). Or are you using SonarQube Cloud?
fniessink
(Frank Niessink)
November 12, 2025, 8:21am
3
Hi Colin, sorry, should’ve mentioned that: SonarQube Developer Edition v2025.3 (108892).
Hello @fniessink ,
thanks for reporting this. Indeed it seems the rule is not properly handling the nullish coalescing operator (??). I created a ticket to fix it.
Cheers!
1 Like
system
(system)
Closed
November 29, 2025, 8:08am
12
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.