to container sonarsource/sonar-scanner-cli:5
Container and plugin runs make use of our custom quality-gates and rules, but differ in results. In details:
‘Remove usage of generic wildcard type. [java:S1452]’
’ Make the enclosing method “static” or remove this set. [java:2696]
are not found by the container run. There are also some other differences. Both runs were executed with the same properties.
Sonarlint intelliJ plugin has the same results as the maven plugin run. Both runs analyze all files (other smells where found by both analyzers).
Hello Colin,
thanks for your reply. We use SonarQube 10.1.0.73491.
Companies in medical device sector do not like phrases like ‘more accurate’
Does scanner included in maven plugin deliver correct results?
All analysis tools will come with false-positives / false-negatives. No analysis tool is perfect.
The Scanner for Maven configures your analysis in a way that minimizes the chance of inaccurate results as the result of error-prone manual configuration.