Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6303

WS to compare quality profiles

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Quality Profile, Web API
    • Labels:
      None

      Description

      GET api/qualityprofiles/compare?left=sonar-way-java-12345&right=sonar-way-findbugs-java-23456

      {
        "left": "sonar-way-java-12345",
        "right": "sonar-way-findbugs-java-23456",
        "inLeft": [
          { "key": "squid:S1234", "name": "Tabs must not be used", "pluginName": "SonarQube Java", "severity": "MINOR" }
        ],
        "inRight": [
          { "key": "squid:S2345", "name": "Spaces must not be used", "pluginName": "SonarQube Java", "severity": "MINOR" }
        ],
        "modified": [
          { "key": "squid:S0123", "name": "Indentation should be correct", "pluginName": "SonarQube Java", "severity": "MINOR",
            "left": {
              "severity": "INFO"
            },
            "right": {
              "severity": "MINOR"
            }
          }
        ],
        "same": [
          { "key": "squid:S5678", "name": "Possible null pointer reference", "pluginName": "SonarQube Java", "severity": "CRITICAL" }
        ]
      }
      

        Attachments

          Activity

            People

            Assignee:
            jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
            Reporter:
            jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: