# Global Metrics

path: .metrics.mi.mi_sei
old: 101.77808776250576
new: 6.559000869045018
path: .metrics.mi.mi_original
old: 90.28880339770932
new: 37.45814719403698
path: .metrics.mi.mi_visual_studio
old: 52.80046982322182
new: 21.905349236278937
path: .metrics.halstead.n2
old: 8.0
new: 92.0
path: .metrics.halstead.level
old: 0.2077922077922078
new: 0.022579457602159778
path: .metrics.halstead.N2
old: 11.0
new: 281.0
path: .metrics.halstead.bugs
old: 0.017940158266448156
new: 1.16004839544295
path: .metrics.halstead.effort
old: 394.8401308186859
new: 205303.35363461383
path: .metrics.halstead.vocabulary
old: 15.0
new: 121.0
path: .metrics.halstead.estimated_program_length
old: 43.65148445440323
new: 741.0491488159448
path: .metrics.halstead.N1
old: 10.0
new: 389.0
path: .metrics.halstead.n1
old: 7.0
new: 29.0
path: .metrics.halstead.time
old: 21.935562823260327
new: 11405.74186858966
path: .metrics.halstead.volume
old: 82.0447025077789
new: 4635.638368973979
path: .metrics.halstead.length
old: 21.0
new: 670.0
path: .metrics.halstead.difficulty
old: 4.8125
new: 44.28804347826087
path: .metrics.halstead.purity_ratio
old: 2.0786421168763445
new: 1.10604350569544
path: .metrics.nargs.sum
old: 0.0
new: 11.0
path: .metrics.nargs.average
old: null
new: 1.2222222222222223
path: .metrics.loc.blank
old: 3.0
new: 33.0
path: .metrics.loc.lloc
old: 0.0
new: 35.0
path: .metrics.loc.ploc
old: 10.0
new: 125.0
path: .metrics.loc.cloc
old: 20.0
new: 22.0
path: .metrics.loc.sloc
old: 33.0
new: 180.0
path: .metrics.cyclomatic.average
old: 1.0
new: 1.8461538461538465
path: .metrics.cyclomatic.sum
old: 5.0
new: 24.0
path: .metrics.cognitive.sum
old: 0.0
new: 12.0
path: .metrics.cognitive.average
old: null
new: 1.3333333333333333
path: .metrics.nom.functions
old: 0.0
new: 9.0
path: .metrics.nom.total
old: 0.0
new: 9.0
path: .metrics.nexits.sum
old: 0.0
new: 6.0
path: .metrics.nexits.average
old: null
new: 0.6666666666666666

# Spaces Data

## Minimal test - lines (22, 25)

path: .spaces[0].spaces[0].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nexits.average
old: null
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.sloc
old: 8.0
new: 4.0
path: .spaces[0].spaces[0].metrics.loc.blank
old: 3.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.lloc
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].metrics.loc.ploc
old: 5.0
new: 4.0
path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 90.63917031068468
new: 103.6770474254506
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 115.08638902797952
new: 124.264709087509
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 67.30198188770733
new: 72.66942051901111
path: .spaces[0].spaces[0].metrics.cyclomatic.sum
old: 3.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nargs.sum
old: 0.0
new: 2.0
path: .spaces[0].spaces[0].metrics.nargs.average
old: null
new: 2.0
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 62.907475208398566
new: 101.95026032264605
path: .spaces[0].spaces[0].metrics.halstead.effort
old: 293.56821763919334
new: 550.5314057422887
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 4.666666666666667
new: 5.4
path: .spaces[0].spaces[0].metrics.halstead.n2
old: 6.0
new: 10.0
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 2.068309379925304
new: 2.572858581743935
path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 13.0
new: 19.0
path: .spaces[0].spaces[0].metrics.halstead.n1
old: 7.0
new: 9.0
path: .spaces[0].spaces[0].metrics.halstead.length
old: 17.0
new: 24.0
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 8.0
new: 12.0
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.014723738740209763
new: 0.022390655664982138
path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 35.161259458730164
new: 61.74860596185444
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.21428571428571427
new: 0.18518518518518515
path: .spaces[0].spaces[0].metrics.halstead.time
old: 16.30934542439963
new: 30.58507809679382
path: .spaces[0].spaces[0].metrics.halstead.N1
old: 9.0
new: 12.0
path: .spaces[0].spaces[0].metrics.cognitive.average
old: null
new: 0.0

