Where do I view the Spotbugs warnings in SonarQube interface?

Hi,

My Sonar scan spends a lot of time analyzing code with Spotbugs rules but I cannot view the results in SonarQube. Where do I view the Spotbugs warnings in SonarQube interface ?

As long as I cannot view them, I’d rather disable the Spotbugs rules, but how ?

SonarQube Version 9.9 (build 65466)

Thanks,
Nicolas.

Hey there.

I suggest raising an issue with the maintainer of the spotbugs pplugin – GitHub - spotbugs/sonar-findbugs: SpotBugs plugin for SonarQube

Hi,

The plugin seems to work fine, it does the analysis and generates files like ./.scannerwork/path/to/project/findbugs-result.xml.

My issue is, Sonarqube does not show the results anywhere, or it is just that I can’t find them.
I noticed a property sonar.findbugs.reportpaths but that seems to be used to provide reports that are already generated by the build, for Sonar to re-use.

When I look into the “Issues” tab, it seems that it only shows typical Sonar warnings, not Spotbugs.
So where do I view the Spotbugs warnings in SonarQube interface ?

Thanks,
Nicolas.

Hi,

The issue is I’m using an outdated version of Sonar Scanner which runs Spotbugs analysis although there are no Spotbugs rules in the Quality Profile.

Regards,
Nicolas.