Global Metrics
path: .metrics.halstead.difficulty
old: 77.7
new: 78.0
path: .metrics.halstead.N2
old: 259.0
new: 260.0
path: .metrics.halstead.length
old: 788.0
new: 789.0
path: .metrics.halstead.level
old: 0.01287001287001287
new: 0.01282051282051282
path: .metrics.halstead.time
old: 19753.911345876342
new: 19855.346478514944
path: .metrics.halstead.volume
old: 4576.195678581392
new: 4582.003033503449
path: .metrics.halstead.bugs
old: 1.6729995170209426
new: 1.6787217938709222
path: .metrics.halstead.purity_ratio
old: 0.34487762877084743
new: 0.3444405215100479
path: .metrics.halstead.effort
old: 355570.40422577417
new: 357396.236613269
path: .metrics.mi.mi_sei
old: -10.77354977917226
new: -10.783064066069093
path: .metrics.mi.mi_visual_studio
old: 12.359537024958778
new: 12.3556804161064
path: .metrics.mi.mi_original
old: 21.13480831267951
new: 21.128213511541944
Spaces Data
Minimal test - lines (3, 10)
path: .spaces[0].metrics.halstead.bugs
old: 0.041352030109575
new: 0.04401711367279778
path: .spaces[0].metrics.halstead.purity_ratio
old: 2.0268324453416033
new: 1.977397507650345
path: .spaces[0].metrics.halstead.N2
old: 14.0
new: 15.0
path: .spaces[0].metrics.halstead.time
old: 76.76347561793719
new: 84.30274554469888
path: .spaces[0].metrics.halstead.effort
old: 1381.7425611228691
new: 1517.4494198045795
path: .spaces[0].metrics.halstead.length
old: 40.0
new: 41.0
path: .spaces[0].metrics.halstead.level
old: 0.13095238095238096
new: 0.12222222222222222
path: .spaces[0].metrics.halstead.difficulty
old: 7.636363636363637
new: 8.181818181818182
path: .spaces[0].metrics.halstead.volume
old: 180.94247824228052
new: 185.4660401983375
path: .spaces[0].metrics.mi.mi_original
old: 109.82251528363672
new: 109.6941136981668
path: .spaces[0].metrics.mi.mi_sei
old: 82.94318590445127
new: 82.7579415738515
path: .spaces[0].metrics.mi.mi_visual_studio
old: 64.22369314832558
new: 64.14860450185193
Code
function* createTypedArrays(lengths = [0, 1, 4, 4096]) {
for (let length of lengths) {
let buffer = new ArrayBuffer(length * Int32Array.BYTES_PER_ELEMENT);
let typedArray = new Int32Array(buffer);
yield {typedArray, buffer};
}
}