# Global Metrics

path: .metrics.halstead.volume
old: 542.6264754702098
new: 3844.228179270694
path: .metrics.halstead.n2
old: 30.0
new: 111.0
path: .metrics.halstead.length
old: 100.0
new: 540.0
path: .metrics.halstead.n1
old: 13.0
new: 28.0
path: .metrics.halstead.effort
old: 5173.039066149334
new: 106183.81619499052
path: .metrics.halstead.vocabulary
old: 43.0
new: 139.0
path: .metrics.halstead.time
old: 287.3910592305185
new: 5899.100899721696
path: .metrics.halstead.estimated_program_length
old: 195.31243420408975
new: 888.7860989824748
path: .metrics.halstead.difficulty
old: 9.533333333333331
new: 27.62162162162162
path: .metrics.halstead.N1
old: 56.0
new: 321.0
path: .metrics.halstead.level
old: 0.1048951048951049
new: 0.036203522504892366
path: .metrics.halstead.purity_ratio
old: 1.9531243420408977
new: 1.6459001833008793
path: .metrics.halstead.N2
old: 44.0
new: 219.0
path: .metrics.halstead.bugs
old: 0.09970323521474064
new: 0.747453703974895
path: .metrics.nargs.average
old: null
new: 0.75
path: .metrics.nargs.sum
old: 0.0
new: 9.0
path: .metrics.nom.total
old: 0.0
new: 12.0
path: .metrics.nom.functions
old: 0.0
new: 10.0
path: .metrics.nom.closures
old: 0.0
new: 2.0
path: .metrics.nexits.sum
old: 0.0
new: 12.0
path: .metrics.nexits.average
old: null
new: 1.0
path: .metrics.cognitive.average
old: null
new: 2.25
path: .metrics.cognitive.sum
old: 0.0
new: 27.0
path: .metrics.loc.lloc
old: 0.0
new: 75.0
path: .metrics.loc.blank
old: 12.0
new: 54.0
path: .metrics.loc.ploc
old: 26.0
new: 154.0
path: .metrics.loc.cloc
old: 4.0
new: 42.0
path: .metrics.loc.sloc
old: 42.0
new: 250.0
path: .metrics.mi.mi_visual_studio
old: 44.36746314708067
new: 18.68995723046419
path: .metrics.mi.mi_original
old: 75.86836198150795
new: 31.95982686409377
path: .metrics.mi.mi_sei
old: 57.5728892651167
new: 3.018290961574152
path: .metrics.cyclomatic.sum
old: 8.0
new: 29.0
path: .metrics.cyclomatic.average
old: 2.0
new: 2.636363636363636

# Spaces Data

## Minimal test - lines (45, 49)

path: .spaces[0].metrics.halstead.effort
old: 0.0
new: 299.5282789966531
path: .spaces[0].metrics.halstead.n2
old: 1.0
new: 9.0
path: .spaces[0].metrics.halstead.n1
old: 0.0
new: 6.0
path: .spaces[0].metrics.halstead.length
old: 1.0
new: 23.0
path: .spaces[0].metrics.halstead.time
old: 0.0
new: 16.640459944258506
path: .spaces[0].metrics.halstead.vocabulary
old: 1.0
new: 15.0
path: .spaces[0].metrics.halstead.purity_ratio
old: null
new: 1.91474347901338
path: .spaces[0].metrics.halstead.volume
old: 0.0
new: 89.85848369899593
path: .spaces[0].metrics.halstead.bugs
old: 0.0
new: 0.014922352657902128
path: .spaces[0].metrics.halstead.difficulty
old: 0.0
new: 3.3333333333333335
path: .spaces[0].metrics.halstead.N1
old: 0.0
new: 13.0
path: .spaces[0].metrics.halstead.N2
old: 1.0
new: 10.0
path: .spaces[0].metrics.halstead.level
old: null
new: 0.3
path: .spaces[0].metrics.halstead.estimated_program_length
old: null
new: 44.039100017307746
path: .spaces[0].metrics.nargs.average
old: null
new: 0.0
path: .spaces[0].metrics.loc.lloc
old: 0.0
new: 2.0
path: .spaces[0].metrics.loc.ploc
old: 1.0
new: 5.0
path: .spaces[0].metrics.loc.sloc
old: 1.0
new: 5.0
path: .spaces[0].metrics.nexits.average
old: null
new: 0.0
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.cognitive.average
old: null
new: 0.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: null
new: 70.93934413179187
path: .spaces[0].metrics.mi.mi_original
old: null
new: 121.3062784653641
path: .spaces[0].metrics.mi.mi_sei
old: null
new: 99.40893423806816

### Code

    nsToolkit::nsToolkit()
        : mSleepWakeNotificationRLS(nullptr), mPowerNotifier{0}, mAllProcessMouseMonitor(nil) {
      MOZ_COUNT_CTOR(nsToolkit);
      RegisterForSleepWakeNotifications();
    }

## Minimal test - lines (51, 55)

path: .spaces[1].metrics.loc.lloc
old: 0.0
new: 3.0
path: .spaces[1].metrics.loc.blank
old: 9.0
new: 0.0
path: .spaces[1].metrics.loc.ploc
old: 19.0
new: 5.0
path: .spaces[1].metrics.loc.sloc
old: 28.0
new: 5.0
path: .spaces[1].metrics.halstead.effort
old: 4669.652860364797
new: 148.5902344426084
path: .spaces[1].metrics.halstead.estimated_program_length
old: 170.3171490075026
new: 19.60964047443681
path: .spaces[1].metrics.halstead.purity_ratio
old: 1.83136719362906
new: 1.307309364962454
path: .spaces[1].metrics.halstead.vocabulary
old: 39.0
new: 9.0
path: .spaces[1].metrics.halstead.level
old: 0.10526315789473684
new: 0.32
path: .spaces[1].metrics.halstead.difficulty
old: 9.5
new: 3.125
path: .spaces[1].metrics.halstead.N1
old: 55.0
new: 10.0
path: .spaces[1].metrics.halstead.length
old: 93.0
new: 15.0
path: .spaces[1].metrics.halstead.n1
old: 13.0
new: 5.0
path: .spaces[1].metrics.halstead.n2
old: 26.0
new: 4.0
path: .spaces[1].metrics.halstead.N2
old: 38.0
new: 5.0
path: .spaces[1].metrics.halstead.volume
old: 491.5424063541891
new: 47.548875021634686
path: .spaces[1].metrics.halstead.bugs
old: 0.09312546971619064
new: 0.009351305756932025
path: .spaces[1].metrics.halstead.time
old: 259.42515890915536
new: 8.255013024589354
path: .spaces[1].metrics.cyclomatic.average
old: 3.0
new: 1.0
path: .spaces[1].metrics.cyclomatic.sum
old: 6.0
new: 1.0
path: .spaces[1].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[1].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[1].metrics.nexits.average
old: null
new: 0.0
path: .spaces[1].metrics.mi.mi_original
old: 83.41103621547406
new: 124.6159635432929
path: .spaces[1].metrics.mi.mi_sei
old: 45.24675546788818
new: 104.18380048690022
path: .spaces[1].metrics.mi.mi_visual_studio
old: 48.77838375173921
new: 72.87483248145784
path: .spaces[1].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[1].metrics.nargs.average
old: null
new: 0.0

### Code

    nsToolkit::~nsToolkit() {
      MOZ_COUNT_DTOR(nsToolkit);
      RemoveSleepWakeNotifications();
      StopMonitoringAllProcessMouseEvents();
    }