Global Metrics

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

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

path: .metrics.halstead.purity_ratio
old: 0.6879699521311028
new: 2.1696491986782873

path: .metrics.halstead.bugs
old: 0.1141612664646148
new: 0.04598516146528687

path: .metrics.halstead.volume
old: 456.80101196899113
new: 195.0419599705384

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

path: .metrics.halstead.effort
old: 6338.114041069752
new: 1620.3485905244731

path: .metrics.halstead.N1
old: 67.0
new: 24.0

path: .metrics.halstead.level
old: 0.07207207207207207
new: 0.12037037037037036

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

path: .metrics.halstead.difficulty
old: 13.875
new: 8.307692307692308

path: .metrics.halstead.N2
old: 37.0
new: 18.0

path: .metrics.halstead.estimated_program_length
old: 71.54887502163469
new: 91.12526634448808

path: .metrics.halstead.n1
old: 9.0
new: 12.0

path: .metrics.halstead.time
old: 352.11744672609734
new: 90.01936614024851

path: .metrics.halstead.length
old: 104.0
new: 42.0

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

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

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

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

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

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

path: .metrics.loc.ploc
old: 21.0
new: 16.0

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

path: .metrics.loc.blank
old: 8.0
new: 4.0

path: .metrics.loc.sloc
old: 57.0
new: 27.0

path: .metrics.loc.cloc
old: 28.0
new: 7.0

path: .metrics.mi.mi_original
old: 72.27648051792856
new: 89.72672625401901

path: .metrics.mi.mi_visual_studio
old: 42.26694767130325
new: 52.4717697391924

path: .metrics.mi.mi_sei
old: 73.4166670650856
new: 89.42687288555568

Spaces Data

Minimal test - lines (11, 25)

path: .spaces[0].metrics.halstead.N2
old: 35.0
new: 15.0

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

path: .spaces[0].metrics.halstead.bugs
old: 0.11384722952670376
new: 0.04184286255355707

path: .spaces[0].metrics.halstead.estimated_program_length
old: 66.58307281799108
new: 81.07329781366414

path: .spaces[0].metrics.halstead.purity_ratio
old: 0.6527752237057949
new: 2.133507837201688

path: .spaces[0].metrics.halstead.volume
old: 440.836665678511
new: 171.8953543301665

path: .spaces[0].metrics.halstead.effort
old: 6311.979531305953
new: 1406.416535428635

path: .spaces[0].metrics.halstead.N1
old: 67.0
new: 23.0

path: .spaces[0].metrics.halstead.difficulty
old: 14.318181818181818
new: 8.181818181818182

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

path: .spaces[0].metrics.halstead.level
old: 0.06984126984126984
new: 0.12222222222222222

path: .spaces[0].metrics.halstead.time
old: 350.66552951699737
new: 78.1342519682575

path: .spaces[0].metrics.halstead.vocabulary
old: 20.0
new: 23.0

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

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

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

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

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

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

path: .spaces[0].metrics.loc.ploc
old: 17.0
new: 12.0

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

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

path: .spaces[0].metrics.loc.sloc
old: 34.0
new: 15.0

path: .spaces[0].metrics.loc.blank
old: 5.0
new: 2.0

path: .spaces[0].metrics.mi.mi_sei
old: 81.54670205811729
new: 88.33727839453344

path: .spaces[0].metrics.mi.mi_visual_studio
old: 47.40459207205707
new: 58.558935749596216

path: .spaces[0].metrics.mi.mi_original
old: 81.06185244321759
new: 100.13578013180953

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

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

Code

class nsDragServiceProxy : public nsBaseDragService {
 public:
  nsDragServiceProxy();

  NS_INLINE_DECL_REFCOUNTING_INHERITED(nsDragServiceProxy, nsBaseDragService)

  // nsBaseDragService
  virtual nsresult InvokeDragSessionImpl(
      nsIArray* anArrayTransferables,
      const mozilla::Maybe& aRegion,
      uint32_t aActionType) override;

 private:
  virtual ~nsDragServiceProxy();
};