Inspectopedia Help

Function has too high cyclomatic complexity

Reports the methods that have high cyclomatic complexity and can probably be simplified.

See Cyclomatic complexity (wikipedia.org) for details.

Inspection options

Here you can find the description of settings available for the Function has too high cyclomatic complexity inspection, and the reference of their default values.

Cyclomatic complexity limit

20

Inspection Details

By default bundled with:

PhpStorm 2024.1, Qodana for PHP 2024.1,

Can be installed with plugin:

PHP Architecture, 241.SNAPSHOT

Last modified: 29 April 2024