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

Scanner warns that it wasn't able to detected changed lines on files with lines removed only

    XMLWordPrintable

    Details

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

      Description

      If a file was changed and the changes done were just the removal of lines (nothing added), the scanner will log the following as a warning:
      File '[name]' was detected as changed but without having changed lines

      We should only log this if the file was detected as changed and the SCM plugin wasn't able to determine what exactly was changed in the file.

        Attachments

          Issue Links

            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: