Back to Intellij Community

GroovyOverlyLongMethod

plugins/groovy/groovy-psi/resources/inspectionDescriptions/GroovyOverlyLongMethod.html

2025.3-rc-2274 B
Original Source

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.