# Global Metrics

path: .metrics.halstead.volume
old: 802.5364479396827
new: 754.8090502105775
path: .metrics.halstead.n2
old: 35.0
new: 24.0
path: .metrics.halstead.estimated_program_length
old: 208.05423060605463
new: 153.0586500259616
path: .metrics.halstead.N1
old: 93.0
new: 81.0
path: .metrics.halstead.length
old: 147.0
new: 146.0
path: .metrics.halstead.bugs
old: 0.10476448322022214
new: 0.17728516176763878
path: .metrics.halstead.time
old: 309.54977277673476
new: 681.4248369956603
path: .metrics.halstead.difficulty
old: 6.942857142857143
new: 16.25
path: .metrics.halstead.purity_ratio
old: 1.4153349020820043
new: 1.0483469179860383
path: .metrics.halstead.vocabulary
old: 44.0
new: 36.0
path: .metrics.halstead.effort
old: 5571.8959099812255
new: 12265.647065921885
path: .metrics.halstead.N2
old: 54.0
new: 65.0
path: .metrics.halstead.n1
old: 9.0
new: 12.0
path: .metrics.halstead.level
old: 0.14403292181069957
new: 0.06153846153846154
path: .metrics.nargs.average
old: 0.5
new: 2.0
path: .metrics.nargs.sum
old: 2.0
new: 6.0
path: .metrics.cognitive.sum
old: 0.0
new: 3.0
path: .metrics.cognitive.average
old: 0.0
new: 1.0
path: .metrics.loc.cloc
old: 3.0
new: 43.0
path: .metrics.loc.lloc
old: 5.0
new: 9.0
path: .metrics.loc.sloc
old: 54.0
new: 87.0
path: .metrics.loc.blank
old: 12.0
new: 11.0
path: .metrics.loc.ploc
old: 39.0
new: 33.0
path: .metrics.mi.mi_original
old: 69.53201663143462
new: 62.58467149890619
path: .metrics.mi.mi_sei
old: 43.383416722305526
new: 59.61372219772402
path: .metrics.mi.mi_visual_studio
old: 40.66199803007872
new: 36.59922309877555
path: .metrics.cyclomatic.average
old: 1.0
new: 1.75
path: .metrics.cyclomatic.sum
old: 9.0
new: 7.0
path: .metrics.nexits.average
old: 0.5
new: 0.0
path: .metrics.nexits.sum
old: 2.0
new: 0.0
path: .metrics.nom.total
old: 4.0
new: 3.0
path: .metrics.nom.functions
old: 4.0
new: 3.0

# Spaces Data

## Minimal test - lines (37, 57)

path: .spaces[0].metrics.nom.functions
old: 4.0
new: 1.0
path: .spaces[0].metrics.nom.total
old: 4.0
new: 1.0
path: .spaces[0].metrics.nexits.sum
old: 2.0
new: 0.0
path: .spaces[0].metrics.nexits.average
old: 0.5
new: 0.0
path: .spaces[0].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[0].metrics.cognitive.average
old: 0.0
new: 1.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 182.10941063497395
new: 91.8226398830014
path: .spaces[0].metrics.halstead.N2
old: 49.0
new: 22.0
path: .spaces[0].metrics.halstead.length
old: 142.0
new: 52.0
path: .spaces[0].metrics.halstead.N1
old: 93.0
new: 30.0
path: .spaces[0].metrics.halstead.n1
old: 9.0
new: 10.0
path: .spaces[0].metrics.halstead.n2
old: 31.0
new: 15.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.2824606382744643
new: 1.7658199977500273
path: .spaces[0].metrics.halstead.volume
old: 755.7137894740055
new: 241.48052186828568
path: .spaces[0].metrics.halstead.effort
old: 5375.319050936071
new: 1770.8571603674282
path: .spaces[0].metrics.halstead.time
old: 298.62883616311507
new: 98.380953353746
path: .spaces[0].metrics.halstead.bugs
old: 0.10228569721680436
new: 0.04879040612953874
path: .spaces[0].metrics.halstead.difficulty
old: 7.112903225806452
new: 7.333333333333333
path: .spaces[0].metrics.halstead.level
old: 0.1405895691609977
new: 0.13636363636363638
path: .spaces[0].metrics.halstead.vocabulary
old: 40.0
new: 25.0
path: .spaces[0].metrics.loc.cloc
old: 1.0
new: 7.0
path: .spaces[0].metrics.loc.sloc
old: 44.0
new: 21.0
path: .spaces[0].metrics.loc.blank
old: 10.0
new: 3.0
path: .spaces[0].metrics.loc.ploc
old: 33.0
new: 11.0
path: .spaces[0].metrics.loc.lloc
old: 5.0
new: 3.0
path: .spaces[0].metrics.mi.mi_original
old: 73.39228179096412
new: 92.68743467061978
path: .spaces[0].metrics.mi.mi_visual_studio
old: 42.91946303565153
new: 54.20317816995309
path: .spaces[0].metrics.mi.mi_sei
old: 42.56800222674372
new: 97.21502259806596
path: .spaces[0].metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .spaces[0].metrics.cyclomatic.sum
old: 8.0
new: 2.0
path: .spaces[0].metrics.nargs.average
old: 0.5
new: 2.0

### Code

    void  // nsresult
    Test02_Raw00(nsISupports* aDOMNode, nsString* aResult)
    // m144, w66
    {
      // -- the following code is assumed, but is commented out so we compare only
      //		 the relevent generated code

      //		if ( !aDOMNode )
      //			return NS_ERROR_NULL_POINTER;

      nsINode* node = 0;
      nsresult status =
          aDOMNode->QueryInterface(NS_GET_IID(nsINode), (void**)&node);
      if (NS_SUCCEEDED(status)) {
        node->GetNodeName(*aResult);
      }

      NS_IF_RELEASE(node);

      //		return status;
    }