Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 2.53 KB

File metadata and controls

61 lines (42 loc) · 2.53 KB
Root.Smell.ClassSmell.ClassSize.ClassMethods Parent Index
Sibling aspects ClassConstants ClassInstanceVariables ClassLength

ClassMethods

Number of class methods a class has.

Tastes

Taste Meaning Values
max_methods Represents the max number of methods for a class 3

* bold denotes default value

Subaspects

This aspect does not have any sub aspects.

Example

Importance

Refactoring these classes spares developers from the need to remember a large number of methods.

How to fix this

Usually splitting up those classes into other classes solves the problem.