Documentation

CyclomaticComplexitySniff.php

Checks the cyclomatic complexity (McCabe) for functions.

The cyclomatic complexity (also called McCabe code metrics) indicates the complexity within a function by counting the different paths the function includes.

Tags
author

Johann-Peter Hartmann hartmann@mayflower.de

author

Greg Sherwood gsherwood@squiz.net

copyright

2007-2014 Mayflower GmbH

license

https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence

Interfaces, Classes and Traits

CyclomaticComplexitySniff

Search results