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?
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.
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?