HumHub Documentation (unofficial)

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/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence

Table of Contents

Classes

CyclomaticComplexitySniff

        
On this page

Search results