Global Metrics

path: .metrics.mi.mi_original
old: 55.1428700090095
new: -21.978545959158012

path: .metrics.mi.mi_visual_studio
old: 32.24729240292953
new: 0.0

path: .metrics.mi.mi_sei
old: 33.28918414900339
new: -64.16520407860567

path: .metrics.cognitive.average
old: 1.6666666666666667
new: 1.1944444444444444

path: .metrics.cognitive.sum
old: 5.0
new: 86.0

path: .metrics.nargs.average
old: 4.0
new: 0.8611111111111112

path: .metrics.nargs.sum
old: 12.0
new: 62.0

path: .metrics.nexits.sum
old: 0.0
new: 47.0

path: .metrics.nexits.average
old: 0.0
new: 0.6527777777777778

path: .metrics.cyclomatic.sum
old: 6.0
new: 134.0

path: .metrics.cyclomatic.average
old: 1.5
new: 2.0303030303030303

path: .metrics.nom.closures
old: 0.0
new: 11.0

path: .metrics.nom.functions
old: 3.0
new: 61.0

path: .metrics.nom.total
old: 3.0
new: 72.0

path: .metrics.loc.blank
old: 11.0
new: 131.0

path: .metrics.loc.sloc
old: 89.0
new: 873.0

path: .metrics.loc.cloc
old: 14.0
new: 146.0

path: .metrics.loc.ploc
old: 64.0
new: 596.0

path: .metrics.loc.lloc
old: 27.0
new: 225.0

path: .metrics.halstead.n2
old: 65.0
new: 243.0

path: .metrics.halstead.effort
old: 89311.90539448296
new: 2432004.2566121677

path: .metrics.halstead.length
old: 485.0
new: 2947.0

path: .metrics.halstead.level
old: 0.034427966101694914
new: 0.009881664023423204

path: .metrics.halstead.n1
old: 16.0
new: 42.0

path: .metrics.halstead.time
old: 4961.77252191572
new: 135111.34758956486

path: .metrics.halstead.purity_ratio
old: 0.9390802223646382
new: 0.730304299332512

path: .metrics.halstead.vocabulary
old: 81.0
new: 285.0

path: .metrics.halstead.N1
old: 249.0
new: 1776.0

path: .metrics.halstead.difficulty
old: 29.04615384615385
new: 101.19753086419752

path: .metrics.halstead.N2
old: 236.0
new: 1171.0

path: .metrics.halstead.volume
old: 3074.827251399043
new: 24032.248967376552

path: .metrics.halstead.bugs
old: 0.6660164895883726
new: 6.028208973069691

path: .metrics.halstead.estimated_program_length
old: 455.4539078468495
new: 2152.206770132913

Spaces Data

Minimal test - lines (26, 32)

path: .spaces[0].metrics.loc.blank
old: 0.0
new: 1.0

path: .spaces[0].metrics.loc.lloc
old: 4.0
new: 2.0

path: .spaces[0].metrics.loc.sloc
old: 17.0
new: 7.0

path: .spaces[0].metrics.loc.ploc
old: 15.0
new: 6.0

path: .spaces[0].metrics.loc.cloc
old: 2.0
new: 0.0

path: .spaces[0].metrics.nom.total
old: 1.0
new: 2.0

path: .spaces[0].metrics.nom.functions
old: 1.0
new: 2.0

path: .spaces[0].metrics.mi.mi_visual_studio
old: 53.98845765304263
new: 66.7401014703312

path: .spaces[0].metrics.mi.mi_sei
old: 82.92665241397286
new: 89.2530065338415

path: .spaces[0].metrics.mi.mi_original
old: 92.32026258670292
new: 114.12557351426634

path: .spaces[0].metrics.halstead.time
old: 256.56279090526647
new: 48.32842798553713

path: .spaces[0].metrics.halstead.n1
old: 9.0
new: 7.0

path: .spaces[0].metrics.halstead.estimated_program_length
old: 150.7407576846492
new: 35.161259458730164

path: .spaces[0].metrics.halstead.length
old: 102.0
new: 31.0

path: .spaces[0].metrics.halstead.bugs
old: 0.092439203804653
new: 0.030375879491505737

path: .spaces[0].metrics.halstead.level
old: 0.11328976034858387
new: 0.13186813186813187

path: .spaces[0].metrics.halstead.volume
old: 523.1868677283866
new: 114.71363126237384

path: .spaces[0].metrics.halstead.difficulty
old: 8.826923076923077
new: 7.583333333333333

path: .spaces[0].metrics.halstead.N1
old: 51.0
new: 18.0

path: .spaces[0].metrics.halstead.N2
old: 51.0
new: 13.0

path: .spaces[0].metrics.halstead.n2
old: 26.0
new: 6.0

path: .spaces[0].metrics.halstead.purity_ratio
old: 1.4778505655357763
new: 1.13423417608807

path: .spaces[0].metrics.halstead.effort
old: 4618.130236294796
new: 869.9117037396684

path: .spaces[0].metrics.halstead.vocabulary
old: 35.0
new: 13.0

path: .spaces[0].metrics.cyclomatic.sum
old: 1.0
new: 3.0

path: .spaces[0].metrics.nargs.average
old: 4.0
new: 0.5

path: .spaces[0].metrics.nargs.sum
old: 4.0
new: 1.0

Code

class AutoReadOp {
  Checker& mChk;

 public:
  explicit AutoReadOp(Checker& aChk) : mChk(aChk) { mChk.StartReadOp(); }
  ~AutoReadOp() { mChk.EndReadOp(); }
};

Minimal test - lines (34, 40)

