Global Metrics
path: .metrics.nexits.sum
old: 10.0
new: 0.0
path: .metrics.nexits.average
old: 0.625
new: 0.0
path: .metrics.cyclomatic.sum
old: 30.0
new: 3.0
path: .metrics.cyclomatic.average
old: 1.4285714285714286
new: 1.0
path: .metrics.nom.functions
old: 16.0
new: 1.0
path: .metrics.nom.total
old: 16.0
new: 1.0
path: .metrics.nargs.average
old: 0.25
new: 0.0
path: .metrics.nargs.sum
old: 4.0
new: 0.0
path: .metrics.mi.mi_original
old: 34.47695963612769
new: 87.5479818190608
path: .metrics.mi.mi_sei
old: 14.120119608881318
new: 80.46600265716143
path: .metrics.mi.mi_visual_studio
old: 20.16196469948988
new: 51.19765018658526
path: .metrics.loc.sloc
old: 214.0
new: 30.0
path: .metrics.loc.lloc
old: 36.0
new: 0.0
path: .metrics.loc.cloc
old: 62.0
new: 5.0
path: .metrics.loc.blank
old: 33.0
new: 6.0
path: .metrics.loc.ploc
old: 119.0
new: 19.0
path: .metrics.cognitive.average
old: 0.5
new: 0.0
path: .metrics.cognitive.sum
old: 8.0
new: 0.0
path: .metrics.halstead.estimated_program_length
old: 538.6606257151051
new: 93.48686830125575
path: .metrics.halstead.volume
old: 3679.11914066533
new: 204.32967235008783
path: .metrics.halstead.vocabulary
old: 95.0
new: 25.0
path: .metrics.halstead.effort
old: 192729.24113793
new: 1153.8616791534373
path: .metrics.halstead.n1
old: 30.0
new: 8.0
path: .metrics.halstead.length
old: 560.0
new: 44.0
path: .metrics.halstead.N1
old: 333.0
new: 20.0
path: .metrics.halstead.purity_ratio
old: 0.9618939744912592
new: 2.1247015523012673
path: .metrics.halstead.level
old: 0.01908957415565345
new: 0.17708333333333331
path: .metrics.halstead.n2
old: 65.0
new: 17.0
path: .metrics.halstead.time
old: 10707.180063218337
new: 64.1034266196354
path: .metrics.halstead.bugs
old: 1.1121853057972957
new: 0.036670309781439814
path: .metrics.halstead.N2
old: 227.0
new: 24.0
path: .metrics.halstead.difficulty
old: 52.38461538461539
new: 5.647058823529412
Spaces Data
Minimal test - lines (14, 29)
path: .spaces[0].metrics.halstead.N2
old: 216.0
new: 20.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 465.18150211211184
new: 77.30296890880646
path: .spaces[0].metrics.halstead.level
old: 0.016975308641975308
new: 0.175
path: .spaces[0].metrics.halstead.n2
old: 55.0
new: 14.0
path: .spaces[0].metrics.halstead.vocabulary
old: 85.0
new: 22.0
path: .spaces[0].metrics.halstead.N1
old: 333.0
new: 19.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.8473251404592201
new: 1.9821274079181144
path: .spaces[0].metrics.halstead.length
old: 549.0
new: 39.0
path: .spaces[0].metrics.halstead.difficulty
old: 58.90909090909091
new: 5.714285714285714
path: .spaces[0].metrics.halstead.time
old: 11515.927496529594
new: 55.212010516461774
path: .spaces[0].metrics.halstead.effort
old: 207286.69493753268
new: 993.816189296312
path: .spaces[0].metrics.halstead.volume
old: 3518.755623939598
new: 173.9178331268546
path: .spaces[0].metrics.halstead.n1
old: 30.0
new: 8.0
path: .spaces[0].metrics.halstead.bugs
old: 1.167507547056946
new: 0.033195773299208926
path: .spaces[0].metrics.nexits.average
old: 0.625
new: 0.0
path: .spaces[0].metrics.nexits.sum
old: 10.0
new: 0.0
path: .spaces[0].metrics.nargs.sum
old: 4.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 0.25
new: 0.0
path: .spaces[0].metrics.loc.blank
old: 30.0
new: 3.0
path: .spaces[0].metrics.loc.sloc
old: 190.0
new: 16.0
path: .spaces[0].metrics.loc.ploc
old: 105.0
new: 13.0
path: .spaces[0].metrics.loc.lloc
old: 36.0
new: 0.0
path: .spaces[0].metrics.loc.cloc
old: 55.0
new: 0.0
path: .spaces[0].metrics.cognitive.sum
old: 8.0
new: 0.0
path: .spaces[0].metrics.cognitive.average
old: 0.5
new: 0.0
path: .spaces[0].metrics.mi.mi_original
old: 36.8657240421452
new: 98.79943128549564
path: .spaces[0].metrics.mi.mi_sei
old: 17.45266100771967
new: 67.04023728503061
path: .spaces[0].metrics.mi.mi_visual_studio
old: 21.55890294862293
new: 57.777445196196275
path: .spaces[0].metrics.cyclomatic.sum
old: 29.0
new: 2.0
path: .spaces[0].metrics.cyclomatic.average
old: 1.45
new: 1.0
path: .spaces[0].metrics.nom.functions
old: 16.0
new: 1.0
path: .spaces[0].metrics.nom.total
old: 16.0
new: 1.0
Code
class nsContentHandlerApp : public nsIHandlerApp {
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIHANDLERAPP
nsContentHandlerApp(nsString aName, nsCString aType,
ContentAction::Action& aAction);
virtual ~nsContentHandlerApp() {}
protected:
nsString mName;
nsCString mType;
nsString mDetailedDescription;
ContentAction::Action mAction;
};
Minimal test - lines (21, 21)
path: .spaces[0].spaces[0].metrics.nargs.average
old: 0.25
new: 0.0
path: .spaces[0].spaces[0].metrics.nargs.sum
old: 4.0
new: 0.0
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 39.12194702040525
new: 159.95690398326485
path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 17.460628430429544
new: 155.17000000000002
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 22.87833159088026
new: 93.54204911302038
path: .spaces[0].spaces[0].metrics.cyclomatic.average
old: 1.4736842105263157
new: 1.0
path: .spaces[0].spaces[0].metrics.cyclomatic.sum
old: 28.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nexits.average
old: 0.625
new: 0.0
path: .spaces[0].spaces[0].metrics.nexits.sum
old: 10.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.cloc
old: 39.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.lloc
old: 36.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.sloc
old: 169.0
new: 1.0
path: .spaces[0].spaces[0].metrics.loc.blank
old: 28.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.ploc
old: 102.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nom.functions
old: 16.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nom.total
old: 16.0
new: 1.0
path: .spaces[0].spaces[0].metrics.cognitive.average
old: 0.5
new: 0.0
path: .spaces[0].spaces[0].metrics.cognitive.sum
old: 8.0
new: 0.0
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 3432.6744560321945
new: 8.0
path: .spaces[0].spaces[0].metrics.halstead.n1
old: 30.0
new: 3.0
path: .spaces[0].spaces[0].metrics.halstead.time
old: 11230.35470183372
new: 0.6666666666666666
path: .spaces[0].spaces[0].metrics.halstead.N1
old: 325.0
new: 3.0
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.016981132075471698
new: 0.6666666666666666
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 0.8528317374023889
new: 1.188721875540867
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 58.888888888888886
new: 1.5
path: .spaces[0].spaces[0].metrics.halstead.length
old: 537.0
new: 4.0
path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 457.97064298508286
new: 4.754887502163468
path: .spaces[0].spaces[0].metrics.halstead.n2
old: 54.0
new: 1.0
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 212.0
new: 1.0
path: .spaces[0].spaces[0].metrics.halstead.effort
old: 202146.384633007
new: 12.0
path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 84.0
new: 4.0
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 1.1481255919557676
new: 0.0017471609294725976
Code
virtual ~nsContentHandlerApp() {}