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

Need to be able to ignore/exclude files we don't care about in the results

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Component/s: dry-plugin
    • Labels:
      None
    • Environment:
      Hudson 1.343 and DRY plugin 1.13
    • Similar Issues:

      Description

      We need a way to exclude files from the summary that we don't care about. For example, we have a bunch of Test Code that is duplicated for every "device" we build. We would like to run CPD to improve the quality of our operational code, and therefore don't care about the results of test code. At least not now when it is masking the important stuff with over 1000 instances in test code. After we clean up all the operational code, then we can go back address test code. I'd like to be able to have DRY ignore (not display) certain files that match a pattern. Other plugins, like the Open Tasks plugin, have this feature already and it is very useful.

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          Wouldn't it be better to define the files to include/exclude in the CPD tool itself? All static analysis tools support these kind of filters.

          Show
          drulli Ulli Hafner added a comment - Wouldn't it be better to define the files to include/exclude in the CPD tool itself? All static analysis tools support these kind of filters.
          Hide
          drulli Ulli Hafner added a comment -

          This is already done in the maven cpd plugin,

          Show
          drulli Ulli Hafner added a comment - This is already done in the maven cpd plugin,

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              jmboulos jmboulos
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: