Class GodClassRule

All Implemented Interfaces:
AstVisitor, JavaVisitor, Rule, PropertySource

public class GodClassRule extends AbstractJavaRulechainRule
The God Class Rule detects the God Class design flaw using metrics. A god class does too many things, is very big and complex. It should be split apart to be more object-oriented. The rule uses the detection strategy described in [1]. The violations are reported against the entire class.

[1] Lanza. Object-Oriented Metrics in Practice. Page 80.

Since:
5.0