Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17958

Code duplication pairs not correcty mapped. A in B is correctly shown, but B in A stays empty. Simian

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: dry-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      I'm using the DRY plugin to display duplicated code found with Simian.

      The overview of all found code duplication pairs is working correctly (see 1).
      The first occurrence of a code duplication pair A - B is correctly displayed (see 2) however the second occurrence (see 3) B - A is empty.

      Solutions:
      1. Either file B should be completely removed from overview "1"
      or
      2. Should correctly display the link to file A

      I checked https://issues.jenkins-ci.org/browse/JENKINS-16688 and it seems to be a similar issue. This is related to "■If a duplication is in two files, then on the left only one file is shown" which I think might be the best solution.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              drulli Ulli Hafner
              Reporter:
              patricks Patrick S
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: