Skip to content

Multi-Quality Rule (MQR) Mode support #2855

@guwirth

Description

@guwirth

The SonarQube Server instance has two modes: Standard Experience Mode (old) and Multi-Quality Rule (MQR) Mode (new). The cxx plugin does not support the new MQR mode (https://docs.sonarsource.com/sonarqube-server/latest/instance-administration/analysis-functions/instance-mode/instance-mode-overview/).

Feature request: Support MQR mode.

New SonarQube Server instances use MQR Mode by default. Upon upgrading, existing SonarQube Server 10.1 and earlier are configured with the Standard Experience by default.

  • Standard Experience Mode: Standard Experience mode encompasses the use of rule types such as bugs, code smells, and vulnerabilities, with a single type and severity level for each rule. This approach focuses on assigning severity to a rule based on the single software quality (e.g. security, reliability, or maintainability) it has the largest impact on.
  • Multi-Quality Rule Mode: MQR Mode aims to more accurately represent the impact an issue has on all software qualities. It does this by assigning a separate severity to a rule for each software quality it might impact. This approach focuses on ensuring the impact on all software qualities is clear, not just the one most severely impacted.

The way rules are categorized depends on the mode your instance of SonarQube Server is using:
https://docs.sonarsource.com/sonarqube-server/latest/user-guide/rules/overview/

Coding rule guidelines:
https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/adding-coding-rules/#coding-rule-guidelines

Old issue types, custom severities undeprecated in 10.8:
https://community.sonarsource.com/t/old-issue-types-custom-severities-undeprecated-in-10-8/128860

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions