Overly nested method
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.
Maximum nesting depth
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3