Global Metrics
path: .metrics.nargs.average
old: 0.35714285714285715
new: 0.7112676056338029
path: .metrics.nargs.sum
old: 5.0
new: 101.0
path: .metrics.cyclomatic.average
old: 1.4375
new: 1.9865771812080537
path: .metrics.cyclomatic.sum
old: 23.0
new: 296.0
path: .metrics.nom.total
old: 14.0
new: 142.0
path: .metrics.nom.closures
old: 0.0
new: 19.0
path: .metrics.nom.functions
old: 14.0
new: 123.0
path: .metrics.loc.cloc
old: 11.0
new: 127.0
path: .metrics.loc.blank
old: 12.0
new: 121.0
path: .metrics.loc.sloc
old: 87.0
new: 2211.0
path: .metrics.loc.lloc
old: 29.0
new: 726.0
path: .metrics.loc.ploc
old: 64.0
new: 1963.0
path: .metrics.mi.mi_original
old: 53.539883664634
new: -80.97141690736044
path: .metrics.mi.mi_sei
old: 30.05379916646954
new: -144.2383492566027
path: .metrics.mi.mi_visual_studio
old: 31.309873488090066
new: 0.0
path: .metrics.halstead.time
old: 2029.602332129464
new: 481667.2948985645
path: .metrics.halstead.volume
old: 2117.8459117872667
new: 86814.89238657964
path: .metrics.halstead.difficulty
old: 17.25
new: 99.86778846153848
path: .metrics.halstead.effort
old: 36532.84197833035
new: 8670011.308174161
path: .metrics.halstead.n1
old: 16.0
new: 35.0
path: .metrics.halstead.N2
old: 138.0
new: 3561.0
path: .metrics.halstead.N1
old: 197.0
new: 5710.0
path: .metrics.halstead.vocabulary
old: 80.0
new: 659.0
path: .metrics.halstead.length
old: 335.0
new: 9271.0
path: .metrics.halstead.level
old: 0.057971014492753624
new: 0.010013238656878084
path: .metrics.halstead.estimated_program_length
old: 448.0
new: 5973.615890163117
path: .metrics.halstead.bugs
old: 0.36700139708730295
new: 14.067767689067685
path: .metrics.halstead.purity_ratio
old: 1.337313432835821
new: 0.6443335012580215
path: .metrics.halstead.n2
old: 64.0
new: 624.0
path: .metrics.cognitive.average
old: 0.7142857142857143
new: 0.704225352112676
path: .metrics.cognitive.sum
old: 10.0
new: 100.0
path: .metrics.nexits.sum
old: 11.0
new: 30.0
path: .metrics.nexits.average
old: 0.7857142857142857
new: 0.2112676056338028
Spaces Data
Minimal test - lines (47, 47)
path: .spaces[0].spaces[1].metrics.halstead.n2
old: 30.0
new: 1.0
path: .spaces[0].spaces[1].metrics.halstead.time
old: 254.7626689867376
new: 2.1541354172676304
path: .spaces[0].spaces[1].metrics.halstead.level
old: 0.12765957446808512
new: 0.4
path: .spaces[0].spaces[1].metrics.halstead.length
old: 110.0
new: 6.0
path: .spaces[0].spaces[1].metrics.halstead.N1
old: 63.0
new: 5.0
path: .spaces[0].spaces[1].metrics.halstead.volume
old: 585.4120904376099
new: 15.509775004326936
path: .spaces[0].spaces[1].metrics.halstead.n1
old: 10.0
new: 5.0
path: .spaces[0].spaces[1].metrics.halstead.effort
old: 4585.728041761277
new: 38.77443751081734
path: .spaces[0].spaces[1].metrics.halstead.difficulty
old: 7.833333333333333
new: 2.5
path: .spaces[0].spaces[1].metrics.halstead.purity_ratio
old: 1.6402363528829926
new: 1.9349400790728015
path: .spaces[0].spaces[1].metrics.halstead.estimated_program_length
old: 180.4259988171292
new: 11.60964047443681
path: .spaces[0].spaces[1].metrics.halstead.N2
old: 47.0
new: 1.0
path: .spaces[0].spaces[1].metrics.halstead.vocabulary
old: 40.0
new: 6.0
path: .spaces[0].spaces[1].metrics.halstead.bugs
old: 0.09200630903925658
new: 0.00381864321284214
path: .spaces[0].spaces[1].metrics.cyclomatic.sum
old: 5.0
new: 1.0
path: .spaces[0].spaces[1].metrics.cyclomatic.average
old: 5.0
new: 1.0
path: .spaces[0].spaces[1].metrics.mi.mi_visual_studio
old: 51.10683810919678
new: 91.5288617268536
path: .spaces[0].spaces[1].metrics.mi.mi_original
old: 87.3926931667265
new: 156.51435355291963
path: .spaces[0].spaces[1].metrics.mi.mi_sei
old: 50.88925234657667
new: 150.2034495661308
path: .spaces[0].spaces[1].metrics.loc.ploc
old: 21.0
new: 1.0
path: .spaces[0].spaces[1].metrics.loc.lloc
old: 11.0
new: 0.0
path: .spaces[0].spaces[1].metrics.loc.sloc
old: 21.0
new: 1.0
path: .spaces[0].spaces[1].metrics.nargs.sum
old: 3.0
new: 0.0
path: .spaces[0].spaces[1].metrics.nargs.average
old: 3.0
new: 0.0
path: .spaces[0].spaces[1].metrics.cognitive.sum
old: 7.0
new: 0.0
path: .spaces[0].spaces[1].metrics.cognitive.average
old: 7.0
new: 0.0
Code
virtual ~nsFoo() = default;
Minimal test - lines (40, 44)
path: .spaces[0].spaces[0].metrics.nargs.average
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nexits.average
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 133.00654690726324
new: 123.47569585520588
path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 116.28885349626572
new: 102.5387419480112
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 77.78160637851651
new: 72.20800927205022
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 3.75
new: 4.083333333333333
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.010405072229378904
new: 0.012936124267933504
path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 23.509775004326936
new: 35.161259458730164
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 5.0
new: 7.0
path: .spaces[0].spaces[0].metrics.halstead.effort
old: 174.40122498158652
new: 241.762061585218
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.26666666666666666
new: 0.2448979591836735
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.6792696431662095
new: 2.1975787161706353
path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 10.0
new: 13.0
path: .spaces[0].spaces[0].metrics.halstead.n1
old: 6.0
new: 7.0
path: .spaces[0].spaces[0].metrics.halstead.length
old: 14.0
new: 16.0
path: .spaces[0].spaces[0].metrics.halstead.time
old: 9.688956943421474
new: 13.431225643623222
path: .spaces[0].spaces[0].metrics.halstead.n2
old: 4.0
new: 6.0
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 46.50699332842307
new: 59.207035490257475
path: .spaces[0].spaces[0].metrics.loc.ploc
old: 3.0
new: 5.0
path: .spaces[0].spaces[0].metrics.loc.lloc
old: 1.0
new: 2.0
path: .spaces[0].spaces[0].metrics.loc.sloc
old: 3.0
new: 5.0
Code
NS_DECL_ISUPPORTS
nsresult DoFoo(bool* aBool) {
*aBool = true;
return NS_OK;
}
Minimal test - lines (39, 48)
path: .spaces[0].metrics.cognitive.average
old: 0.7142857142857143
new: 0.0
path: .spaces[0].metrics.cognitive.sum
old: 10.0
new: 0.0
path: .spaces[0].metrics.nom.total
old: 14.0
new: 2.0
path: .spaces[0].metrics.nom.functions
old: 14.0
new: 2.0
path: .spaces[0].metrics.cyclomatic.sum
old: 22.0
new: 3.0
path: .spaces[0].metrics.cyclomatic.average
old: 1.4666666666666666
new: 1.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.253280304610819
new: 2.11923262773606
path: .spaces[0].metrics.halstead.level
old: 0.05587121212121213
new: 0.16
path: .spaces[0].metrics.halstead.time
old: 2031.5098608189048
new: 39.09304688852168
path: .spaces[0].metrics.halstead.effort
old: 36567.17749474029
new: 703.6748439933901
path: .spaces[0].metrics.halstead.estimated_program_length
old: 411.07593991234864
new: 57.219280948873624
path: .spaces[0].metrics.halstead.n2
old: 59.0
new: 8.0
path: .spaces[0].metrics.halstead.n1
old: 16.0
new: 10.0
path: .spaces[0].metrics.halstead.vocabulary
old: 75.0
new: 18.0
path: .spaces[0].metrics.halstead.volume
old: 2043.0525304826488
new: 112.58797503894245
path: .spaces[0].metrics.halstead.length
old: 328.0
new: 27.0
path: .spaces[0].metrics.halstead.N1
old: 196.0
new: 17.0
path: .spaces[0].metrics.halstead.difficulty
old: 17.89830508474576
new: 6.25
path: .spaces[0].metrics.halstead.N2
old: 132.0
new: 10.0
path: .spaces[0].metrics.halstead.bugs
old: 0.36723131276055376
new: 0.02637100993032116
path: .spaces[0].metrics.mi.mi_visual_studio
old: 34.31548808874391
new: 63.41795317443308
path: .spaces[0].metrics.mi.mi_sei
old: 11.19578639503429
new: 81.05723838342276
path: .spaces[0].metrics.mi.mi_original
old: 58.67948463175209
new: 108.44469992828056
path: .spaces[0].metrics.nexits.sum
old: 11.0
new: 1.0
path: .spaces[0].metrics.nexits.average
old: 0.7857142857142857
new: 0.5
path: .spaces[0].metrics.loc.blank
old: 8.0
new: 1.0
path: .spaces[0].metrics.loc.ploc
old: 57.0
new: 9.0
path: .spaces[0].metrics.loc.sloc
old: 65.0
new: 10.0
path: .spaces[0].metrics.loc.lloc
old: 29.0
new: 2.0
path: .spaces[0].metrics.nargs.average
old: 0.35714285714285715
new: 0.5
path: .spaces[0].metrics.nargs.sum
old: 5.0
new: 1.0
Code
class nsFoo : public nsISupports {
NS_DECL_ISUPPORTS
nsresult DoFoo(bool* aBool) {
*aBool = true;
return NS_OK;
}
private:
virtual ~nsFoo() = default;
};