Overly complex method
Reports methods that have too many branch points.
A branch point is one of the following:
expression with one or more
switchblock with non-default branches
Methods with too high cyclomatic complexity may be confusing and hard to test.
Use the Method complexity limit field to specify the maximum allowed cyclomatic complexity for a method.
Method complexity limit
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3