# Global Metrics

path: .metrics.cognitive.average
old: 0.85
new: 0.5
path: .metrics.cognitive.sum
old: 17.0
new: 7.0
path: .metrics.mi.mi_visual_studio
old: 14.64279808497339
new: 20.40297112751625
path: .metrics.mi.mi_original
old: 25.039184725304494
new: 34.88908062805278
path: .metrics.mi.mi_sei
old: -3.502028679237455
new: -10.155338782826892
path: .metrics.nom.total
old: 20.0
new: 14.0
path: .metrics.nom.functions
old: 20.0
new: 14.0
path: .metrics.halstead.estimated_program_length
old: 808.2415647232904
new: 800.8613223163449
path: .metrics.halstead.volume
old: 4992.903515063231
new: 6279.0
path: .metrics.halstead.difficulty
old: 45.87755102040816
new: 53.33168316831683
path: .metrics.halstead.level
old: 0.02179715302491103
new: 0.01875058015408893
path: .metrics.halstead.N1
old: 430.0
new: 498.0
path: .metrics.halstead.N2
old: 281.0
new: 399.0
path: .metrics.halstead.effort
old: 229062.1857522886
new: 334869.63861386135
path: .metrics.halstead.bugs
old: 1.2479035273215904
new: 1.6074196049740512
path: .metrics.halstead.purity_ratio
old: 1.1367673202859216
new: 0.8928219869747435
path: .metrics.halstead.vocabulary
old: 130.0
new: 128.0
path: .metrics.halstead.n1
old: 32.0
new: 27.0
path: .metrics.halstead.length
old: 711.0
new: 897.0
path: .metrics.halstead.n2
old: 98.0
new: 101.0
path: .metrics.halstead.time
old: 12725.676986238255
new: 18603.868811881184
path: .metrics.nexits.sum
old: 10.0
new: 15.0
path: .metrics.nexits.average
old: 0.5
new: 1.0714285714285714
path: .metrics.loc.cloc
old: 58.0
new: 5.0
path: .metrics.loc.ploc
old: 182.0
new: 164.0
path: .metrics.loc.blank
old: 53.0
new: 17.0
path: .metrics.loc.lloc
old: 54.0
new: 44.0
path: .metrics.loc.sloc
old: 293.0
new: 186.0
path: .metrics.cyclomatic.sum
old: 42.0
new: 26.0
path: .metrics.cyclomatic.average
old: 1.5555555555555556
new: 1.7333333333333334
path: .metrics.nargs.sum
old: 13.0
new: 76.0
path: .metrics.nargs.average
old: 0.65
new: 5.428571428571429

# Spaces Data

## Minimal test - lines (13, 20)

path: .spaces[0].metrics.nexits.sum
old: 10.0
new: 1.0
path: .spaces[0].metrics.nexits.average
old: 0.5
new: 1.0
path: .spaces[0].metrics.nargs.average
old: 0.65
new: 0.0
path: .spaces[0].metrics.nargs.sum
old: 13.0
new: 0.0
path: .spaces[0].metrics.halstead.N1
old: 424.0
new: 23.0
path: .spaces[0].metrics.halstead.N2
old: 269.0
new: 14.0
path: .spaces[0].metrics.halstead.level
old: 0.02067843866171004
new: 0.10714285714285714
path: .spaces[0].metrics.halstead.n2
old: 89.0
new: 9.0
path: .spaces[0].metrics.halstead.difficulty
old: 48.359550561797754
new: 9.333333333333334
path: .spaces[0].metrics.halstead.time
old: 12881.83498729606
new: 84.26742314812586
path: .spaces[0].metrics.halstead.volume
old: 4794.772223431294
new: 162.51574464281416
path: .spaces[0].metrics.halstead.estimated_program_length
old: 736.3402753560094
new: 71.54887502163469
path: .spaces[0].metrics.halstead.length
old: 693.0
new: 37.0
path: .spaces[0].metrics.halstead.effort
old: 231873.0297713291
new: 1516.8136166662655
path: .spaces[0].metrics.halstead.n1
old: 32.0
new: 12.0
path: .spaces[0].metrics.halstead.vocabulary
old: 121.0
new: 21.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.0625400798788016
new: 1.9337533789630996
path: .spaces[0].metrics.halstead.bugs
old: 1.258091524063658
new: 0.04400481752490764
path: .spaces[0].metrics.mi.mi_visual_studio
old: 15.63988970106537
new: 64.5503026967369
path: .spaces[0].metrics.mi.mi_original
old: 26.744211388821785
new: 110.3810176114201
path: .spaces[0].metrics.mi.mi_sei
old: -1.0562556100165992
new: 83.74893444306929
path: .spaces[0].metrics.nom.functions
old: 20.0
new: 1.0
path: .spaces[0].metrics.nom.total
old: 20.0
new: 1.0
path: .spaces[0].metrics.loc.lloc
old: 54.0
new: 4.0
path: .spaces[0].metrics.loc.cloc
old: 54.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 169.0
new: 8.0
path: .spaces[0].metrics.loc.sloc
old: 271.0
new: 8.0
path: .spaces[0].metrics.loc.blank
old: 48.0
new: 0.0
path: .spaces[0].metrics.cyclomatic.average
old: 1.5769230769230769
new: 2.0
path: .spaces[0].metrics.cyclomatic.sum
old: 41.0
new: 2.0
path: .spaces[0].metrics.cognitive.average
old: 0.85
new: 1.0
path: .spaces[0].metrics.cognitive.sum
old: 17.0
new: 1.0

### Code

    already_AddRefed do_GetBasicNativeThemeDoNotUseDirectly() {
      static mozilla::StaticRefPtr gInstance;
      if (MOZ_UNLIKELY(!gInstance)) {
        gInstance = new nsNativeBasicThemeCocoa();
        ClearOnShutdown(&gInstance);
      }
      return do_AddRef(gInstance);
    }