path: .spaces[1].metrics.mi.mi_sei
old: 64.20988095170944
new: 89.2530065338415

path: .spaces[1].metrics.mi.mi_visual_studio
old: 56.67143504183934
new: 66.7401014703312

path: .spaces[1].metrics.mi.mi_original
old: 96.90815392154528
new: 114.12557351426634

path: .spaces[1].metrics.halstead.length
old: 99.0
new: 31.0

path: .spaces[1].metrics.halstead.estimated_program_length
old: 136.1612434150308
new: 35.161259458730164

path: .spaces[1].metrics.halstead.N1
old: 52.0
new: 18.0

path: .spaces[1].metrics.halstead.bugs
old: 0.1084426511807271
new: 0.030375879491505737

path: .spaces[1].metrics.halstead.difficulty
old: 11.75
new: 7.583333333333333

path: .spaces[1].metrics.halstead.N2
old: 47.0
new: 13.0

path: .spaces[1].metrics.halstead.n2
old: 22.0
new: 6.0

path: .spaces[1].metrics.halstead.time
old: 325.99396996354
new: 48.32842798553713

path: .spaces[1].metrics.halstead.volume
old: 499.39501781648687
new: 114.71363126237384

path: .spaces[1].metrics.halstead.effort
old: 5867.89145934372
new: 869.9117037396684

path: .spaces[1].metrics.halstead.purity_ratio
old: 1.3753660951013214
new: 1.13423417608807

path: .spaces[1].metrics.halstead.vocabulary
old: 33.0
new: 13.0

path: .spaces[1].metrics.halstead.n1
old: 11.0
new: 7.0

path: .spaces[1].metrics.halstead.level
old: 0.0851063829787234
new: 0.13186813186813187

path: .spaces[1].metrics.cyclomatic.sum
old: 1.0
new: 3.0

path: .spaces[1].metrics.loc.ploc
old: 12.0
new: 6.0

path: .spaces[1].metrics.loc.sloc
old: 13.0
new: 7.0

path: .spaces[1].metrics.nargs.sum
old: 4.0
new: 1.0

path: .spaces[1].metrics.nargs.average
old: 4.0
new: 0.5

path: .spaces[1].metrics.nom.total
old: 1.0
new: 2.0

path: .spaces[1].metrics.nom.functions
old: 1.0
new: 2.0

Code

class AutoWriteOp {
  Checker& mChk;

 public:
  explicit AutoWriteOp(Checker& aChk) : mChk(aChk) { mChk.StartWriteOp(); }
  ~AutoWriteOp() { mChk.EndWriteOp(); }
};

Minimal test - lines (42, 50)

path: .spaces[2].metrics.nom.total
old: 1.0
new: 2.0

path: .spaces[2].metrics.nom.functions
old: 1.0
new: 2.0

path: .spaces[2].metrics.nargs.sum
old: 4.0
new: 1.0

path: .spaces[2].metrics.nargs.average
old: 4.0
new: 0.5

path: .spaces[2].metrics.cognitive.sum
old: 5.0
new: 0.0

path: .spaces[2].metrics.cognitive.average
old: 5.0
new: 0.0

path: .spaces[2].metrics.mi.mi_sei
old: 46.65386222897898
new: 83.37937124780923

path: .spaces[2].metrics.mi.mi_visual_studio
old: 42.507232663904226
new: 64.35922793924892

path: .spaces[2].metrics.mi.mi_original
old: 72.68736785527622
new: 110.05427977611564

path: .spaces[2].metrics.halstead.volume
old: 1572.1187563522583
new: 114.71363126237384

path: .spaces[2].metrics.halstead.N1
old: 146.0
new: 18.0

path: .spaces[2].metrics.halstead.estimated_program_length
old: 231.57709553663932
new: 35.161259458730164

path: .spaces[2].metrics.halstead.n2
old: 34.0
new: 6.0

path: .spaces[2].metrics.halstead.level
old: 0.03383084577114428
new: 0.13186813186813187

path: .spaces[2].metrics.halstead.n1
old: 15.0
new: 7.0

path: .spaces[2].metrics.halstead.N2
old: 134.0
new: 13.0

path: .spaces[2].metrics.halstead.time
old: 2581.6656047941497
new: 48.32842798553713

path: .spaces[2].metrics.halstead.vocabulary
old: 49.0
new: 13.0

path: .spaces[2].metrics.halstead.bugs
old: 0.43085096948118295
new: 0.030375879491505737

path: .spaces[2].metrics.halstead.difficulty
old: 29.558823529411764
new: 7.583333333333333

path: .spaces[2].metrics.halstead.purity_ratio
old: 0.8270610554879976
new: 1.13423417608807

path: .spaces[2].metrics.halstead.effort
old: 46469.980886294696
new: 869.9117037396684

path: .spaces[2].metrics.halstead.length
old: 280.0
new: 31.0

path: .spaces[2].metrics.cyclomatic.average
old: 3.0
new: 1.0

path: .spaces[2].metrics.loc.sloc
old: 39.0
new: 9.0

path: .spaces[2].metrics.loc.ploc
old: 32.0
new: 8.0

path: .spaces[2].metrics.loc.lloc
old: 21.0
new: 2.0

path: .spaces[2].metrics.loc.blank
old: 5.0
new: 1.0

path: .spaces[2].metrics.loc.cloc
old: 2.0
new: 0.0

Code

class AutoIteratorRemovalOp {
  Checker& mChk;

 public:
  explicit AutoIteratorRemovalOp(Checker& aChk) : mChk(aChk) {
    mChk.StartIteratorRemovalOp();
  }
  ~AutoIteratorRemovalOp() { mChk.EndIteratorRemovalOp(); }
};