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

The Duplication exclusion mechanism is not symmetric when using the cross-project duplication engine

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Duplications
    • Labels:
      None

      Description

      Let's imagine the following scenario:

      • Project A containing two duplicated source files A1 and A2
      • Project B containing a source file B1 duplicating A1 and so also A2
      • Define a duplication exclusion pattern on project A to exclude the A2 source file

      SonarQube generates the following issues:

      • Project A:
        • A1 duplicates B1 -> OK
      • Project B:
        • B1 duplicates A1 -> OK
        • B1 duplicates A2 -> KO

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            freddy.mallet Freddy Mallet (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: