Pattern: Too many methods
Issue: -
Checks the number of methods declared in each type. This includes the number of each scope (private
, package
, protected
and public
) as well as an overall total.
To configure the check with defaults:
<module name="MethodCount"/>
To configure the check to allow at most 30 methods per type:
<module name="MethodCount">
<property name="maxTotal" value="30"/>
</module>