Anand
Anand

Reputation: 83

PMD detecting package and import statements as duplicate code

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

Answers (0)

Related Questions