# Global Metrics

path: .metrics.halstead.level
old: 0.011895410167209068
new: 0.0873015873015873
path: .metrics.halstead.estimated_program_length
old: 1243.4590126456408
new: 91.35671671381672
path: .metrics.halstead.time
old: 106383.5147056508
new: 124.11761089034265
path: .metrics.halstead.length
old: 3047.0
new: 42.0
path: .metrics.halstead.bugs
old: 5.1401600077055765
new: 0.05696603865907049
path: .metrics.halstead.difficulty
old: 84.06603773584905
new: 11.454545454545457
path: .metrics.halstead.n1
old: 19.0
new: 14.0
path: .metrics.halstead.n2
old: 159.0
new: 11.0
path: .metrics.halstead.vocabulary
old: 178.0
new: 25.0
path: .metrics.halstead.volume
old: 22778.559764154612
new: 195.0419599705384
path: .metrics.halstead.effort
old: 1914903.2647017145
new: 2234.1169960261673
path: .metrics.halstead.N2
old: 1407.0
new: 18.0
path: .metrics.halstead.purity_ratio
old: 0.40809288239108654
new: 2.1751599217575412
path: .metrics.halstead.N1
old: 1640.0
new: 24.0
path: .metrics.mi.mi_sei
old: -39.90477745355891
new: 98.48362667990942
path: .metrics.mi.mi_visual_studio
old: 7.1752481862349216
new: 54.14292148472774
path: .metrics.mi.mi_original
old: 12.269674398461715
new: 92.58439573888444
path: .metrics.cognitive.sum
old: 0.0
new: 1.0
path: .metrics.cognitive.average
old: 0.0
new: 1.0
path: .metrics.nom.functions
old: 19.0
new: 1.0
path: .metrics.nom.total
old: 27.0
new: 1.0
path: .metrics.nom.closures
old: 8.0
new: 0.0
path: .metrics.loc.sloc
old: 504.0
new: 22.0
path: .metrics.loc.lloc
old: 167.0
new: 3.0
path: .metrics.loc.ploc
old: 405.0
new: 10.0
path: .metrics.loc.cloc
old: 21.0
new: 8.0
path: .metrics.loc.blank
old: 78.0
new: 4.0
path: .metrics.nargs.average
old: 1.0740740740740742
new: 2.0
path: .metrics.nargs.sum
old: 29.0
new: 2.0
path: .metrics.nexits.average
old: 0.2962962962962963
new: 1.0
path: .metrics.nexits.sum
old: 8.0
new: 1.0
path: .metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .metrics.cyclomatic.sum
old: 25.0
new: 4.0

# Spaces Data

## Minimal test - lines (12, 22)

path: .spaces[0].metrics.mi.mi_visual_studio
old: 7.9338828423237375
new: 60.956172990330586
path: .spaces[0].metrics.mi.mi_sei
old: -42.005512273059495
new: 74.98400569507133
path: .spaces[0].metrics.mi.mi_original
old: 13.566939660373592
new: 104.2350558134653
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.nargs.average
old: 1.0740740740740742
new: 2.0
path: .spaces[0].metrics.nargs.sum
old: 29.0
new: 2.0
path: .spaces[0].metrics.nexits.sum
old: 8.0
new: 1.0
path: .spaces[0].metrics.nexits.average
old: 0.2962962962962963
new: 1.0
path: .spaces[0].metrics.halstead.effort
old: 1968584.7142028096
new: 2237.003204101852
path: .spaces[0].metrics.halstead.length
old: 3015.0
new: 41.0
path: .spaces[0].metrics.halstead.n1
old: 19.0
new: 14.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 1165.0334263298105
new: 86.52224985768008
path: .spaces[0].metrics.halstead.level
old: 0.011334869837911364
new: 0.08403361344537814
path: .spaces[0].metrics.halstead.difficulty
old: 88.22333333333333
new: 11.9
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.38641241337638815
new: 2.1102987770165873
path: .spaces[0].metrics.halstead.vocabulary
old: 169.0
new: 24.0
path: .spaces[0].metrics.halstead.time
old: 109365.81745571164
new: 124.27795578343624
path: .spaces[0].metrics.halstead.N1
old: 1622.0
new: 24.0
path: .spaces[0].metrics.halstead.volume
old: 22313.651500390784
new: 187.9834625295674
path: .spaces[0].metrics.halstead.N2
old: 1393.0
new: 17.0
path: .spaces[0].metrics.halstead.n2
old: 150.0
new: 10.0
path: .spaces[0].metrics.halstead.bugs
old: 5.235781139055863
new: 0.05701509024127937
path: .spaces[0].metrics.loc.cloc
old: 11.0
new: 0.0
path: .spaces[0].metrics.loc.blank
old: 75.0
new: 2.0
path: .spaces[0].metrics.loc.ploc
old: 389.0
new: 9.0
path: .spaces[0].metrics.loc.lloc
old: 167.0
new: 3.0
path: .spaces[0].metrics.loc.sloc
old: 475.0
new: 11.0
path: .spaces[0].metrics.cyclomatic.average
old: 1.0
new: 3.0
path: .spaces[0].metrics.cyclomatic.sum
old: 24.0
new: 3.0
path: .spaces[0].metrics.nom.total
old: 27.0
new: 1.0
path: .spaces[0].metrics.nom.functions
old: 19.0
new: 1.0
path: .spaces[0].metrics.nom.closures
old: 8.0
new: 0.0

### Code

    nsresult nsQueryArrayElementAt::operator()(const nsIID& aIID,
                                               void** aResult) const {
      nsresult status = mArray ? mArray->QueryElementAt(mIndex, aIID, aResult)
                               : NS_ERROR_NULL_POINTER;

      if (mErrorPtr) {
        *mErrorPtr = status;
      }

      return status;
    }