private function _checkNPathComplexity() {
		if ($this->_isActive('npathComplexity')) {
			$warningLevel = $this->_config->getTestProperty('npathComplexity', 'warningLevel');
			$errorLevel = $this->_config->getTestProperty('npathComplexity', 'errorLevel');
			$msg = $this->_getMessage('NPATH_COMPLEXITY', $this->_currentFunctionName, $this->_npathComplexity, $warningLevel);

			// Direct call to the reporter to allow different error levels for a single test.
			if ($this->_npathComplexity > $warningLevel) {
				$this->_writeError('npathComplexity', $msg, $this->_functionStartLine, WARNING);
			} else if ($this->_npathComplexity > $errorLevel) {
				$this->_writeError('npathComplexity', $msg, $this->_functionStartLine, ERROR);
			}
		}
	}
private function _checkNPathComplexity() {
		if ($this->_isActive('npathComplexity')) {
			$warningLevel = $this->_config->getTestProperty('npathComplexity', 'warningLevel');
			$errorLevel = $this->_config->getTestProperty('npathComplexity', 'errorLevel');
			$msg = $this->_getMessage('NPATH_COMPLEXITY', $this->_currentFunctionName, $this->_npathComplexity, $warningLevel);

			// Direct call to the reporter to allow different error levels for a single test.
			if ($this->_npathComplexity > $warningLevel) {
				$this->_writeError('npathComplexity', $msg, $this->_functionStartLine, WARNING);
			} else if ($this->_npathComplexity > $errorLevel) {
				$this->_writeError('npathComplexity', $msg, $this->_functionStartLine, ERROR);
			}
		}
	}
private function _checkNPathComplexity ( ) { if ( $ this -> _isActive ( 'npathComplexity' ) ) { $ warningLevel = $ this -> _config -> getTestProperty ( 'npathComplexity' , 'warningLevel' ) ; $ errorLevel = $ this -> _config -> getTestProperty ( 'npathComplexity' , 'errorLevel' ) ; $ msg = $ this -> _getMessage ( 'NPATH_COMPLEXITY' , $ this -> _currentFunctionName , $ this -> _npathComplexity , $ warningLevel ) ; // Direct call to the reporter to allow different error levels for a single test. if ( $ this -> _npathComplexity > $ warningLevel ) { $ this -> _writeError ( 'npathComplexity' , $ msg , $ this -> _functionStartLine , WARNING ) ; } else if ( $ this -> _npathComplexity > $ errorLevel ) { $ this -> _writeError ( 'npathComplexity' , $ msg , $ this -> _functionStartLine , ERROR ) ; } } }
Check the NPath complexity of a function.

Called by _processFunctionStop()
Check the NPath complexity of a function .