BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PHP_CodeSniffer\Standards\Generic\Sniffs\Metrics Namespace Reference

Classes

class  CyclomaticComplexitySniff
 
class  NestingLevelSniff
 

Detailed Description

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.

Author
Johann-Peter Hartmann hartm.nosp@m.ann@.nosp@m.mayfl.nosp@m.ower.nosp@m..de
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Checks the nesting level for methods.

Author
Johann-Peter Hartmann hartm.nosp@m.ann@.nosp@m.mayfl.nosp@m.ower.nosp@m..de
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t