Global Metrics
path: .metrics.cognitive.average
old: null
new: 0.10344827586206896
path: .metrics.cognitive.sum
old: 0.0
new: 3.0
path: .metrics.cyclomatic.average
old: 1.0
new: 1.1702127659574468
path: .metrics.cyclomatic.sum
old: 6.0
new: 55.0
path: .metrics.nom.total
old: 0.0
new: 29.0
path: .metrics.nom.functions
old: 0.0
new: 29.0
path: .metrics.halstead.effort
old: 21640.216163181667
new: 408129.6206217276
path: .metrics.halstead.bugs
old: 0.2588529636670545
new: 1.8340485262115016
path: .metrics.halstead.N1
old: 238.0
new: 470.0
path: .metrics.halstead.vocabulary
old: 80.0
new: 61.0
path: .metrics.halstead.difficulty
old: 7.905405405405405
new: 88.0
path: .metrics.halstead.n1
old: 6.0
new: 22.0
path: .metrics.halstead.n2
old: 74.0
new: 39.0
path: .metrics.halstead.time
old: 1202.2342312878704
new: 22673.8678123182
path: .metrics.halstead.level
old: 0.1264957264957265
new: 0.011363636363636364
path: .metrics.halstead.purity_ratio
old: 1.0970192241590513
new: 0.3890513838179645
path: .metrics.halstead.N2
old: 195.0
new: 312.0
path: .metrics.halstead.length
old: 433.0
new: 782.0
path: .metrics.halstead.estimated_program_length
old: 475.0093240608692
new: 304.23818214564824
path: .metrics.halstead.volume
old: 2737.394865086228
new: 4637.8365979741775
path: .metrics.loc.lloc
old: 21.0
new: 34.0
path: .metrics.loc.sloc
old: 126.0
new: 47.0
path: .metrics.loc.cloc
old: 35.0
new: 12.0
path: .metrics.loc.ploc
old: 82.0
new: 142.0
path: .metrics.loc.blank
old: 9.0
new: 0.0
path: .metrics.nargs.sum
old: 0.0
new: 15.0
path: .metrics.nargs.average
old: null
new: 0.5172413793103449
path: .metrics.nexits.average
old: null
new: 0.4827586206896552
path: .metrics.nexits.sum
old: 0.0
new: 14.0
path: .metrics.mi.mi_visual_studio
old: 29.307292908831432
new: 30.4556676987194
path: .metrics.mi.mi_sei
old: 33.64897050678481
new: 40.296769095877934
path: .metrics.mi.mi_original
old: 50.115470874101746
new: 52.079191764810176
Spaces Data
Minimal test - lines (52, 52)
path: .spaces[3].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[3].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[3].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[3].metrics.nexits.average
old: null
new: 1.0
path: .spaces[3].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[3].metrics.mi.mi_original
old: 120.76795130709915
new: 154.24412008219068
path: .spaces[3].metrics.mi.mi_sei
old: 146.3113293408095
new: 146.92819499625
path: .spaces[3].metrics.mi.mi_visual_studio
old: 70.62453292812818
new: 90.2012398141466
path: .spaces[3].metrics.loc.lloc
old: 0.0
new: 1.0
path: .spaces[3].metrics.loc.sloc
old: 6.0
new: 1.0
path: .spaces[3].metrics.loc.ploc
old: 6.0
new: 1.0
path: .spaces[3].metrics.loc.cloc
old: 4.0
new: 0.0
path: .spaces[3].metrics.nargs.average
old: null
new: 0.0
path: .spaces[3].metrics.halstead.purity_ratio
old: 1.3829279414309965
new: 2.045565997075035
path: .spaces[3].metrics.halstead.N1
old: 10.0
new: 5.0
path: .spaces[3].metrics.halstead.N2
old: 7.0
new: 3.0
path: .spaces[3].metrics.halstead.bugs
old: 0.008631561478705923
new: 0.005108729549290353
path: .spaces[3].metrics.halstead.difficulty
old: 2.3333333333333335
new: 2.5
path: .spaces[3].metrics.halstead.n2
old: 6.0
new: 3.0
path: .spaces[3].metrics.halstead.n1
old: 4.0
new: 5.0
path: .spaces[3].metrics.halstead.level
old: 0.42857142857142855
new: 0.4
path: .spaces[3].metrics.halstead.effort
old: 131.76981443053205
new: 60.0
path: .spaces[3].metrics.halstead.length
old: 17.0
new: 8.0
path: .spaces[3].metrics.halstead.time
old: 7.32054524614067
new: 3.3333333333333335
path: .spaces[3].metrics.halstead.vocabulary
old: 10.0
new: 8.0
path: .spaces[3].metrics.halstead.volume
old: 56.47277761308516
new: 24.0
path: .spaces[3].metrics.halstead.estimated_program_length
old: 23.509775004326936
new: 16.36452797660028
Code
T* get() const { return mRawPtr; }
Minimal test - lines (41, 41)
path: .spaces[0].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[0].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[0].metrics.nargs.average
old: null
new: 1.0
path: .spaces[0].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[0].metrics.halstead.n1
old: 0.0
new: 4.0
path: .spaces[0].metrics.halstead.vocabulary
old: 1.0
new: 8.0
path: .spaces[0].metrics.halstead.bugs
old: 0.0
new: 0.005928155507483437
path: .spaces[0].metrics.halstead.difficulty
old: 0.0
new: 2.5
path: .spaces[0].metrics.halstead.N1
old: 0.0
new: 5.0
path: .spaces[0].metrics.halstead.level
old: null
new: 0.4
path: .spaces[0].metrics.halstead.purity_ratio
old: null
new: 1.6
path: .spaces[0].metrics.halstead.N2
old: 1.0
new: 5.0
path: .spaces[0].metrics.halstead.effort
old: 0.0
new: 75.0
path: .spaces[0].metrics.halstead.time
old: 0.0
new: 4.166666666666667
path: .spaces[0].metrics.halstead.estimated_program_length
old: null
new: 16.0
path: .spaces[0].metrics.halstead.volume
old: 0.0
new: 30.0
path: .spaces[0].metrics.halstead.length
old: 1.0
new: 10.0
path: .spaces[0].metrics.halstead.n2
old: 1.0
new: 4.0
path: .spaces[0].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: null
new: 89.52267462886361
path: .spaces[0].metrics.mi.mi_sei
old: null
new: 145.25416890283572
path: .spaces[0].metrics.mi.mi_original
old: null
new: 153.0837736153568
path: .spaces[0].metrics.nexits.average
old: null
new: 0.0
Code
explicit StaticLocalAutoPtr(T* aRawPtr) : mRawPtr(aRawPtr) {}
Minimal test - lines (47, 50)
path: .spaces[2].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[2].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[2].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[2].metrics.mi.mi_visual_studio
old: 65.840433642488
new: 74.23405396973165
path: .spaces[2].metrics.mi.mi_sei
old: 86.82987861864538
new: 107.53701147893022
path: .spaces[2].metrics.mi.mi_original
old: 112.58714152865446
new: 126.9402322882411
path: .spaces[2].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[2].metrics.nexits.average
old: null
new: 1.0
path: .spaces[2].metrics.halstead.N2
old: 22.0
new: 6.0
path: .spaces[2].metrics.halstead.bugs
old: 0.0376042964694585
new: 0.01704519358507665
path: .spaces[2].metrics.halstead.time
old: 66.56801071855811
new: 20.31478750408655
path: .spaces[2].metrics.halstead.N1
old: 40.0
new: 11.0
path: .spaces[2].metrics.halstead.estimated_program_length
old: 74.11313393845472
new: 32.0
path: .spaces[2].metrics.halstead.effort
old: 1198.224192934046
new: 365.6661750735579
path: .spaces[2].metrics.halstead.length
old: 62.0
new: 17.0
path: .spaces[2].metrics.halstead.n2
old: 15.0
new: 4.0
path: .spaces[2].metrics.halstead.vocabulary
old: 21.0
new: 12.0
path: .spaces[2].metrics.halstead.n1
old: 6.0
new: 8.0
path: .spaces[2].metrics.halstead.volume
old: 272.32368021228314
new: 60.94436251225965
path: .spaces[2].metrics.halstead.difficulty
old: 4.4
new: 6.0
path: .spaces[2].metrics.halstead.purity_ratio
old: 1.1953731280395925
new: 1.8823529411764703
path: .spaces[2].metrics.halstead.level
old: 0.2272727272727273
new: 0.16666666666666666
path: .spaces[2].metrics.nargs.average
old: null
new: 0.0
path: .spaces[2].metrics.loc.lloc
old: 0.0
new: 2.0
path: .spaces[2].metrics.loc.sloc
old: 6.0
new: 4.0
path: .spaces[2].metrics.loc.ploc
old: 6.0
new: 4.0
Code
StaticLocalAutoPtr& operator=(T* aRhs) {
Assign(aRhs);
return *this;
}
Minimal test - lines (43, 45)
path: .spaces[1].metrics.mi.mi_original
old: null
new: 129.9589037977479
path: .spaces[1].metrics.mi.mi_sei
old: null
new: 111.99385375517288
path: .spaces[1].metrics.mi.mi_visual_studio
old: null
new: 75.99935894605139
path: .spaces[1].metrics.nexits.average
old: null
new: 0.0
path: .spaces[1].metrics.loc.ploc
old: 1.0
new: 3.0
path: .spaces[1].metrics.loc.sloc
old: 1.0
new: 3.0
path: .spaces[1].metrics.loc.lloc
old: 0.0
new: 1.0
path: .spaces[1].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[1].metrics.nargs.average
old: null
new: 1.0
path: .spaces[1].metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .spaces[1].metrics.cyclomatic.sum
old: 1.0
new: 2.0
path: .spaces[1].metrics.halstead.N2
old: 1.0
new: 10.0
path: .spaces[1].metrics.halstead.purity_ratio
old: null
new: 1.9113793089246487
path: .spaces[1].metrics.halstead.estimated_program_length
old: null
new: 40.13896548741762
path: .spaces[1].metrics.halstead.level
old: null
new: 0.1111111111111111
path: .spaces[1].metrics.halstead.n2
old: 1.0
new: 5.0
path: .spaces[1].metrics.halstead.vocabulary
old: 1.0
new: 14.0
path: .spaces[1].metrics.halstead.volume
old: 0.0
new: 79.9544533632097
path: .spaces[1].metrics.halstead.effort
old: 0.0
new: 719.5900802688873
path: .spaces[1].metrics.halstead.bugs
old: 0.0
new: 0.026767153565498338
path: .spaces[1].metrics.halstead.difficulty
old: 0.0
new: 9.0
path: .spaces[1].metrics.halstead.N1
old: 0.0
new: 11.0
path: .spaces[1].metrics.halstead.time
old: 0.0
new: 39.97722668160485
path: .spaces[1].metrics.halstead.n1
old: 0.0
new: 9.0
path: .spaces[1].metrics.halstead.length
old: 1.0
new: 21.0
path: .spaces[1].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[1].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[1].metrics.cognitive.average
old: null
new: 0.0
Code
StaticLocalAutoPtr(StaticLocalAutoPtr&& aOther) : mRawPtr(aOther.mRawPtr) {
aOther.mRawPtr = nullptr;
}
Minimal test - lines (54, 54)
path: .spaces[4].metrics.mi.mi_sei
old: 115.12356355581922
new: 147.42610035996177
path: .spaces[4].metrics.mi.mi_original
old: 98.44746351835155
new: 154.58924178123317
path: .spaces[4].metrics.mi.mi_visual_studio
old: 57.57161609260325
new: 90.4030653691422
path: .spaces[4].metrics.nargs.average
old: null
new: 0.0
path: .spaces[4].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[4].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[4].metrics.halstead.effort
old: 511.8767476590831
new: 56.14709844115208
path: .spaces[4].metrics.halstead.length
old: 43.0
new: 8.0
path: .spaces[4].metrics.halstead.difficulty
old: 2.6315789473684212
new: 2.5
path: .spaces[4].metrics.halstead.n2
old: 19.0
new: 2.0
path: .spaces[4].metrics.halstead.estimated_program_length
old: 88.71062275542812
new: 13.60964047443681
path: .spaces[4].metrics.halstead.n1
old: 4.0
new: 5.0
path: .spaces[4].metrics.halstead.N1
old: 18.0
new: 6.0
path: .spaces[4].metrics.halstead.bugs
old: 0.02132990951982004
new: 0.0048876146417121315
path: .spaces[4].metrics.halstead.volume
old: 194.51316411045156
new: 22.458839376460833
path: .spaces[4].metrics.halstead.level
old: 0.3799999999999999
new: 0.4
path: .spaces[4].metrics.halstead.time
old: 28.437597092171284
new: 3.1192832467306713
path: .spaces[4].metrics.halstead.N2
old: 25.0
new: 2.0
path: .spaces[4].metrics.halstead.vocabulary
old: 23.0
new: 7.0
path: .spaces[4].metrics.halstead.purity_ratio
old: 2.0630377384983283
new: 1.7012050593046013
path: .spaces[4].metrics.loc.cloc
old: 12.0
new: 0.0
path: .spaces[4].metrics.loc.ploc
old: 16.0
new: 1.0
path: .spaces[4].metrics.loc.sloc
old: 16.0
new: 1.0
path: .spaces[4].metrics.loc.lloc
old: 0.0
new: 1.0
path: .spaces[4].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[4].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[4].metrics.nexits.average
old: null
new: 1.0
Code
operator T*() const { return get(); }