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

Coverage on new code should not be always green

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Measures
    • Labels:
      None

      Description

      While displaying coverage on new code in measure filter, as soon as the coverage on the new code is more than 0%, the metric is displayed in green which could be misleading.

      For example, if you set up a quality gate condition that enforce coverage on new code at 80%, you should not get a green light with a coverage on new code at 1%.

        Attachments

        1. on_new_code.png
          28 kB
          OLD - Jean-Denis Coffre
        2. screenshot-1.png
          7 kB
          Horst Krause

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jeandenis.coffre OLD - Jean-Denis Coffre
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: