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

Ghost duplication when moving files between modules

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.2
    • Fix Version/s: 5.4
    • Component/s: Duplications, Scanner
    • Labels:
      None

      Description

      Here's a corner case regarding duplication detection:
      When you move some files from one Maven module (let's say module A) to another (let's say module B), the code you just moved is marked as duplicated (in module B) against no-longer-existing code (in module A). You have to rerun another analysis to remove this discrepancy.
      It momentarily adds new duplication and new issues and may make quality gate fail for no valid reason.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              henryju OLD - Julien HENRY
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: