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

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

        $this->_aStats[$sClassName]['sum']['cnn'] += $iCNN;
    }
public function appendClassTotalCNN ( $ sClassName , $ iCNN ) { if ( ! isset ( $ this -> _aStats [ $ sClassName ] [ 'sum' ] [ 'cnn' ] ) ) { $ this -> _aStats [ $ sClassName ] [ 'sum' ] [ 'cnn' ] = 0 ; } $ this -> _aStats [ $ sClassName ] [ 'sum' ] [ 'cnn' ] += $ iCNN ; }
To append total CCN for needed class

@param string $sClassName class name
@param int    $iCNN       new ccn value which needs to add
To append total CCN for needed class