### Code

      NameTableKey(const nsDependentCString aNameArray[], const nsCString* aKeyStr)
          : mNameArray(aNameArray), mIsUnichar(false) {
        mKeyStr.m1b = aKeyStr;
      }

## Minimal test - lines (21, 38)

path: .spaces[0].metrics.nexits.average
old: null
new: 0.0
path: .spaces[0].metrics.loc.sloc
old: 10.0
new: 18.0
path: .spaces[0].metrics.loc.cloc
old: 1.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 7.0
new: 16.0
path: .spaces[0].metrics.loc.lloc
old: 0.0
new: 2.0
path: .spaces[0].metrics.mi.mi_sei
old: 107.67263077716828
new: 59.779620199998334
path: .spaces[0].metrics.mi.mi_original
old: 110.51497835216402
new: 93.6961788754089
path: .spaces[0].metrics.mi.mi_visual_studio
old: 64.62864231120703
new: 54.79308706164263
path: .spaces[0].metrics.cyclomatic.sum
old: 4.0
new: 3.0
path: .spaces[0].metrics.nom.functions
old: 0.0
new: 2.0
path: .spaces[0].metrics.nom.total
old: 0.0
new: 2.0
path: .spaces[0].metrics.nargs.average
old: null
new: 2.0
path: .spaces[0].metrics.nargs.sum
old: 0.0
new: 4.0
path: .spaces[0].metrics.halstead.vocabulary
old: 14.0
new: 23.0
path: .spaces[0].metrics.halstead.bugs
old: 0.015773875094978646
new: 0.0826479546631052
path: .spaces[0].metrics.halstead.time
old: 18.08493587977362
new: 216.89899635452855
path: .spaces[0].metrics.halstead.difficulty
old: 4.5
new: 12.692307692307692
path: .spaces[0].metrics.halstead.purity_ratio
old: 2.0685773109898133
new: 1.195955842422174
path: .spaces[0].metrics.halstead.n2
old: 7.0
new: 13.0
path: .spaces[0].metrics.halstead.length
old: 19.0
new: 68.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 39.302968908806456
new: 81.32499728470782
path: .spaces[0].metrics.halstead.volume
old: 72.33974351909448
new: 307.60221301187687
path: .spaces[0].metrics.halstead.effort
old: 325.52884583592515
new: 3904.181934381514
path: .spaces[0].metrics.halstead.N2
old: 9.0
new: 33.0
path: .spaces[0].metrics.halstead.level
old: 0.2222222222222222
new: 0.0787878787878788
path: .spaces[0].metrics.halstead.N1
old: 10.0
new: 35.0
path: .spaces[0].metrics.halstead.n1
old: 7.0
new: 10.0
path: .spaces[0].metrics.cognitive.average
old: null
new: 0.0

### Code

    struct NameTableKey {
      NameTableKey(const nsDependentCString aNameArray[], const nsCString* aKeyStr)
          : mNameArray(aNameArray), mIsUnichar(false) {
        mKeyStr.m1b = aKeyStr;
      }

      NameTableKey(const nsDependentCString aNameArray[], const nsString* aKeyStr)
          : mNameArray(aNameArray), mIsUnichar(true) {
        mKeyStr.m2b = aKeyStr;
      }

      const nsDependentCString* mNameArray;
      union {
        const nsCString* m1b;
        const nsString* m2b;
      } mKeyStr;
      bool mIsUnichar;
    };