Global Metrics

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

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

path: .metrics.nargs.average
old: 1.35
new: 0.0

path: .metrics.nargs.sum
old: 27.0
new: 0.0

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

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

path: .metrics.cyclomatic.average
old: 1.6666666666666667
new: 1.0

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

path: .metrics.cognitive.sum
old: 15.0
new: 0.0

path: .metrics.cognitive.average
old: 0.75
new: 0.0

path: .metrics.halstead.difficulty
old: 39.120370370370374
new: 6.046511627906977

path: .metrics.halstead.volume
old: 6123.985154015033
new: 664.438772729331

path: .metrics.halstead.bugs
old: 1.2857902748011067
new: 0.08424005695340032

path: .metrics.halstead.level
old: 0.02556213017751479
new: 0.16538461538461538

path: .metrics.halstead.n2
old: 108.0
new: 43.0

path: .metrics.halstead.n1
old: 25.0
new: 10.0

path: .metrics.halstead.purity_ratio
old: 0.9742214919101644
new: 2.297833322422964

path: .metrics.halstead.time
old: 13309.587075984318
new: 223.1964869633412

path: .metrics.halstead.length
old: 868.0
new: 116.0

path: .metrics.halstead.effort
old: 239572.56736771777
new: 4017.5367653401418

path: .metrics.halstead.vocabulary
old: 133.0
new: 53.0

path: .metrics.halstead.N2
old: 338.0
new: 52.0

path: .metrics.halstead.estimated_program_length
old: 845.6242549780227
new: 266.54866540106383

path: .metrics.halstead.N1
old: 530.0
new: 64.0

path: .metrics.loc.cloc
old: 35.0
new: 21.0

path: .metrics.loc.sloc
old: 287.0
new: 72.0

path: .metrics.loc.lloc
old: 54.0
new: 3.0

path: .metrics.loc.ploc
old: 201.0
new: 38.0

path: .metrics.loc.blank
old: 51.0
new: 13.0

path: .metrics.mi.mi_original
old: 23.622552775462424
new: 66.54350665750104

path: .metrics.mi.mi_visual_studio
old: 13.81435834822364
new: 38.914331378655575

path: .metrics.mi.mi_sei
old: -11.289070095793978
new: 58.032537351918904

Spaces Data

Minimal test - lines (28, 28)

path: .spaces[0].spaces[0].metrics.nexits.average
old: 0.3333333333333333
new: 0.0

path: .spaces[0].spaces[0].metrics.nexits.sum
old: 2.0
new: 0.0

path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 36.874880818033766
new: 155.17000000000002

path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 33.734261086972104
new: 93.54204911302038

path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 57.6855864587223
new: 159.95690398326485

path: .spaces[0].spaces[0].metrics.halstead.n1
old: 18.0
new: 3.0

path: .spaces[0].spaces[0].metrics.halstead.n2
old: 65.0
new: 1.0

path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.28377196844396624
new: 0.0017471609294725976

path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 83.0
new: 4.0

path: .spaces[0].spaces[0].metrics.halstead.length
old: 268.0
new: 4.0

path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 466.5125578728112
new: 4.754887502163468

path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.06878306878306878
new: 0.6666666666666666

path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.7407184995254148
new: 1.188721875540867

path: .spaces[0].spaces[0].metrics.halstead.time
old: 1379.9508430623266
new: 0.6666666666666666

path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 14.538461538461538
new: 1.5

path: .spaces[0].spaces[0].metrics.halstead.volume
old: 1708.5105676009755
new: 8.0

path: .spaces[0].spaces[0].metrics.halstead.N2
old: 105.0
new: 1.0

path: .spaces[0].spaces[0].metrics.halstead.N1
old: 163.0
new: 3.0

path: .spaces[0].spaces[0].metrics.halstead.effort
old: 24839.11517512188
new: 12.0

path: .spaces[0].spaces[0].metrics.loc.ploc
old: 59.0
new: 1.0

path: .spaces[0].spaces[0].metrics.loc.sloc
old: 82.0
new: 1.0

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

path: .spaces[0].spaces[0].metrics.loc.lloc
old: 8.0
new: 0.0

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

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

path: .spaces[0].spaces[0].metrics.cyclomatic.average
old: 1.5555555555555556
new: 1.0

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

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

path: .spaces[0].spaces[0].metrics.nargs.average
old: 1.3333333333333333
new: 0.0

path: .spaces[0].spaces[0].metrics.nargs.sum
old: 8.0
new: 0.0

path: .spaces[0].spaces[0].metrics.cognitive.average
old: 0.5
new: 0.0

path: .spaces[0].spaces[0].metrics.cognitive.sum
old: 3.0
new: 0.0

Code

  virtual ~nsMenuObjectX() {}

Minimal test - lines (44, 44)

path: .spaces[1].metrics.halstead.length
old: 531.0
new: 1.0

path: .spaces[1].metrics.halstead.N1
old: 330.0
new: 0.0

path: .spaces[1].metrics.halstead.n1
old: 21.0
new: 0.0

path: .spaces[1].metrics.halstead.n2
old: 74.0
new: 1.0

path: .spaces[1].metrics.halstead.level
old: 0.035062781331438045
new: null

path: .spaces[1].metrics.halstead.effort
old: 99495.62457829848
new: 0.0

