Overly nested method

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.