Is there any configuration in PMD to prevent it from identifying package statements and import statements as duplicate code? Thanks in advance.
I don't see anything like this - there are a couple of options already for java: http://pmd.sourceforge.net/pmd-5.2.3/usage/cpd-usage.html
Already existing options:
A new option called ignoreImports would fit into this list.
Could you please create a feature request for this under "Issues"?
Log in to post a comment.
Is there any configuration in PMD to prevent it from identifying package statements and import statements as duplicate code? Thanks in advance.
I don't see anything like this - there are a couple of options already for java:
http://pmd.sourceforge.net/pmd-5.2.3/usage/cpd-usage.html
Already existing options:
A new option called ignoreImports would fit into this list.
Could you please create a feature request for this under "Issues"?