# Global Metrics

path: .metrics.nom.functions
old: 1.0
new: 0.0
path: .metrics.nom.total
old: 1.0
new: 0.0
path: .metrics.mi.mi_sei
old: 69.77715820501325
new: 65.63943776600972
path: .metrics.mi.mi_original
old: 69.16287583552027
new: 79.11116172924075
path: .metrics.mi.mi_visual_studio
old: 40.4461262196025
new: 46.26383726856184
path: .metrics.nexits.average
old: 0.0
new: null
path: .metrics.loc.cloc
old: 34.0
new: 6.0
path: .metrics.loc.blank
old: 1.0
new: 14.0
path: .metrics.loc.sloc
old: 63.0
new: 45.0
path: .metrics.loc.ploc
old: 28.0
new: 25.0
path: .metrics.loc.lloc
old: 9.0
new: 0.0
path: .metrics.cognitive.average
old: 1.0
new: null
path: .metrics.cyclomatic.sum
old: 3.0
new: 4.0
path: .metrics.cyclomatic.average
old: 1.5
new: 2.0
path: .metrics.halstead.bugs
old: 0.1872551641062522
new: 0.04859077849588775
path: .metrics.halstead.N2
old: 56.0
new: 24.0
path: .metrics.halstead.n1
old: 13.0
new: 11.0
path: .metrics.halstead.volume
old: 695.0
new: 280.0
path: .metrics.halstead.N1
old: 83.0
new: 32.0
path: .metrics.halstead.length
old: 139.0
new: 56.0
path: .metrics.halstead.n2
old: 19.0
new: 21.0
path: .metrics.halstead.difficulty
old: 19.157894736842103
new: 6.285714285714286
path: .metrics.halstead.level
old: 0.05219780219780219
new: 0.1590909090909091
path: .metrics.halstead.purity_ratio
old: 0.9267362524551244
new: 2.3266502443457897
path: .metrics.halstead.estimated_program_length
old: 128.8163390912623
new: 130.29241368336423
path: .metrics.halstead.time
old: 739.7076023391813
new: 97.77777777777776
path: .metrics.halstead.effort
old: 13314.736842105263
new: 1760.0
path: .metrics.nargs.average
old: 13.0
new: null
path: .metrics.nargs.sum
old: 13.0
new: 0.0

# Spaces Data

## Minimal test - lines (15, 35)

path: .spaces[0].metrics.cognitive.average
old: 1.0
new: null
path: .spaces[0].metrics.nargs.average
old: 13.0
new: null
path: .spaces[0].metrics.nargs.sum
old: 13.0
new: 0.0
path: .spaces[0].metrics.mi.mi_sei
old: 77.80903765488124
new: 58.502114978426334
path: .spaces[0].metrics.mi.mi_original
old: 76.61508793738955
new: 92.81067973292568
path: .spaces[0].metrics.mi.mi_visual_studio
old: 44.80414499262547
new: 54.27525130580449
path: .spaces[0].metrics.nexits.average
old: 0.0
new: null
path: .spaces[0].metrics.loc.cloc
old: 18.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 25.0
new: 16.0
path: .spaces[0].metrics.loc.blank
old: 0.0
new: 5.0
path: .spaces[0].metrics.loc.sloc
old: 41.0
new: 21.0
path: .spaces[0].metrics.loc.lloc
old: 9.0
new: 0.0
path: .spaces[0].metrics.halstead.volume
old: 660.6854153373498
new: 225.6211064707724
path: .spaces[0].metrics.halstead.time
old: 790.2990471656841
new: 78.13175353710082
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.8243067377634867
new: 2.0136897237320426
path: .spaces[0].metrics.halstead.level
old: 0.04644412191582003
new: 0.16042780748663102
path: .spaces[0].metrics.halstead.bugs
old: 0.19569875115612656
new: 0.04184197056687174
path: .spaces[0].metrics.halstead.length
old: 136.0
new: 48.0
path: .spaces[0].metrics.halstead.difficulty
old: 21.53125
new: 6.233333333333333
path: .spaces[0].metrics.halstead.vocabulary
old: 29.0
new: 26.0
path: .spaces[0].metrics.halstead.n1
old: 13.0
new: 11.0
path: .spaces[0].metrics.halstead.effort
old: 14225.382848982314
new: 1406.3715636678148
path: .spaces[0].metrics.halstead.estimated_program_length
old: 112.1057163358342
new: 96.65710673913804
path: .spaces[0].metrics.halstead.N1
old: 83.0
new: 31.0
path: .spaces[0].metrics.halstead.n2
old: 16.0
new: 15.0
path: .spaces[0].metrics.halstead.N2
old: 53.0
new: 17.0
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.cyclomatic.average
old: 2.0
new: 3.0
path: .spaces[0].metrics.cyclomatic.sum
old: 2.0
new: 3.0

### Code

    class nsUUIDGenerator final : public nsIUUIDGenerator {
     public:
      nsUUIDGenerator();

      NS_DECL_THREADSAFE_ISUPPORTS

      NS_DECL_NSIUUIDGENERATOR

      nsresult Init();

     private:
      ~nsUUIDGenerator();

     protected:
      mozilla::Mutex mLock;
    #if !defined(XP_WIN) && !defined(XP_MACOSX) && !defined(HAVE_ARC4RANDOM)
      char mState[128];
      char* mSavedState;
      uint8_t mRBytes;
    #endif
    };