Global Metrics

path: .metrics.mi.mi_sei
old: 70.56381399320462
new: 98.78739624392144

path: .metrics.mi.mi_original
old: 77.76074744617426
new: 93.2704766559684

path: .metrics.mi.mi_visual_studio
old: 45.4741213135522
new: 54.54413839530316

path: .metrics.halstead.estimated_program_length
old: 148.03344701281688
new: 44.82892142331043

path: .metrics.halstead.length
old: 61.0
new: 26.0

path: .metrics.halstead.time
old: 84.92713175116049
new: 16.929859247636912

path: .metrics.halstead.bugs
old: 0.0442341873750216
new: 0.015094867793358996

path: .metrics.halstead.vocabulary
old: 34.0
new: 15.0

path: .metrics.halstead.effort
old: 1528.6883715208887
new: 304.73746645746445

path: .metrics.halstead.n1
old: 7.0
new: 5.0

path: .metrics.halstead.purity_ratio
old: 2.426777819882244
new: 1.7241892855119398

path: .metrics.halstead.volume
old: 310.33523331627066
new: 101.57915548582147

path: .metrics.halstead.N2
old: 38.0
new: 12.0

path: .metrics.halstead.difficulty
old: 4.925925925925926
new: 3.0

path: .metrics.halstead.level
old: 0.2030075187969925
new: 0.3333333333333333

path: .metrics.halstead.n2
old: 27.0
new: 10.0

path: .metrics.halstead.N1
old: 23.0
new: 14.0

path: .metrics.cyclomatic.sum
old: 3.0
new: 4.0

path: .metrics.loc.sloc
old: 48.0
new: 26.0

path: .metrics.loc.ploc
old: 24.0
new: 14.0

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

path: .metrics.loc.cloc
old: 11.0
new: 9.0

Spaces Data

Minimal test - lines (12, 25)

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

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

path: .spaces[0].metrics.halstead.bugs
old: 0.0
new: 0.013362882459911084

path: .spaces[0].metrics.halstead.difficulty
old: 0.0
new: 2.7777777777777777

path: .spaces[0].metrics.halstead.n1
old: 0.0
new: 5.0

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

path: .spaces[0].metrics.halstead.N1
old: 0.0
new: 14.0

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

path: .spaces[0].metrics.halstead.estimated_program_length
old: null
new: 40.13896548741762

path: .spaces[0].metrics.halstead.effort
old: 0.0
new: 253.82366147050695

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

path: .spaces[0].metrics.halstead.level
old: null
new: 0.36

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

path: .spaces[0].metrics.halstead.purity_ratio
old: null
new: 1.6724568953090675

path: .spaces[0].metrics.halstead.time
old: 0.0
new: 14.101314526139276

path: .spaces[0].metrics.mi.mi_original
old: null
new: 104.07933089275656

path: .spaces[0].metrics.mi.mi_sei
old: null
new: 102.39181926431428

path: .spaces[0].metrics.mi.mi_visual_studio
old: null
new: 60.86510578523775

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

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

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

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

Code

namespace mozilla {
namespace widget {

class InputDeviceUtils {
 public:
  static HDEVNOTIFY RegisterNotification(HWND aHwnd);
  static void UnregisterNotification(HDEVNOTIFY aHandle);

  // Returns the number of mouse type devices connected to this system.
  static DWORD CountMouseDevices();
};

}  // namespace widget
}  // namespace mozilla