Global Metrics
path: .metrics.mi.mi_visual_studio
old: 41.22231325873832
new: 41.09646347859397
path: .metrics.mi.mi_original
old: 70.49015567244253
new: 70.27495254839569
path: .metrics.mi.mi_sei
old: 75.3869418590218
new: 75.0764693791756
path: .metrics.halstead.difficulty
old: 7.5
new: 8.25
path: .metrics.halstead.purity_ratio
old: 1.2394366197183098
new: 1.1891891891891893
path: .metrics.halstead.effort
old: 2441.492531634016
new: 2799.1196066902658
path: .metrics.halstead.volume
old: 325.5323375512021
new: 339.28722505336555
path: .metrics.halstead.time
old: 135.63847397966754
new: 155.50664481612588
path: .metrics.halstead.N2
old: 30.0
new: 33.0
path: .metrics.halstead.length
old: 71.0
new: 74.0
path: .metrics.halstead.level
old: 0.13333333333333333
new: 0.12121212121212122
path: .metrics.halstead.bugs
old: 0.06043877853859124
new: 0.06620534445885642
Spaces Data
Minimal test - lines (59, 66)
path: .spaces[0].metrics.halstead.effort
old: 816.6666666666666
new: 1064.0
path: .spaces[0].metrics.halstead.volume
old: 140.0
new: 152.0
path: .spaces[0].metrics.halstead.length
old: 35.0
new: 38.0
path: .spaces[0].metrics.halstead.N2
old: 15.0
new: 18.0
path: .spaces[0].metrics.halstead.difficulty
old: 5.833333333333333
new: 7.0
path: .spaces[0].metrics.halstead.time
old: 45.37037037037037
new: 59.111111111111114
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.3765945562109725
new: 1.2679160386153694
path: .spaces[0].metrics.halstead.level
old: 0.17142857142857143
new: 0.14285714285714285
path: .spaces[0].metrics.halstead.bugs
old: 0.029123392616960852
new: 0.03474080124518833
path: .spaces[0].metrics.mi.mi_sei
old: 84.86772831188617
new: 84.25077693009337
path: .spaces[0].metrics.mi.mi_visual_studio
old: 65.00380492819782
new: 64.75372416162925
path: .spaces[0].metrics.mi.mi_original
old: 111.15650642721828
new: 110.728868316386
Code
var C = class {
async method(fromLiteral = 23, fromExpr = 45, fromHole = 99) {
assert.sameValue(fromLiteral, 23);
assert.sameValue(fromExpr, 45);
assert.sameValue(fromHole, 99);
callCount = callCount + 1;
}
}
Minimal test - lines (60, 65)
path: .spaces[0].spaces[0].metrics.halstead.length
old: 34.0
new: 37.0
path: .spaces[0].spaces[0].metrics.halstead.effort
old: 793.3333333333333
new: 1036.0
path: .spaces[0].spaces[0].metrics.halstead.time
old: 44.07407407407407
new: 57.55555555555556
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.028565985637677555
new: 0.03412860855826098
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.17142857142857143
new: 0.14285714285714285
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 5.833333333333333
new: 7.0
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.4170826313936482
new: 1.302184039659028
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 136.0
new: 148.0
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 15.0
new: 18.0
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 116.19769119267804
new: 115.75799277493212
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 67.95186619454856
new: 67.69473261691937
path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 92.03880071381552
new: 91.40444998704676
Code
async method(fromLiteral = 23, fromExpr = 45, fromHole = 99) {
assert.sameValue(fromLiteral, 23);
assert.sameValue(fromExpr, 45);
assert.sameValue(fromHole, 99);
callCount = callCount + 1;
}