Overly complex method
Reports methods that have too high a cyclomatic complexity.
Cyclomatic complexity is basically a measurement of the number of branching points in a method. Methods with too high a cyclomatic complexity may be confusing and difficult to test.
Use the Method complexity limit field to specify the maximum acceptable cyclomatic complexity a method might have.
Method complexity limit
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3