HarshadaT
(Harshada)
October 28, 2022, 10:25am
1
In the patch there should have been unused variable major sonar issue, but sonarQube does not show the issue on dashboard for java and javascript.
Colin
(Colin)
October 31, 2022, 1:22pm
2
Hey there.
I would recommend providing more details (SonarQube version, for example) as well as a snippet of code where the issue is not raised that should be. You can read more about the required information in this post:
Hey SonarSource Community!
False-positives happen , as do false-negatives, and we’re eager to fix them. We are thrilled when our users report problems, so we can make our products better.
What is a false-positive (FP)?
A false-positive is when an issue is raised unexpectedly on code that should not trigger an issue, or where the suggested action doesn’t make any sense for the code.
What is a false-negative (FN)?
A false-negative is when an issue should be raised on a piece of code, but isn’t…
HarshadaT
(Harshada)
November 3, 2022, 10:28am
3
SonarQube * Version 9.1 (build 47736)
This below JS code we are using and param2 is unused param. Still its not showing “Unused function parameters should be removed” issue in dashboard.
function sum(param1, param2) {
return param1;
}