Reputation: 83
Is there any configuration in PMD to prevent it from identifying package statements and import statements as duplicate code? Note that we are running PMD as a Sonar plugin.
Specifically, package declarations in multiple classes within the same package are detected as duplicate code!
Upvotes: 2
Views: 373