Global Metrics
path: .metrics.halstead.N2
old: 57.0
new: 60.0
path: .metrics.halstead.volume
old: 730.0
new: 745.0
path: .metrics.halstead.level
old: 0.06698564593301436
new: 0.06363636363636364
path: .metrics.halstead.effort
old: 10897.857142857143
new: 11707.142857142857
path: .metrics.halstead.length
old: 146.0
new: 149.0
path: .metrics.halstead.bugs
old: 0.1638473741361004
new: 0.1718618004476599
path: .metrics.halstead.purity_ratio
old: 0.8924137923518098
new: 0.8744457294185519
path: .metrics.halstead.difficulty
old: 14.928571428571429
new: 15.714285714285714
path: .metrics.halstead.time
old: 605.436507936508
new: 650.3968253968254
path: .metrics.mi.mi_sei
old: 62.42832058442726
new: 62.275731984200114
path: .metrics.mi.mi_visual_studio
old: 36.76429022292261
new: 36.70243855155827
path: .metrics.mi.mi_original
old: 62.86693628119767
new: 62.76116992316463
path: .metrics.nargs.sum
old: 1.0
new: 7.0
path: .metrics.nargs.average
old: 0.14285714285714285
new: 1.0
Spaces Data
Minimal test - lines (59, 79)
path: .spaces[1].spaces[0].metrics.mi.mi_sei
old: 51.8721044572238
new: 51.66655696345329
path: .spaces[1].spaces[0].metrics.mi.mi_original
old: 88.07395433612893
new: 87.93147967035074
path: .spaces[1].spaces[0].metrics.mi.mi_visual_studio
old: 51.50523645387657
new: 51.42191793587763
path: .spaces[1].spaces[0].metrics.nargs.average
old: 0.2
new: 1.4
path: .spaces[1].spaces[0].metrics.nargs.sum
old: 1.0
new: 7.0
path: .spaces[1].spaces[0].metrics.halstead.level
old: 0.09523809523809525
new: 0.08888888888888889
path: .spaces[1].spaces[0].metrics.halstead.effort
old: 5392.042427453373
new: 5937.665768326631
path: .spaces[1].spaces[0].metrics.halstead.N2
old: 42.0
new: 45.0
path: .spaces[1].spaces[0].metrics.halstead.time
old: 299.5579126362985
new: 329.8703204625906
path: .spaces[1].spaces[0].metrics.halstead.purity_ratio
old: 0.9591479170272446
new: 0.9332250003508326
path: .spaces[1].spaces[0].metrics.halstead.length
old: 108.0
new: 111.0
path: .spaces[1].spaces[0].metrics.halstead.bugs
old: 0.1024977375277313
new: 0.10930060778644264
path: .spaces[1].spaces[0].metrics.halstead.difficulty
old: 10.5
new: 11.25
path: .spaces[1].spaces[0].metrics.halstead.volume
old: 513.5278502336546
new: 527.792512740145
Code
static async *method({ s: t = counter(), u: v = counter(), w: x = counter(), y: z = counter() } = { s: null, u: 0, w: false, y: '' }) {
assert.sameValue(t, null);
assert.sameValue(v, 0);
assert.sameValue(x, false);
assert.sameValue(z, '');
assert.sameValue(initCount, 0);
assert.throws(ReferenceError, function() {
s;
});
assert.throws(ReferenceError, function() {
u;
});
assert.throws(ReferenceError, function() {
w;
});
assert.throws(ReferenceError, function() {
y;
});
callCount = callCount + 1;
}
Minimal test - lines (58, 80)
path: .spaces[1].metrics.mi.mi_original
old: 86.21773129267427
new: 86.07781253749067
path: .spaces[1].metrics.mi.mi_sei
old: 49.29596053705238
new: 49.09410044282164
path: .spaces[1].metrics.mi.mi_visual_studio
old: 50.4197259021487
new: 50.337902068708
path: .spaces[1].metrics.halstead.difficulty
old: 10.18421052631579
new: 10.894736842105264
path: .spaces[1].metrics.halstead.bugs
old: 0.10241484346364343
new: 0.10906355804373456
path: .spaces[1].metrics.halstead.time
old: 299.19458922805876
new: 328.79777480072926
path: .spaces[1].metrics.halstead.N2
old: 43.0
new: 46.0
path: .spaces[1].metrics.halstead.effort
old: 5385.502606105058
new: 5918.359946413127
path: .spaces[1].metrics.halstead.level
old: 0.09819121447028424
new: 0.09178743961352656
path: .spaces[1].metrics.halstead.volume
old: 528.8090414263364
new: 543.2311061925092
path: .spaces[1].metrics.halstead.length
old: 110.0
new: 113.0
path: .spaces[1].metrics.halstead.purity_ratio
old: 0.9930904342582628
new: 0.9667252014903444
path: .spaces[1].metrics.nargs.sum
old: 1.0
new: 7.0
path: .spaces[1].metrics.nargs.average
old: 0.2
new: 1.4
Code
class C {
static async *method({ s: t = counter(), u: v = counter(), w: x = counter(), y: z = counter() } = { s: null, u: 0, w: false, y: '' }) {
assert.sameValue(t, null);
assert.sameValue(v, 0);
assert.sameValue(x, false);
assert.sameValue(z, '');
assert.sameValue(initCount, 0);
assert.throws(ReferenceError, function() {
s;
});
assert.throws(ReferenceError, function() {
u;
});
assert.throws(ReferenceError, function() {
w;
});
assert.throws(ReferenceError, function() {
y;
});
callCount = callCount + 1;
}
};