resources.report.rules.pmd.GodClass.html Maven / Gradle / Ivy
GodClass
GodClass
The God Class rule detects the God Class design flaw using metrics. God classes do too many things, are very big and overly complex. They should be split apart to be more object-oriented. The rule uses the detection strategy described in “Object-Oriented Metrics in Practice”. The violations are reported against the entire class. See also the references: Michele Lanza and Radu Marinescu. Object-Oriented Metrics in Practice: Using Software Metrics to Characterize, Evaluate, and Improve the Design of Object-Oriented Systems. Springer, Berlin, 1 edition, October 2006. Page 80.
This rule is defined by the following Java class: net.sourceforge.pmd.lang.java.rule.design.GodClassRule