# Global Metrics

path: .metrics.cyclomatic.sum
old: 6.0
new: 3.0
path: .metrics.cyclomatic.average
old: 1.2
new: 1.5
path: .metrics.loc.cloc
old: 31.0
new: 4.0
path: .metrics.loc.sloc
old: 69.0
new: 17.0
path: .metrics.loc.blank
old: 11.0
new: 3.0
path: .metrics.loc.ploc
old: 27.0
new: 10.0
path: .metrics.loc.lloc
old: 1.0
new: 4.0
path: .metrics.mi.mi_original
old: 68.06156908393069
new: 97.51306468665769
path: .metrics.mi.mi_sei
old: 66.1816466136158
new: 99.42187164169876
path: .metrics.mi.mi_visual_studio
old: 39.8020871835852
new: 57.0251840272852
path: .metrics.halstead.length
old: 102.0
new: 39.0
path: .metrics.halstead.difficulty
old: 9.757575757575758
new: 8.727272727272727
path: .metrics.halstead.effort
old: 5528.3307952878895
new: 1539.6559966797688
path: .metrics.halstead.N2
old: 46.0
new: 16.0
path: .metrics.halstead.bugs
old: 0.1042176860909625
new: 0.04444550827986496
path: .metrics.halstead.level
old: 0.10248447204968944
new: 0.11458333333333334
path: .metrics.halstead.n1
old: 14.0
new: 12.0
path: .metrics.halstead.n2
old: 33.0
new: 11.0
path: .metrics.halstead.volume
old: 566.5680628711191
new: 176.41891628622352
path: .metrics.halstead.purity_ratio
old: 2.1545879887023083
new: 2.07880250804267
path: .metrics.halstead.N1
old: 56.0
new: 23.0
path: .metrics.halstead.vocabulary
old: 47.0
new: 23.0
path: .metrics.halstead.estimated_program_length
old: 219.76797484763543
new: 81.07329781366414
path: .metrics.halstead.time
old: 307.129488627105
new: 85.53644425998715

# Spaces Data

## Minimal test - lines (10, 17)

path: .spaces[0].metrics.loc.sloc
old: 3.0
new: 8.0
path: .spaces[0].metrics.loc.ploc
old: 3.0
new: 8.0
path: .spaces[0].metrics.loc.lloc
old: 0.0
new: 4.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: 82.99964029639851
new: 64.5503026967369
path: .spaces[0].metrics.mi.mi_original
old: 141.92938490684145
new: 110.3810176114201
path: .spaces[0].metrics.mi.mi_sei
old: 129.26360748831726
new: 83.74893444306929
path: .spaces[0].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[0].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .spaces[0].metrics.nexits.average
old: null
new: 1.0
path: .spaces[0].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[0].metrics.nargs.average
old: null
new: 0.0
path: .spaces[0].metrics.halstead.N2
old: 2.0
new: 14.0
path: .spaces[0].metrics.halstead.N1
old: 2.0
new: 23.0
path: .spaces[0].metrics.halstead.difficulty
old: 1.0
new: 9.333333333333334
path: .spaces[0].metrics.halstead.volume
old: 8.0
new: 162.51574464281416
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.0
new: 1.9337533789630996
path: .spaces[0].metrics.halstead.vocabulary
old: 4.0
new: 21.0
path: .spaces[0].metrics.halstead.level
old: 1.0
new: 0.10714285714285714
path: .spaces[0].metrics.halstead.bugs
old: 0.0013333333333333333
new: 0.04400481752490764
path: .spaces[0].metrics.halstead.n1
old: 2.0
new: 12.0
path: .spaces[0].metrics.halstead.time
old: 0.4444444444444444
new: 84.26742314812586
path: .spaces[0].metrics.halstead.length
old: 4.0
new: 37.0
path: .spaces[0].metrics.halstead.n2
old: 2.0
new: 9.0
path: .spaces[0].metrics.halstead.effort
old: 8.0
new: 1516.8136166662655
path: .spaces[0].metrics.halstead.estimated_program_length
old: 4.0
new: 71.54887502163469
path: .spaces[0].metrics.cognitive.average
old: null
new: 1.0
path: .spaces[0].metrics.cognitive.sum
old: 0.0
new: 1.0

### Code

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