path: .spaces[1].metrics.halstead.bugs
old: 0.7157280979665583
new: 0.0

path: .spaces[1].metrics.halstead.estimated_program_length
old: 551.7382149348963
new: null

path: .spaces[1].metrics.halstead.N2
old: 201.0
new: 1.0

path: .spaces[1].metrics.halstead.vocabulary
old: 95.0
new: 1.0

path: .spaces[1].metrics.halstead.purity_ratio
old: 1.0390550187097858
new: null

path: .spaces[1].metrics.halstead.difficulty
old: 28.52027027027027
new: 0.0

path: .spaces[1].metrics.halstead.time
old: 5527.53469879436
new: 0.0

path: .spaces[1].metrics.halstead.volume
old: 3488.593328023733
new: 0.0

path: .spaces[1].metrics.loc.blank
old: 34.0
new: 0.0

path: .spaces[1].metrics.loc.sloc
old: 171.0
new: 1.0

path: .spaces[1].metrics.loc.cloc
old: 14.0
new: 0.0

path: .spaces[1].metrics.loc.lloc
old: 46.0
new: 0.0

path: .spaces[1].metrics.loc.ploc
old: 123.0
new: 1.0

path: .spaces[1].metrics.cognitive.average
old: 0.8571428571428571
new: null

path: .spaces[1].metrics.cognitive.sum
old: 12.0
new: 0.0

path: .spaces[1].metrics.mi.mi_original
old: 38.61733022907232
new: null

path: .spaces[1].metrics.mi.mi_visual_studio
old: 22.58323405208908
new: null

path: .spaces[1].metrics.mi.mi_sei
old: 4.409890309314452
new: null

path: .spaces[1].metrics.nargs.average
old: 1.3571428571428572
new: null

path: .spaces[1].metrics.nargs.sum
old: 19.0
new: 0.0

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

path: .spaces[1].metrics.cyclomatic.average
old: 1.8125
new: 1.0

path: .spaces[1].metrics.nexits.average
old: 1.0714285714285714
new: null

path: .spaces[1].metrics.nexits.sum
old: 15.0
new: 0.0

path: .spaces[1].metrics.nom.functions
old: 14.0
new: 0.0

path: .spaces[1].metrics.nom.total
old: 14.0
new: 0.0

Code

class nsMenuGroupOwnerX;

Minimal test - lines (26, 38)

path: .spaces[0].metrics.nexits.sum
old: 2.0
new: 0.0

path: .spaces[0].metrics.nexits.average
old: 0.3333333333333333
new: 0.0

path: .spaces[0].metrics.mi.mi_original
old: 57.01246996555193
new: 105.27988004164683

path: .spaces[0].metrics.mi.mi_sei
old: 36.698857350673656
new: 117.47298436258176

path: .spaces[0].metrics.mi.mi_visual_studio
old: 33.34062571084908
new: 61.56718131090458

path: .spaces[0].metrics.cognitive.sum
old: 3.0
new: 0.0

path: .spaces[0].metrics.cognitive.average
old: 0.5
new: 0.0

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

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

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

path: .spaces[0].metrics.cyclomatic.average
old: 1.5
new: 1.0

path: .spaces[0].metrics.nargs.average
old: 1.3333333333333333
new: 0.0

path: .spaces[0].metrics.nargs.sum
old: 8.0
new: 0.0

path: .spaces[0].metrics.loc.sloc
old: 84.0
new: 13.0

path: .spaces[0].metrics.loc.lloc
old: 8.0
new: 0.0

path: .spaces[0].metrics.loc.cloc
old: 13.0
new: 5.0

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

path: .spaces[0].metrics.loc.ploc
old: 61.0
new: 7.0

path: .spaces[0].metrics.halstead.time
old: 1385.9706412115768
new: 27.074523890187407

path: .spaces[0].metrics.halstead.n1
old: 18.0
new: 8.0

path: .spaces[0].metrics.halstead.difficulty
old: 14.454545454545457
new: 5.333333333333333

path: .spaces[0].metrics.halstead.bugs
old: 0.2845966405158282
new: 0.020642753860443064

path: .spaces[0].metrics.halstead.N1
old: 164.0
new: 16.0

path: .spaces[0].metrics.halstead.estimated_program_length
old: 473.9886619036196
new: 39.50977500432694

path: .spaces[0].metrics.halstead.purity_ratio
old: 1.7555135626059983
new: 1.6462406251802892

path: .spaces[0].metrics.halstead.vocabulary
old: 84.0
new: 14.0

path: .spaces[0].metrics.halstead.level
old: 0.06918238993710692
new: 0.1875

path: .spaces[0].metrics.halstead.length
old: 270.0
new: 24.0

path: .spaces[0].metrics.halstead.volume
old: 1725.9257041502651
new: 91.3765181293825

path: .spaces[0].metrics.halstead.effort
old: 24947.471541808383
new: 487.34143002337333

path: .spaces[0].metrics.halstead.N2
old: 106.0
new: 8.0

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

Code

class nsMenuObjectX {
 public:
  virtual ~nsMenuObjectX() {}
  virtual nsMenuObjectTypeX MenuObjectType() = 0;
  virtual void* NativeData() = 0;

  /**
   * Called when an icon of a menu item somewhere in this menu has updated.
   * Menu objects with parents need to propagate the notification to their
   * parent.
   */
  virtual void IconUpdated() {}
};