# Global Metrics

path: .metrics.cyclomatic.sum
old: 14.0
new: 2.0
path: .metrics.nom.total
old: 12.0
new: 0.0
path: .metrics.nom.functions
old: 12.0
new: 0.0
path: .metrics.loc.lloc
old: 12.0
new: 0.0
path: .metrics.loc.blank
old: 15.0
new: 1.0
path: .metrics.loc.ploc
old: 64.0
new: 23.0
path: .metrics.loc.cloc
old: 18.0
new: 10.0
path: .metrics.loc.sloc
old: 97.0
new: 34.0
path: .metrics.mi.mi_original
old: 56.293276832846104
new: 85.81670738450453
path: .metrics.mi.mi_sei
old: 37.88413274689337
new: 85.54788973892536
path: .metrics.mi.mi_visual_studio
old: 32.92004493148895
new: 50.185208996786265
path: .metrics.cognitive.average
old: 0.0
new: null
path: .metrics.halstead.estimated_program_length
old: 268.7443162330219
new: 94.43856189774723
path: .metrics.halstead.length
old: 231.0
new: 44.0
path: .metrics.halstead.difficulty
old: 11.25
new: 2.3
path: .metrics.halstead.effort
old: 14885.433281296113
new: 463.99820507298097
path: .metrics.halstead.n1
old: 9.0
new: 4.0
path: .metrics.halstead.level
old: 0.08888888888888889
new: 0.4347826086956522
path: .metrics.halstead.n2
old: 44.0
new: 20.0
path: .metrics.halstead.N2
old: 110.0
new: 23.0
path: .metrics.halstead.N1
old: 121.0
new: 21.0
path: .metrics.halstead.time
old: 826.9685156275618
new: 25.777678059610057
path: .metrics.halstead.bugs
old: 0.2017064250769079
new: 0.019978196433644815
path: .metrics.halstead.purity_ratio
old: 1.1633953083680602
new: 2.1463309522215286
path: .metrics.halstead.volume
old: 1323.1496250040989
new: 201.73835003173087
path: .metrics.halstead.vocabulary
old: 53.0
new: 24.0
path: .metrics.nargs.average
old: 2.0
new: null
path: .metrics.nargs.sum
old: 24.0
new: 0.0
path: .metrics.nexits.average
old: 0.0
new: null

# Spaces Data

## Minimal test - lines (10, 32)

path: .spaces[0].metrics.halstead.volume
old: 1160.1803246854452
new: 189.98960215439456
path: .spaces[0].metrics.halstead.bugs
old: 0.21460711293922807
new: 0.0186937211640453
path: .spaces[0].metrics.halstead.time
old: 907.5604152781304
new: 23.33205640492565
path: .spaces[0].metrics.halstead.n1
old: 9.0
new: 4.0
path: .spaces[0].metrics.halstead.N1
old: 121.0
new: 21.0
path: .spaces[0].metrics.halstead.difficulty
old: 14.080645161290322
new: 2.210526315789474
path: .spaces[0].metrics.halstead.level
old: 0.07101947308132875
new: 0.45238095238095233
path: .spaces[0].metrics.halstead.vocabulary
old: 40.0
new: 23.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.8353642689677704
new: 2.1121576846530505
path: .spaces[0].metrics.halstead.N2
old: 97.0
new: 21.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 182.10941063497395
new: 88.71062275542812
path: .spaces[0].metrics.halstead.n2
old: 31.0
new: 19.0
path: .spaces[0].metrics.halstead.effort
old: 16336.087475006349
new: 419.9770152886617
path: .spaces[0].metrics.halstead.length
old: 218.0
new: 42.0
path: .spaces[0].metrics.cognitive.average
old: 0.0
new: null
path: .spaces[0].metrics.nom.functions
old: 12.0
new: 0.0
path: .spaces[0].metrics.nom.total
old: 12.0
new: 0.0
path: .spaces[0].metrics.nargs.sum
old: 24.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 2.0
new: null
path: .spaces[0].metrics.mi.mi_sei
old: 42.7287748020931
new: 84.66370516290091
path: .spaces[0].metrics.mi.mi_original
old: 61.159200120824664
new: 92.69075310711682
path: .spaces[0].metrics.mi.mi_visual_studio
old: 35.765614105745414
new: 54.2051187760917
path: .spaces[0].metrics.nexits.average
old: 0.0
new: null
path: .spaces[0].metrics.cyclomatic.sum
old: 13.0
new: 1.0
path: .spaces[0].metrics.loc.sloc
old: 76.0
new: 23.0
path: .spaces[0].metrics.loc.ploc
old: 51.0
new: 20.0
path: .spaces[0].metrics.loc.cloc
old: 12.0
new: 3.0
path: .spaces[0].metrics.loc.blank
old: 13.0
new: 0.0
path: .spaces[0].metrics.loc.lloc
old: 12.0
new: 0.0

### Code

    namespace mozilla {

    // Must be contiguous starting at 0
    enum class ShutdownPhase {
      NotInShutdown = 0,
      AppShutdownConfirmed,
      AppShutdownNetTeardown,
      AppShutdownTeardown,
      AppShutdown,
      AppShutdownQM,
      AppShutdownTelemetry,
      XPCOMWillShutdown,
      XPCOMShutdown,
      XPCOMShutdownThreads,
      XPCOMShutdownLoaders,
      XPCOMShutdownFinal,
      CCPostLastCycleCollection,
      ShutdownPhase_Length,          // never pass this value
      First = AppShutdownConfirmed,  // for iteration
      Last = XPCOMShutdownFinal
    };

    }  // namespace mozilla