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

Validate that coverage measures are correct regarding line number and resource

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3
    • Component/s: Plugin API, Scanner
    • Labels:
      None

      Description

      Today it is possible to use the CoverageMeasureBuilder or NewCoverage to insert coverage information that is out of range regarding the line count of the file, on lines not strictly positive or on invalid resources (not source files).
      We should fail fast in these cases to avoid later issues.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.henry Julien Henry
              Reporter:
              henryju OLD - Julien HENRY
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: