
org.sonar.l10n.pmd.rules.pmd.LoosePackageCoupling.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-pmd-plugin Show documentation
Show all versions of sonar-pmd-plugin Show documentation
Sonar-PMD is a plugin that provides coding rules from PMD.
Avoid using classes from the configured package hierarchy outside of the package hierarchy,
except when using one of the configured allowed classes. Example:
package some.package;
import some.other.package.subpackage.subsubpackage.DontUseThisClass;
public class Bar {
DontUseThisClass boo = new DontUseThisClass();
}
This rule is deprecated, use {rule:java:ArchitecturalConstraint} instead.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy