Uploaded image for project: 'SonarPHP'
  1. SonarPHP
  2. SONARPHP-482

Ignore data of coverage report with invalid lines

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: None
    • Labels:
      None

      Description

      It has been observed reports containing inconsistent data such as a line number with a value = 0 :

      <line num="0" type="stmt" count="0"/>
      

      This makes the Sensor failing to import data and it looks like there is a bug in PHP Plugin while the problem is in the report itself.

      This behaviour happens with SonarQube from version 5.1 (see the linked ticket).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              elena.vilchik Elena Vilchik
              Reporter:
              alexandre.gigleux Alexandre Gigleux
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: