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

Display coverage for short lived branches and pull requests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: Web, Web API
    • Labels:
      None
    • Edition:
      Developer
    • Production Notes:
      None

      Description

      Those new metrics should be display in the branch status, close to the number of bugs, vulnerabilities and code smells, the header will display:

      • overall coverage - tooltip: Estimated Overall Coverage after merge. See Measures for details.
      • coverage on new code - tooltip: Coverage on New Code. See Measures for details.
      • A tooltip will explain that the overall coverage value can be considered an approximation of the coverage on the target branch if the branch / PR is merged.

      And in the code page of a short lived branch/pull request :

      • In addition to the metrics already displayed, the code page will show the % coverage. Metrics should be shown in the same order, left-to-right, as on the Code page for long-lived branches.
      • "Lines of code" on this page currently refers to the total number of lines of code for each folder / file. This will be changed into the number of new/updated lines of code.
      • It will be also more clear that the other metrics (bugs, vulnerabilities, code smells) also correspond to measures computed "on new code".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregoire.aubert Gregoire Aubert
              Reporter:
              gregoire.aubert Gregoire Aubert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: