Inspectopedia
 
2024.3

Overly nested method

Warning
New
Last modified: 03 December 2024

Reports methods whose body contain too deeply nested statements.

Methods with too deep statement nesting may be confusing and are a good sign that refactoring may be necessary.

Use the Nesting depth limit field to specify the maximum allowed nesting depth for a method.