Overly long method
Reports methods that are too long.
Methods that are too long may be confusing, and are a good sign that refactoring is necessary.
Use the Maximum statements per method field to specify the maximum acceptable number of non-comment source statements a method might have.
Inspection options
Option | Type | Default |
---|---|---|
Maximum statements per method | Number | 30 |
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Groovy, 233.SNAPSHOT |
Last modified: 13 July 2023