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

Description of "Cross project duplication" is misleading

    XMLWordPrintable

    Details

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

      Description

      The current description of the "sonar.cpd.cross_project" property is misleading and can lead users to think that when set to false (which is the default), duplications will only be detected inside a project, including its (potential) sub-projects. Whereas when set to false, duplications are only detected inside a sub-project.

      So the description should be updated to:

      By default, SonarQube detects duplications at sub-project level. This means that a block duplicated on two sub-projects of the same project won't be reported. Setting this parameter to "true" allows to detect duplicates across sub-projects and more generally across projects. Note that activating this property will slightly increase each SonarQube analysis time.

        Attachments

          Activity

            People

            Assignee:
            jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
            Reporter:
            fabemn OLD - Fabrice Bellingard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: