# Global Metrics

path: .metrics.nexits.average
old: null
new: 2.125
path: .metrics.nexits.sum
old: 0.0
new: 68.0
path: .metrics.cyclomatic.average
old: 1.0
new: 2.9411764705882355
path: .metrics.cyclomatic.sum
old: 2.0
new: 100.0
path: .metrics.cognitive.average
old: null
new: 1.8125
path: .metrics.cognitive.sum
old: 0.0
new: 58.0
path: .metrics.nom.total
old: 0.0
new: 32.0
path: .metrics.nom.functions
old: 0.0
new: 32.0
path: .metrics.mi.mi_original
old: 82.63568931160219
new: -3.482582295741921
path: .metrics.mi.mi_visual_studio
old: 48.32496450970889
new: 0.0
path: .metrics.mi.mi_sei
old: 91.74885422006152
new: -53.08149243512284
path: .metrics.nargs.average
old: null
new: 1.59375
path: .metrics.nargs.sum
old: 0.0
new: 51.0
path: .metrics.halstead.level
old: 0.2
new: 0.011676396997497916
path: .metrics.halstead.n1
old: 7.0
new: 33.0
path: .metrics.halstead.estimated_program_length
old: 39.302968908806456
new: 1224.8168406297746
path: .metrics.halstead.effort
old: 494.95613986748856
new: 1265281.94520347
path: .metrics.halstead.time
old: 27.497563325971587
new: 70293.44140019278
path: .metrics.halstead.N2
old: 10.0
new: 763.0
path: .metrics.halstead.purity_ratio
old: 1.5116526503387098
new: 0.6211038745587092
path: .metrics.halstead.n2
old: 7.0
new: 147.0
path: .metrics.halstead.vocabulary
old: 14.0
new: 180.0
path: .metrics.halstead.volume
old: 98.99122797349771
new: 14773.93430596212
path: .metrics.halstead.N1
old: 16.0
new: 1209.0
path: .metrics.halstead.length
old: 26.0
new: 1972.0
path: .metrics.halstead.bugs
old: 0.0208572264295584
new: 3.89945236331038
path: .metrics.halstead.difficulty
old: 5.0
new: 85.64285714285714
path: .metrics.loc.cloc
old: 36.0
new: 28.0
path: .metrics.loc.lloc
old: 0.0
new: 159.0
path: .metrics.loc.sloc
old: 52.0
new: 528.0
path: .metrics.loc.blank
old: 5.0
new: 105.0
path: .metrics.loc.ploc
old: 11.0
new: 395.0

# Spaces Data

## Minimal test - lines (22, 36)

path: .spaces[0].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[0].metrics.nargs.average
old: null
new: 0.0
path: .spaces[0].metrics.halstead.n2
old: 6.0
new: 10.0
path: .spaces[0].metrics.halstead.vocabulary
old: 13.0
new: 17.0
path: .spaces[0].metrics.halstead.N2
old: 8.0
new: 16.0
path: .spaces[0].metrics.halstead.volume
old: 85.11011351724513
new: 163.49851365001356
path: .spaces[0].metrics.halstead.length
old: 23.0
new: 40.0
path: .spaces[0].metrics.halstead.time
old: 22.06558498595244
new: 50.86620424667088
path: .spaces[0].metrics.halstead.N1
old: 15.0
new: 24.0
path: .spaces[0].metrics.halstead.effort
old: 397.180529747144
new: 915.5916764400758
path: .spaces[0].metrics.halstead.difficulty
old: 4.666666666666667
new: 5.6
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.5287504112491377
new: 1.3217691350819212
path: .spaces[0].metrics.halstead.level
old: 0.21428571428571427
new: 0.17857142857142858
path: .spaces[0].metrics.halstead.bugs
old: 0.018010981456742813
new: 0.031430163184881066
path: .spaces[0].metrics.halstead.estimated_program_length
old: 35.161259458730164
new: 52.87076540327685
path: .spaces[0].metrics.nom.total
old: 0.0
new: 2.0
path: .spaces[0].metrics.nom.functions
old: 0.0
new: 2.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: 66.65177104926332
new: 58.44222600286446
path: .spaces[0].metrics.mi.mi_original
old: 113.97452849424027
new: 99.93620646489822
path: .spaces[0].metrics.mi.mi_sei
old: 88.83145491368998
new: 68.78207705836488
path: .spaces[0].metrics.loc.sloc
old: 8.0
new: 15.0
path: .spaces[0].metrics.loc.blank
old: 1.0
new: 3.0
path: .spaces[0].metrics.loc.ploc
old: 7.0
new: 12.0
path: .spaces[0].metrics.loc.lloc
old: 0.0
new: 1.0
path: .spaces[0].metrics.nexits.average
old: null
new: 0.0
path: .spaces[0].metrics.cyclomatic.sum
old: 1.0
new: 3.0

### Code

    class nsWindowsRegKey final : public nsIWindowsRegKey {
     public:
      NS_DECL_ISUPPORTS
      NS_DECL_NSIWINDOWSREGKEY

      nsWindowsRegKey()
          : mKey(nullptr), mWatchEvent(nullptr), mWatchRecursive(FALSE) {}

     private:
      ~nsWindowsRegKey() { Close(); }

      HKEY mKey;
      HANDLE mWatchEvent;
      BOOL mWatchRecursive;
    };