Andreas Dangel - 2016-08-12
  • labels: --> java, java-coupling
  • summary: ExcessiveImports filtering --> [java] ExcessiveImports: new property to filter package domains
  • Description has changed:

Diff:

--- old
+++ new
@@ -1,3 +1,5 @@
-Would be great to have the ability to set the rule to ignore specific package domains. For example, we have a project which makes extensive use of java built in formmating tools. Therefore, I would like to ignore all imports from java. Or from org.quartz (job scheduling).. This would allow me to set the limit much lower then thirty to reflect actual code we utilize.
+Rule: [ExcessiveImports](http://pmd.github.io/latest/pmd-java/rules/java/coupling.html#ExcessiveImports)
+
+Would be great to have the ability to set the rule to ignore specific package domains. For example, we have a project which makes extensive use of java built in formatting tools. Therefore, I would like to ignore all imports from java. Or from org.quartz (job scheduling). This would allow me to set the limit much lower then thirty to reflect actual code we utilize.

 Or change the filter to be an include only, so I could specify only count imports that begin with com.timspear