Inspectopedia
 
2024.3

Overly nested method

Warning
Code Style
Last modified: 03 December 2024

Reports 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.

Use the Maximum nesting depth field to specify the maximum acceptable nesting depth a method might have.