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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • dry-plugin
    • None

      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.

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

              Created:
              Updated:
              Resolved: