# Global Metrics

path: .metrics.cyclomatic.sum
old: 6.0
new: 18.0
path: .metrics.cyclomatic.average
old: 3.0
new: 2.25
path: .metrics.cognitive.sum
old: 9.0
new: 20.0
path: .metrics.cognitive.average
old: 9.0
new: 2.857142857142857
path: .metrics.mi.mi_visual_studio
old: 39.55483995963621
new: 28.174763298618704
path: .metrics.mi.mi_sei
old: 57.93371040251985
new: 30.92928808116139
path: .metrics.mi.mi_original
old: 67.63877633097792
new: 48.17884524063798
path: .metrics.nom.functions
old: 1.0
new: 7.0
path: .metrics.nom.total
old: 1.0
new: 7.0
path: .metrics.nexits.average
old: 0.0
new: 0.2857142857142857
path: .metrics.nexits.sum
old: 0.0
new: 2.0
path: .metrics.loc.blank
old: 11.0
new: 17.0
path: .metrics.loc.ploc
old: 32.0
new: 79.0
path: .metrics.loc.lloc
old: 13.0
new: 31.0
path: .metrics.loc.cloc
old: 15.0
new: 33.0
path: .metrics.loc.sloc
old: 58.0
new: 129.0
path: .metrics.nargs.sum
old: 3.0
new: 9.0
path: .metrics.nargs.average
old: 3.0
new: 1.2857142857142858
path: .metrics.halstead.volume
old: 1055.6712460861938
new: 2171.371325079565
path: .metrics.halstead.n2
old: 39.0
new: 75.0
path: .metrics.halstead.vocabulary
old: 61.0
new: 97.0
path: .metrics.halstead.length
old: 178.0
new: 329.0
path: .metrics.halstead.N2
old: 76.0
new: 129.0
path: .metrics.halstead.bugs
old: 0.2666811508386966
new: 0.39687057358056593
path: .metrics.halstead.level
old: 0.04665071770334928
new: 0.05285412262156448
path: .metrics.halstead.purity_ratio
old: 1.70920327048117
new: 1.7181425452802783
path: .metrics.halstead.difficulty
old: 21.43589743589743
new: 18.92
path: .metrics.halstead.estimated_program_length
old: 304.23818214564824
new: 565.2688973972116
path: .metrics.halstead.time
old: 1257.1811420627607
new: 2282.3525261391874
path: .metrics.halstead.N1
old: 102.0
new: 200.0
path: .metrics.halstead.effort
old: 22629.26055712969
new: 41082.345470505374

# Spaces Data

## Minimal test - lines (13, 20)

path: .spaces[0].metrics.cyclomatic.average
old: 5.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 5.0
new: 1.0
path: .spaces[0].metrics.nargs.average
old: 3.0
new: 1.0
path: .spaces[0].metrics.nargs.sum
old: 3.0
new: 1.0
path: .spaces[0].metrics.halstead.N1
old: 102.0
new: 21.0
path: .spaces[0].metrics.halstead.N2
old: 72.0
new: 14.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 277.63240120309433
new: 71.54887502163469
path: .spaces[0].metrics.halstead.n1
old: 22.0
new: 9.0
path: .spaces[0].metrics.halstead.n2
old: 35.0
new: 12.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.5955885126614615
new: 2.0442535720467054
path: .spaces[0].metrics.halstead.time
old: 1275.9030270984358
new: 44.83824035753318
path: .spaces[0].metrics.halstead.effort
old: 22966.254487771846
new: 807.0883264355973
path: .spaces[0].metrics.halstead.bugs
old: 0.26932222509932274
new: 0.028895227789387253
path: .spaces[0].metrics.halstead.level
old: 0.04419191919191919
new: 0.1904761904761905
path: .spaces[0].metrics.halstead.length
old: 174.0
new: 35.0
path: .spaces[0].metrics.halstead.vocabulary
old: 57.0
new: 21.0
path: .spaces[0].metrics.halstead.difficulty
old: 22.62857142857143
new: 5.25
path: .spaces[0].metrics.halstead.volume
old: 1014.922862464665
new: 153.73110979725664
path: .spaces[0].metrics.cognitive.average
old: 9.0
new: 0.0
path: .spaces[0].metrics.cognitive.sum
old: 9.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 27.0
new: 8.0
path: .spaces[0].metrics.loc.cloc
old: 11.0
new: 0.0
path: .spaces[0].metrics.loc.lloc
old: 13.0
new: 1.0
path: .spaces[0].metrics.loc.blank
old: 8.0
new: 0.0
path: .spaces[0].metrics.loc.sloc
old: 46.0
new: 8.0
path: .spaces[0].metrics.mi.mi_sei
old: 62.793014379629454
new: 84.39582025622605
path: .spaces[0].metrics.mi.mi_original
old: 71.82865634359258
new: 110.89998083742516
path: .spaces[0].metrics.mi.mi_visual_studio
old: 42.00506218923543
new: 64.85378996340653

### Code

    RacyRegisteredThread::RacyRegisteredThread(int aThreadId)
        : mProfilingStackOwner(
              mozilla::MakeNotNull>()),
          mThreadId(aThreadId),
          mSleep(AWAKE),
          mIsBeingProfiled(false) {
      MOZ_COUNT_CTOR(RacyRegisteredThread);
    }