Groovy
Overly nested method
Warning
Code Style
Last modified: 03 December 2024Reports methods whose bodies are too deeply nested.
Methods with too much statement nesting may be confusing, and are a good sign that refactoring may be necessary.
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
GroovyOverlyNestedMethod
Use the Maximum nesting depth field to specify the maximum acceptable nesting depth a method might have.
Here you can find the description of settings available for the Overly nested method inspection, and the reference of their default values.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Groovy, 243.23126 |
Thanks for your feedback!
Was this page helpful?