library/MC_Metrics.php
public function updateClassMaxCrapIndex($sClassName, $iCrapIndex)
    {
        if (!isset($this->_aStats[$sClassName]['max']['crap'])
            || $this->_aStats[$sClassName]['max']['crap'] < $iCrapIndex
        ) {
            $this->_aStats[$sClassName]['max']['crap'] = $iCrapIndex;
        }
    }
public function updateClassMaxCrapIndex($sClassName, $iCrapIndex)
    {
        if (!isset($this->_aStats[$sClassName]['max']['crap'])
            || $this->_aStats[$sClassName]['max']['crap'] < $iCrapIndex
        ) {
            $this->_aStats[$sClassName]['max']['crap'] = $iCrapIndex;
        }
    }
public function updateClassMaxCrapIndex ( $ sClassName , $ iCrapIndex ) { if ( ! isset ( $ this -> _aStats [ $ sClassName ] [ 'max' ] [ 'crap' ] ) || $ this -> _aStats [ $ sClassName ] [ 'max' ] [ 'crap' ] < $ iCrapIndex ) { $ this -> _aStats [ $ sClassName ] [ 'max' ] [ 'crap' ] = $ iCrapIndex ; } }
To update class value of Crap index with new one if is bigger then older

@param string $sClassName class name
@param int    $iCrapIndex value of Crap index
To update class value of Crap index with new one if is bigger then older