Global Metrics

path: .metrics.nexits.sum
old: 14.0
new: 9.0

path: .metrics.nexits.average
old: 1.1666666666666667
new: 2.25

path: .metrics.cyclomatic.average
old: 2.466666666666667
new: 2.4

path: .metrics.cyclomatic.sum
old: 37.0
new: 12.0

path: .metrics.loc.ploc
old: 136.0
new: 100.0

path: .metrics.loc.lloc
old: 73.0
new: 54.0

path: .metrics.loc.cloc
old: 106.0
new: 7.0

path: .metrics.loc.sloc
old: 265.0
new: 130.0

path: .metrics.halstead.purity_ratio
old: 0.7282495992893459
new: 1.5981344544916525

path: .metrics.halstead.N1
old: 391.0
new: 288.0

path: .metrics.halstead.effort
old: 254638.32029005303
new: 79324.33862310543

path: .metrics.halstead.n1
old: 30.0
new: 20.0

path: .metrics.halstead.n2
old: 53.0
new: 111.0

path: .metrics.halstead.bugs
old: 1.3391459714398186
new: 0.6153889850635057

path: .metrics.halstead.length
old: 619.0
new: 526.0

path: .metrics.halstead.N2
old: 228.0
new: 238.0

path: .metrics.halstead.estimated_program_length
old: 450.7865019601051
new: 840.6187230626091

path: .metrics.halstead.vocabulary
old: 83.0
new: 131.0

path: .metrics.halstead.volume
old: 3946.1494080037464
new: 3699.580498808699

path: .metrics.halstead.level
old: 0.015497076023391817
new: 0.046638655462184875

path: .metrics.halstead.time
old: 14146.573349447392
new: 4406.907701283635

path: .metrics.halstead.difficulty
old: 64.52830188679245
new: 21.44144144144144

path: .metrics.cognitive.average
old: 2.1666666666666665
new: 2.0

path: .metrics.cognitive.sum
old: 26.0
new: 8.0

path: .metrics.nom.total
old: 12.0
new: 4.0

path: .metrics.nom.functions
old: 12.0
new: 4.0

path: .metrics.nargs.sum
old: 5.0
new: 10.0

path: .metrics.nargs.average
old: 0.4166666666666667
new: 2.5

path: .metrics.mi.mi_visual_studio
old: 16.98233916030582
new: 27.288230054034017

path: .metrics.mi.mi_sei
old: 11.48124136682835
new: 10.43097723213949

path: .metrics.mi.mi_original
old: 29.03979996412295
new: 46.66287339239817

Spaces Data

Minimal test - lines (17, 19)

path: .spaces[0].metrics.halstead.level
old: 0.014414414414414416
new: 0.2916666666666667

path: .spaces[0].metrics.halstead.volume
old: 3840.3807557248338
new: 66.60791492653966

path: .spaces[0].metrics.halstead.N1
old: 389.0
new: 10.0

path: .spaces[0].metrics.halstead.length
old: 611.0
new: 18.0

path: .spaces[0].metrics.halstead.bugs
old: 1.3801626358119514
new: 0.012453882740670712

path: .spaces[0].metrics.halstead.purity_ratio
old: 0.6796807166986434
new: 1.9534033032627869

path: .spaces[0].metrics.halstead.effort
old: 266426.4149284103
new: 228.36999403385028

path: .spaces[0].metrics.halstead.estimated_program_length
old: 415.2849179028711
new: 35.161259458730164

path: .spaces[0].metrics.halstead.difficulty
old: 69.375
new: 3.4285714285714284

path: .spaces[0].metrics.halstead.n1
old: 30.0
new: 6.0

path: .spaces[0].metrics.halstead.n2
old: 48.0
new: 7.0

path: .spaces[0].metrics.halstead.vocabulary
old: 78.0
new: 13.0

path: .spaces[0].metrics.halstead.N2
old: 222.0
new: 8.0

path: .spaces[0].metrics.halstead.time
old: 14801.467496022797
new: 12.68722189076946

path: .spaces[0].metrics.cyclomatic.sum
old: 36.0
new: 1.0

path: .spaces[0].metrics.cyclomatic.average
old: 2.5714285714285716
new: 1.0

path: .spaces[0].metrics.loc.lloc
old: 73.0
new: 1.0

path: .spaces[0].metrics.loc.sloc
old: 251.0
new: 3.0

path: .spaces[0].metrics.loc.cloc
old: 100.0
new: 0.0

path: .spaces[0].metrics.loc.blank
old: 20.0
new: 0.0

path: .spaces[0].metrics.loc.ploc
old: 131.0
new: 3.0

path: .spaces[0].metrics.mi.mi_visual_studio
old: 17.71366260110527
new: 76.68923928350978

path: .spaces[0].metrics.mi.mi_sei
old: 13.129093249153492
new: 113.59397456600368

path: .spaces[0].metrics.mi.mi_original
old: 30.29036304789001
new: 131.13859917480173

path: .spaces[0].metrics.nexits.average
old: 1.1666666666666667
new: 0.0

path: .spaces[0].metrics.nexits.sum
old: 14.0
new: 0.0

path: .spaces[0].metrics.cognitive.average
old: 2.1666666666666665
new: 0.0

path: .spaces[0].metrics.cognitive.sum
old: 26.0
new: 0.0

path: .spaces[0].metrics.nom.total
old: 12.0
new: 1.0

path: .spaces[0].metrics.nom.functions
old: 12.0
new: 1.0

path: .spaces[0].metrics.nargs.sum
old: 5.0
new: 1.0

path: .spaces[0].metrics.nargs.average
old: 0.4166666666666667
new: 1.0

Code

void ErrorBox(LPSTR text) {
  MessageBox(nullptr, text, "XP Event Loop", MB_OK | MB_ICONSTOP);
}