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

Introduce distribution by main and test code in Issues page

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: Coverage & Tests, Issues
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      In the Issues Page, it should be possible to filter issues by main code or by test code.

      To be added : 

      • A "Scope" facet, containing "Main code" and "Test code" option
      • A way to identify if a file is a main or a test code

      For the /api/issues/search endpoint, we will

      • Add a new option to the facets parameter, called "scopes".
      • Add a new GET parameter called scopes, which can accept 2 different options, MAIN and TEST.
      • Update the return payload, adding¬†scope information to the facets key:
          "facets": [
            {
              "property": "scopes",
              "values": [{ "val": "MAIN", count: 12 }, { "val": "TEST", count: 12 }]
            }
          ]
          

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wouter.admiraal Wouter Admiraal
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: