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

Standard copy-paste detection should happen within a project, not only within a module

    XMLWordPrintable

    Details

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

      Description

      Currently, the standard detection mechanism allows to detect copy-paste inside a module, but not accros modules of the same project. For this, the user has to activate the "Cross-project Duplication" feature - which is in fact badly named.

      To clarify all this:

      • Standard CPD detection should occur inside a project, which implies to make detection happen accros multiple modules of the same project
      • Cross-project detection should occur between projects

      What's more, to better materialise this difference, there should probably be different metrics for this 2 different kind of duplications.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              logica_sqc LOGICA Software Quality Center
              Votes:
              26 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: