Global Metrics

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

path: .metrics.nargs.average
old: 1.0
new: null

path: .metrics.nom.total
old: 8.0
new: 0.0

path: .metrics.nom.functions
old: 8.0
new: 0.0

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

path: .metrics.cyclomatic.sum
old: 14.0
new: 2.0

path: .metrics.halstead.N1
old: 167.0
new: 19.0

path: .metrics.halstead.bugs
old: 0.31544439914395617
new: 0.034526194952528726

path: .metrics.halstead.vocabulary
old: 66.0
new: 21.0

path: .metrics.halstead.effort
old: 29111.602536653096
new: 1054.1561814669026

path: .metrics.halstead.purity_ratio
old: 1.319599609205703
new: 1.848864521431646

path: .metrics.halstead.estimated_program_length
old: 341.77629878427706
new: 72.10571633583419

path: .metrics.halstead.n1
old: 19.0
new: 8.0

path: .metrics.halstead.difficulty
old: 18.595744680851062
new: 6.153846153846154

path: .metrics.halstead.volume
old: 1565.4980769138394
new: 171.30037948837168

path: .metrics.halstead.level
old: 0.05377574370709383
new: 0.16249999999999998

path: .metrics.halstead.time
old: 1617.3112520362831
new: 58.56423230371681

path: .metrics.halstead.N2
old: 92.0
new: 20.0

path: .metrics.halstead.length
old: 259.0
new: 39.0

path: .metrics.halstead.n2
old: 47.0
new: 13.0

path: .metrics.nexits.average
old: 0.5
new: null

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

path: .metrics.loc.ploc
old: 43.0
new: 17.0

path: .metrics.loc.lloc
old: 19.0
new: 1.0

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

path: .metrics.loc.cloc
old: 6.0
new: 12.0

path: .metrics.loc.sloc
old: 62.0
new: 39.0

path: .metrics.mi.mi_sei
old: 39.312089965329776
new: 84.20100368915953

path: .metrics.mi.mi_visual_studio
old: 36.648792127517
new: 49.38276286854327

path: .metrics.mi.mi_original
old: 62.66943453805406
new: 84.44452450520899

path: .metrics.cognitive.average
old: 0.375
new: null

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

Spaces Data

Minimal test - lines (20, 35)

path: .spaces[0].metrics.halstead.N2
old: 21.0
new: 12.0

path: .spaces[0].metrics.halstead.n2
old: 16.0
new: 9.0

path: .spaces[0].metrics.halstead.volume
old: 228.23460010384647
new: 108.0

path: .spaces[0].metrics.halstead.N1
old: 27.0
new: 15.0

path: .spaces[0].metrics.halstead.length
old: 48.0
new: 27.0

path: .spaces[0].metrics.halstead.vocabulary
old: 27.0
new: 16.0

path: .spaces[0].metrics.halstead.estimated_program_length
old: 102.05374780501026
new: 48.18080946738404

path: .spaces[0].metrics.halstead.bugs
old: 0.04649872757914281
new: 0.021110528351616305

path: .spaces[0].metrics.halstead.level
old: 0.13852813852813853
new: 0.21428571428571427

path: .spaces[0].metrics.halstead.difficulty
old: 7.21875
new: 4.666666666666667

path: .spaces[0].metrics.halstead.effort
old: 1647.5685194996418
new: 504.00000000000006

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

path: .spaces[0].metrics.halstead.purity_ratio
old: 2.126119745937714
new: 1.7844744247179274

path: .spaces[0].metrics.halstead.time
old: 91.53158441664677
new: 28.000000000000004

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

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

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

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

path: .spaces[0].metrics.nargs.average
old: 3.0
new: null

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

path: .spaces[0].metrics.mi.mi_original
old: 110.77831053687724
new: 101.50698031866962

path: .spaces[0].metrics.mi.mi_visual_studio
old: 64.78263774086388
new: 59.36080720390036

path: .spaces[0].metrics.mi.mi_sei
old: 84.32210697640656
new: 111.47702982085184

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

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

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

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

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

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

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

Code

class nsISizeOf : public nsISupports {
 public:
  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISIZEOF_IID)

  /**
   * Measures the size of the things pointed to by the object.
   */
  virtual size_t SizeOfExcludingThis(
      mozilla::MallocSizeOf aMallocSizeOf) const = 0;

  /**
   * Like SizeOfExcludingThis, but also includes the size of the object itself.
   */
  virtual size_t SizeOfIncludingThis(
      mozilla::MallocSizeOf aMallocSizeOf) const = 0;
};