Inspectopedia
 
2024.3

Overly complex method

Warning
Performance
Last modified: 03 December 2024

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.