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

Coverage might be missing when merging multiple reports

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: None
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      When sensors add multiple coverage reports for the same file, the scanner merges those reports into a single list of coverage information per line of source code.

      The server expects these coverage lists to be sorted by line, but the scanner does not respect that order when merging multiple reports.

      As a consequence, coverage information might be missing for some lines.

        Attachments

          Activity

            People

            Assignee:
            duarte.meneses Duarte Meneses
            Reporter:
            duarte.meneses Duarte Meneses
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: