# Global Metrics

path: .metrics.nom.functions
old: 13.0
new: 1.0
path: .metrics.nom.total
old: 13.0
new: 1.0
path: .metrics.cyclomatic.average
old: 8.933333333333334
new: 1.0
path: .metrics.cyclomatic.sum
old: 134.0
new: 2.0
path: .metrics.cognitive.sum
old: 296.0
new: 0.0
path: .metrics.cognitive.average
old: 22.76923076923077
new: 0.0
path: .metrics.loc.cloc
old: 108.0
new: 5.0
path: .metrics.loc.ploc
old: 864.0
new: 11.0
path: .metrics.loc.lloc
old: 426.0
new: 3.0
path: .metrics.loc.blank
old: 231.0
new: 4.0
path: .metrics.loc.sloc
old: 1203.0
new: 20.0
path: .metrics.halstead.n1
old: 43.0
new: 11.0
path: .metrics.halstead.vocabulary
old: 429.0
new: 26.0
path: .metrics.halstead.N1
old: 2006.0
new: 26.0
path: .metrics.halstead.level
old: 0.010642257481975712
new: 0.12987012987012986
path: .metrics.halstead.estimated_program_length
old: 3550.017800837669
new: 96.65710673913804
path: .metrics.halstead.volume
old: 32294.67136188582
new: 220.92066675263132
path: .metrics.halstead.difficulty
old: 93.96502590673576
new: 7.7
path: .metrics.halstead.time
old: 168587.20173161768
new: 94.5049518886256
path: .metrics.halstead.purity_ratio
old: 0.961282913847189
new: 2.0565341859391073
path: .metrics.halstead.length
old: 3693.0
new: 47.0
path: .metrics.halstead.N2
old: 1687.0
new: 21.0
path: .metrics.halstead.bugs
old: 6.986775952249724
new: 0.04750034809387118
path: .metrics.halstead.effort
old: 3034569.631169118
new: 1701.0891339952611
path: .metrics.halstead.n2
old: 386.0
new: 15.0
path: .metrics.mi.mi_visual_studio
old: 0.0
new: 54.93599890075976
path: .metrics.mi.mi_original
old: -28.709513314671383
new: 93.9405581202992
path: .metrics.mi.mi_sei
old: -81.09166057545293
new: 95.00175858846576
path: .metrics.nargs.average
old: 2.3076923076923075
new: 3.0
path: .metrics.nargs.sum
old: 30.0
new: 3.0
path: .metrics.nexits.average
old: 1.0769230769230769
new: 1.0
path: .metrics.nexits.sum
old: 14.0
new: 1.0

# Spaces Data

## Minimal test - lines (14, 20)

path: .spaces[0].metrics.cognitive.sum
old: 2.0
new: 0.0
path: .spaces[0].metrics.cognitive.average
old: 2.0
new: 0.0
path: .spaces[0].metrics.mi.mi_sei
old: 60.13328331764413
new: 87.02091682937993
path: .spaces[0].metrics.mi.mi_original
old: 93.94131946827314
new: 112.71955912580437
path: .spaces[0].metrics.mi.mi_visual_studio
old: 54.93644413349306
new: 65.91787083380372
path: .spaces[0].metrics.loc.blank
old: 4.0
new: 1.0
path: .spaces[0].metrics.loc.ploc
old: 14.0
new: 6.0
path: .spaces[0].metrics.loc.lloc
old: 7.0
new: 2.0
path: .spaces[0].metrics.loc.sloc
old: 18.0
new: 7.0
path: .spaces[0].metrics.cyclomatic.average
old: 3.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 3.0
new: 1.0
path: .spaces[0].metrics.nargs.sum
old: 1.0
new: 3.0
path: .spaces[0].metrics.nargs.average
old: 1.0
new: 3.0
path: .spaces[0].metrics.halstead.n1
old: 9.0
new: 11.0
path: .spaces[0].metrics.halstead.difficulty
old: 9.3
new: 9.166666666666666
path: .spaces[0].metrics.halstead.vocabulary
old: 24.0
new: 20.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 87.13268394710859
new: 66.58307281799108
path: .spaces[0].metrics.halstead.level
old: 0.1075268817204301
new: 0.1090909090909091
path: .spaces[0].metrics.halstead.n2
old: 15.0
new: 9.0
path: .spaces[0].metrics.halstead.volume
old: 293.437600046154
new: 164.2332676057198
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.3614481866735717
new: 1.752186126789239
path: .spaces[0].metrics.halstead.N1
old: 33.0
new: 23.0
path: .spaces[0].metrics.halstead.effort
old: 2728.969680429232
new: 1505.471619719098
path: .spaces[0].metrics.halstead.N2
old: 31.0
new: 15.0
path: .spaces[0].metrics.halstead.bugs
old: 0.0650945384989549
new: 0.04378517876617066
path: .spaces[0].metrics.halstead.length
old: 64.0
new: 38.0
path: .spaces[0].metrics.halstead.time
old: 151.6094266905129
new: 83.63731220661656

### Code

    nsVersionComparatorImpl::Compare(const nsACString& aStr1,
                                     const nsACString& aStr2, int32_t* aResult) {
      *aResult = mozilla::CompareVersions(PromiseFlatCString(aStr1).get(),
                                          PromiseFlatCString(aStr2).get());

      return NS_OK;
    }