Global Metrics
path: .metrics.mi.mi_visual_studio
old: 38.05474398709738
new: 38.03325318618505
path: .metrics.mi.mi_sei
old: 34.23783726696953
new: 34.184819278018885
path: .metrics.mi.mi_original
old: 65.07361221793653
new: 65.03686294837644
path: .metrics.halstead.purity_ratio
old: 1.453059920983685
new: 1.442827104638729
path: .metrics.halstead.time
old: 759.5169707475707
new: 776.8552349290865
path: .metrics.halstead.difficulty
old: 17.655172413793103
new: 17.93103448275862
path: .metrics.halstead.effort
old: 13671.305473456272
new: 13983.394228723557
path: .metrics.halstead.length
old: 141.0
new: 142.0
path: .metrics.halstead.bugs
old: 0.1905835461463553
new: 0.19347305072802745
path: .metrics.halstead.level
old: 0.056640625
new: 0.05576923076923077
path: .metrics.halstead.N2
old: 64.0
new: 65.0
path: .metrics.halstead.volume
old: 774.3512865824841
new: 779.8431396788138
Spaces Data
Minimal test - lines (8, 21)
path: .spaces[1].metrics.mi.mi_original
old: 99.366393052249
new: 99.26341939030884
path: .spaces[1].metrics.mi.mi_sei
old: 95.59248721379608
new: 95.44392762237288
path: .spaces[1].metrics.mi.mi_visual_studio
old: 58.109001784940936
new: 58.04878326918646
path: .spaces[1].metrics.halstead.level
old: 0.0873015873015873
new: 0.08333333333333333
path: .spaces[1].metrics.halstead.N2
old: 21.0
new: 22.0
path: .spaces[1].metrics.halstead.bugs
old: 0.0628778500133671
new: 0.06572037840076972
path: .spaces[1].metrics.halstead.effort
old: 2590.76730210538
new: 2768.4199171068917
path: .spaces[1].metrics.halstead.volume
old: 226.17809780285063
new: 230.70165975890765
path: .spaces[1].metrics.halstead.purity_ratio
old: 1.6214659562732827
new: 1.5896725061502772
path: .spaces[1].metrics.halstead.length
old: 50.0
new: 51.0
path: .spaces[1].metrics.halstead.time
old: 143.93151678363222
new: 153.80110650593844
path: .spaces[1].metrics.halstead.difficulty
old: 11.454545454545457
new: 12.0
Code
function hasGname(f, v, hasIt = true) {
// Do a try-catch that prints the full stack, so we can tell
// _which_ part of this test failed.
try {
var b = bytecode(f);
if (b != "unavailable") {
assertEq(b.includes(`GetGName "${v}"`), hasIt);
assertEq(b.includes(`GetName "${v}"`), !hasIt);
}
} catch (e) {
print(e.stack);
throw e;
}
}