# Global Metrics

path: .metrics.nexits.average
old: 0.5
new: null
path: .metrics.nexits.sum
old: 3.0
new: 0.0
path: .metrics.nom.functions
old: 6.0
new: 0.0
path: .metrics.nom.total
old: 6.0
new: 0.0
path: .metrics.loc.lloc
old: 193.0
new: 0.0
path: .metrics.loc.ploc
old: 293.0
new: 21.0
path: .metrics.loc.blank
old: 47.0
new: 7.0
path: .metrics.loc.sloc
old: 435.0
new: 34.0
path: .metrics.loc.cloc
old: 95.0
new: 6.0
path: .metrics.cyclomatic.average
old: 6.142857142857143
new: 1.0
path: .metrics.cyclomatic.sum
old: 43.0
new: 2.0
path: .metrics.nargs.sum
old: 21.0
new: 0.0
path: .metrics.nargs.average
old: 3.5
new: null
path: .metrics.cognitive.sum
old: 70.0
new: 0.0
path: .metrics.cognitive.average
old: 11.666666666666666
new: null
path: .metrics.mi.mi_sei
old: -19.907577133236806
new: 76.92691059000359
path: .metrics.mi.mi_visual_studio
old: 7.416543152075563
new: 49.5066438115033
path: .metrics.mi.mi_original
old: 12.682288790049212
new: 84.65636091767064
path: .metrics.halstead.estimated_program_length
old: 1186.049285829686
new: 89.138352755659
path: .metrics.halstead.effort
old: 1402784.1493865498
new: 1142.195070032594
path: .metrics.halstead.bugs
old: 4.177078578931443
new: 0.03642271085524547
path: .metrics.halstead.volume
old: 15014.190390342144
new: 252.1729375396636
path: .metrics.halstead.n2
old: 144.0
new: 17.0
path: .metrics.halstead.level
old: 0.010703136613646498
new: 0.2207792207792208
path: .metrics.halstead.time
old: 77932.45274369721
new: 63.45528166847745
path: .metrics.halstead.difficulty
old: 93.43055555555556
new: 4.529411764705882
path: .metrics.halstead.purity_ratio
old: 0.5886100674092736
new: 1.6206973228301635
path: .metrics.halstead.vocabulary
old: 175.0
new: 24.0
path: .metrics.halstead.n1
old: 31.0
new: 7.0
path: .metrics.halstead.N2
old: 868.0
new: 22.0
path: .metrics.halstead.N1
old: 1147.0
new: 33.0
path: .metrics.halstead.length
old: 2015.0
new: 55.0

# Spaces Data

## Minimal test - lines (12, 32)

path: .spaces[0].metrics.cognitive.average
old: 0.0
new: null
path: .spaces[0].metrics.loc.lloc
old: 3.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 7.0
new: 16.0
path: .spaces[0].metrics.loc.blank
old: 2.0
new: 5.0
path: .spaces[0].metrics.loc.sloc
old: 10.0
new: 21.0
path: .spaces[0].metrics.loc.cloc
old: 1.0
new: 0.0
path: .spaces[0].metrics.mi.mi_original
old: 106.17908696819912
new: 93.22913236436833
path: .spaces[0].metrics.mi.mi_sei
old: 101.11180220147553
new: 58.90217479584663
path: .spaces[0].metrics.mi.mi_visual_studio
old: 62.09303331473632
new: 54.51996044699902
path: .spaces[0].metrics.nom.functions
old: 1.0
new: 0.0
path: .spaces[0].metrics.nom.total
old: 1.0
new: 0.0
path: .spaces[0].metrics.halstead.volume
old: 190.16483617504392
new: 227.43101255050215
path: .spaces[0].metrics.halstead.level
old: 0.10227272727272728
new: 0.22556390977443608
path: .spaces[0].metrics.halstead.length
old: 44.0
new: 51.0
path: .spaces[0].metrics.halstead.N2
old: 16.0
new: 19.0
path: .spaces[0].metrics.halstead.time
old: 103.29941718150536
new: 56.01541605410517
path: .spaces[0].metrics.halstead.vocabulary
old: 20.0
new: 22.0
path: .spaces[0].metrics.halstead.bugs
old: 0.0504033028668795
new: 0.033517024695832065
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.5132516549543429
new: 1.534408693892765
path: .spaces[0].metrics.halstead.difficulty
old: 9.77777777777778
new: 4.433333333333334
path: .spaces[0].metrics.halstead.n1
old: 11.0
new: 7.0
path: .spaces[0].metrics.halstead.effort
old: 1859.3895092670964
new: 1008.277488973893
path: .spaces[0].metrics.halstead.estimated_program_length
old: 66.58307281799108
new: 78.25484338853101
path: .spaces[0].metrics.halstead.N1
old: 28.0
new: 32.0
path: .spaces[0].metrics.halstead.n2
old: 9.0
new: 15.0
path: .spaces[0].metrics.nargs.sum
old: 1.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 1.0
new: null
path: .spaces[0].metrics.nexits.sum
old: 1.0
new: 0.0
path: .spaces[0].metrics.nexits.average
old: 1.0
new: null

### Code

    class nsBidiKeyboard : public nsIBidiKeyboard {
      virtual ~nsBidiKeyboard();

     public:
      NS_DECL_ISUPPORTS
      NS_DECL_NSIBIDIKEYBOARD

      nsBidiKeyboard();

      static void OnLayoutChange();

     protected:
      nsresult SetupBidiKeyboards();
      bool IsRTLLanguage(HKL aLocale);

      bool mInitialized;
      bool mHaveBidiKeyboards;
      wchar_t mLTRKeyboard[KL_NAMELENGTH];
      wchar_t mRTLKeyboard[KL_NAMELENGTH];
      wchar_t mCurrentLocaleName[KL_NAMELENGTH];
    };