Inspectopedia
 
2024.3

Class/module with too many methods

Warning
New
Last modified: 03 December 2024

Reports classes/modules with too many methods. This usually means they are trying to 'do too much', and may need to be refactored into multiple smaller components.

Use the Number of methods field to specify the maximum number of methods a class/module is allowed to have.

Use the Ignore test classes checkbox to ignore test classes.

Inspired by 'Reek Code Smells'