library/MC_Metrics.php
public function appendClassTotalNPath($sClassName, $iNPath)
    {
        if (!isset($this->_aStats[$sClassName]['sum']['npath'])) {
            $this->_aStats[$sClassName]['sum']['npath'] = 0;
        }

        $this->_aStats[$sClassName]['sum']['npath'] += $iNPath;
    }
public function appendClassTotalNPath($sClassName, $iNPath)
    {
        if (!isset($this->_aStats[$sClassName]['sum']['npath'])) {
            $this->_aStats[$sClassName]['sum']['npath'] = 0;
        }

        $this->_aStats[$sClassName]['sum']['npath'] += $iNPath;
    }
public function appendClassTotalNPath ( $ sClassName , $ iNPath ) { if ( ! isset ( $ this -> _aStats [ $ sClassName ] [ 'sum' ] [ 'npath' ] ) ) { $ this -> _aStats [ $ sClassName ] [ 'sum' ] [ 'npath' ] = 0 ; } $ this -> _aStats [ $ sClassName ] [ 'sum' ] [ 'npath' ] += $ iNPath ; }
To append new value to class total NPath

@param string $sClassName class name
@param int    $iNPath     new value of NPath
To append new value to class total NPath