Root.Smell.ClassSmell.ClassSize.ClassMethods |
Parent | Index |
Sibling aspects | ClassConstants | ClassInstanceVariables | ClassLength |
Number of class methods a class has.
Taste | Meaning | Values |
---|---|---|
max_methods |
Represents the max number of methods for a class | 3 |
* bold denotes default value
This aspect does not have any sub aspects.
Refactoring these classes spares developers from the need to remember a large number of methods.
Usually splitting up those classes into other classes solves the problem.