# Global Metrics

path: .metrics.nom.functions
old: 4.0
new: 3.0
path: .metrics.nom.total
old: 4.0
new: 3.0
path: .metrics.nexits.average
old: 1.0
new: 1.6666666666666667
path: .metrics.nexits.sum
old: 4.0
new: 5.0
path: .metrics.cyclomatic.average
old: 1.0
new: 1.8
path: .metrics.cyclomatic.sum
old: 8.0
new: 9.0
path: .metrics.loc.sloc
old: 61.0
new: 67.0
path: .metrics.loc.lloc
old: 4.0
new: 16.0
path: .metrics.loc.ploc
old: 40.0
new: 50.0
path: .metrics.loc.cloc
old: 10.0
new: 9.0
path: .metrics.loc.blank
old: 11.0
new: 8.0
path: .metrics.nargs.sum
old: 0.0
new: 2.0
path: .metrics.nargs.average
old: 0.0
new: 0.6666666666666666
path: .metrics.halstead.length
old: 137.0
new: 166.0
path: .metrics.halstead.n1
old: 15.0
new: 16.0
path: .metrics.halstead.difficulty
old: 10.060975609756095
new: 14.545454545454543
path: .metrics.halstead.vocabulary
old: 56.0
new: 49.0
path: .metrics.halstead.N2
old: 55.0
new: 60.0
path: .metrics.halstead.time
old: 444.6993835132525
new: 753.165118483333
path: .metrics.halstead.n2
old: 41.0
new: 33.0
path: .metrics.halstead.bugs
old: 0.13338431627379255
new: 0.1895194907899998
path: .metrics.halstead.effort
old: 8004.588903238545
new: 13556.972132699992
path: .metrics.halstead.purity_ratio
old: 2.031116723528972
new: 1.388343409270054
path: .metrics.halstead.N1
old: 82.0
new: 106.0
path: .metrics.halstead.volume
old: 795.6076243218918
new: 932.0418341231244
path: .metrics.halstead.estimated_program_length
old: 278.2629911234692
new: 230.46500593882897
path: .metrics.halstead.level
old: 0.0993939393939394
new: 0.06875
path: .metrics.cognitive.average
old: 0.0
new: 1.3333333333333333
path: .metrics.cognitive.sum
old: 0.0
new: 4.0
path: .metrics.mi.mi_visual_studio
old: 39.66812369834318
new: 38.16351785115141
path: .metrics.mi.mi_sei
old: 52.321330836652535
new: 46.25385260607085
path: .metrics.mi.mi_original
old: 67.83249152416684
new: 65.25961552546892

# Spaces Data

## Minimal test - lines (21, 27)

path: .spaces[0].metrics.nom.total
old: 4.0
new: 1.0
path: .spaces[0].metrics.nom.functions
old: 4.0
new: 1.0
path: .spaces[0].metrics.loc.lloc
old: 4.0
new: 2.0
path: .spaces[0].metrics.loc.ploc
old: 35.0
new: 7.0
path: .spaces[0].metrics.loc.blank
old: 9.0
new: 0.0
path: .spaces[0].metrics.loc.cloc
old: 3.0
new: 0.0
path: .spaces[0].metrics.loc.sloc
old: 47.0
new: 7.0
path: .spaces[0].metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .spaces[0].metrics.cyclomatic.sum
old: 7.0
new: 2.0
path: .spaces[0].metrics.halstead.n1
old: 15.0
new: 9.0
path: .spaces[0].metrics.halstead.N1
old: 82.0
new: 17.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 258.024604444984
new: 61.74860596185444
path: .spaces[0].metrics.halstead.bugs
old: 0.129621304130664
new: 0.02341561831876723
path: .spaces[0].metrics.halstead.N2
old: 51.0
new: 11.0
path: .spaces[0].metrics.halstead.effort
old: 7668.253508546482
new: 588.7627533632809
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.9400346198870977
new: 2.2053073557805156
path: .spaces[0].metrics.halstead.time
old: 426.0140838081379
new: 32.70904185351561
path: .spaces[0].metrics.halstead.difficulty
old: 10.06578947368421
new: 4.95
path: .spaces[0].metrics.halstead.volume
old: 761.8134204569054
new: 118.9419703764204
path: .spaces[0].metrics.halstead.length
old: 133.0
new: 28.0
path: .spaces[0].metrics.halstead.n2
old: 38.0
new: 10.0
path: .spaces[0].metrics.halstead.vocabulary
old: 53.0
new: 19.0
path: .spaces[0].metrics.halstead.level
old: 0.09934640522875816
new: 0.202020202020202
path: .spaces[0].metrics.cognitive.average
old: 0.0
new: 1.0
path: .spaces[0].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[0].metrics.nexits.average
old: 1.0
new: 0.0
path: .spaces[0].metrics.nexits.sum
old: 4.0
new: 0.0
path: .spaces[0].metrics.mi.mi_sei
old: 48.69853222439447
new: 89.21145709716791
path: .spaces[0].metrics.mi.mi_original
old: 72.51196016485814
new: 114.16734978785335
path: .spaces[0].metrics.mi.mi_visual_studio
old: 42.4046550671685
new: 66.76453203968033

### Code

    void MaybeInitPrefetchVirtualMemory() {
      if (sPrefetchVirtualMemory.isNothing()) {
        sPrefetchVirtualMemory.emplace(
            reinterpret_cast(GetProcAddress(
                GetModuleHandleW(L"kernel32.dll"), "PrefetchVirtualMemory")));
      }
    }