Global Metrics

path: .metrics.halstead.difficulty
old: 14.144736842105264
new: 14.342105263157896

path: .metrics.halstead.effort
old: 58808.974929617616
new: 59931.23255543635

path: .metrics.halstead.purity_ratio
old: 1.4123993601162028
new: 1.40528996736394

path: .metrics.halstead.volume
old: 4157.657762465989
new: 4178.6914442322595

path: .metrics.halstead.N2
old: 215.0
new: 218.0

path: .metrics.halstead.length
old: 593.0
new: 596.0

path: .metrics.halstead.bugs
old: 0.5040896937679521
new: 0.5104825311306238

path: .metrics.halstead.time
old: 3267.1652738676453
new: 3329.5129197464644

path: .metrics.halstead.level
old: 0.07069767441860465
new: 0.06972477064220182

path: .metrics.mi.mi_sei
old: 4.499503422855678
new: 4.4616462480916645

path: .metrics.mi.mi_visual_studio
old: 26.774803295675817
new: 26.7594579190959

path: .metrics.mi.mi_original
old: 45.78491363560565
new: 45.75867304165399

Spaces Data

Minimal test - lines (117, 122)

path: .spaces[3].metrics.mi.mi_visual_studio
old: 68.10043162049458
new: 68.01476579580054

path: .spaces[3].metrics.mi.mi_sei
old: 92.40531288538988
new: 92.1939745660037

path: .spaces[3].metrics.mi.mi_original
old: 116.45173807104572
new: 116.30524951081892

path: .spaces[3].metrics.halstead.purity_ratio
old: 1.004607413106576
new: 0.9767016516313934

path: .spaces[3].metrics.halstead.N2
old: 14.0
new: 15.0

path: .spaces[3].metrics.halstead.effort
old: 1057.7090194353289
new: 1165.6385112144442

path: .spaces[3].metrics.halstead.bugs
old: 0.03460372753430739
new: 0.03691940305029985

path: .spaces[3].metrics.halstead.level
old: 0.12244897959183676
new: 0.11428571428571428

path: .spaces[3].metrics.halstead.time
old: 58.7616121908516
new: 64.75769506746911

path: .spaces[3].metrics.halstead.difficulty
old: 8.166666666666666
new: 8.75

path: .spaces[3].metrics.halstead.length
old: 35.0
new: 36.0

path: .spaces[3].metrics.halstead.volume
old: 129.51539013493823
new: 133.21582985307933

Code

function dragStart(graph, x, y = 1) {
  x /= window.devicePixelRatio;
  y /= window.devicePixelRatio;
  graph._onMouseMove({ testX: x, testY: y });
  graph._onMouseDown({ testX: x, testY: y });
}

Minimal test - lines (124, 129)

path: .spaces[4].metrics.mi.mi_original
old: 116.45173807104572
new: 116.30524951081892

path: .spaces[4].metrics.mi.mi_sei
old: 92.40531288538988
new: 92.1939745660037

path: .spaces[4].metrics.mi.mi_visual_studio
old: 68.10043162049458
new: 68.01476579580054

path: .spaces[4].metrics.halstead.purity_ratio
old: 1.004607413106576
new: 0.9767016516313934

path: .spaces[4].metrics.halstead.bugs
old: 0.03460372753430739
new: 0.03691940305029985

path: .spaces[4].metrics.halstead.effort
old: 1057.7090194353289
new: 1165.6385112144442

path: .spaces[4].metrics.halstead.length
old: 35.0
new: 36.0

path: .spaces[4].metrics.halstead.volume
old: 129.51539013493823
new: 133.21582985307933

path: .spaces[4].metrics.halstead.difficulty
old: 8.166666666666666
new: 8.75

path: .spaces[4].metrics.halstead.time
old: 58.7616121908516
new: 64.75769506746911

path: .spaces[4].metrics.halstead.level
old: 0.12244897959183676
new: 0.11428571428571428

path: .spaces[4].metrics.halstead.N2
old: 14.0
new: 15.0

Code

function dragStop(graph, x, y = 1) {
  x /= window.devicePixelRatio;
  y /= window.devicePixelRatio;
  graph._onMouseMove({ testX: x, testY: y });
  graph._onMouseUp({ testX: x, testY: y });
}

Minimal test - lines (131, 136)

path: .spaces[5].metrics.mi.mi_sei
old: 91.1898782602082
new: 91.00463392960845

path: .spaces[5].metrics.mi.mi_original
old: 115.6092629874461
new: 115.48086140197616

path: .spaces[5].metrics.mi.mi_visual_studio
old: 67.60775613300942
new: 67.53266748653577

path: .spaces[5].metrics.halstead.level
old: 0.125
new: 0.1176470588235294

path: .spaces[5].metrics.halstead.effort
old: 1218.3535750584333
new: 1326.8631903370751

path: .spaces[5].metrics.halstead.purity_ratio
old: 0.9825742227201614
new: 0.9586089977757672

path: .spaces[5].metrics.halstead.time
old: 67.68630972546852
new: 73.71462168539307

path: .spaces[5].metrics.halstead.N2
old: 16.0
new: 17.0

path: .spaces[5].metrics.halstead.bugs
old: 0.03802427772027635
new: 0.040249718070146406

path: .spaces[5].metrics.halstead.length
old: 40.0
new: 41.0

path: .spaces[5].metrics.halstead.volume
old: 152.29419688230416
new: 156.10155180436178

path: .spaces[5].metrics.halstead.difficulty
old: 8.0
new: 8.5

Code

function scroll(graph, wheel, x, y = 1) {
  x /= window.devicePixelRatio;
  y /= window.devicePixelRatio;
  graph._onMouseMove({ testX: x, testY: y });
  graph._onMouseWheel({ testX: x, testY: y, detail: wheel });
}