Bugs in Generic Issues

Hello,

I recently updated SonarQube version from 9.9.1-community to 10.6.0-community and adjusted the format of the generic issues accordin to the new specifications. However, I am now experiencing difficulties in creating bugs and activating the quality gates for the projects.
From the Overview in Rules, I understand that reliability is the attributed used to classify issues like as bugs. Nevertheless, after importing the external report, while the issues appear, they are not categorized as bugs.
Here are the attributes I am using:

        "cleanCodeAttribute": "LOGICAL",
        "impacts": [
            {
                "softwareQuality": "RELIABILITY",
                "severity": HIGH

Could you please advise if these attributes are correct or if there’s something I might be missing?

Thanks, Rafael

Hi,

10.6 doesn’t have “bugs”, as such. Since 10.6 is outdated, I suggest you upgrade to SonarQube Community Build 24.12, which introduces a toggle between MQR (multi-quality rule) mode and Standard mode, which restores Bugs / Code Smells / Vulnerabilities.

 
HTH,
Ann

Hello again,
If I want to achieve similar behavior, should I use other metrics like “Reliability Rating” or “Reliability Remediation Effort”? In the Quality Gates, I still see that bugs are listed as a metric. What exactly are they based on?

Thanks,
Rafael

Hi Rafael,

Reliability Rating would be a good place to start once you’ve upgraded. :wink:

 
Ann

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.