# Global Metrics

path: .metrics.nargs.average
old: 1.5714285714285714
new: 0.0
path: .metrics.nargs.sum
old: 11.0
new: 0.0
path: .metrics.nexits.average
old: 0.2857142857142857
new: 0.0
path: .metrics.nexits.sum
old: 2.0
new: 0.0
path: .metrics.halstead.purity_ratio
old: 1.3113170344435872
new: 2.1862533305476526
path: .metrics.halstead.bugs
old: 0.18833951445933136
new: 0.03837534955658156
path: .metrics.halstead.effort
old: 13430.557848144816
new: 1235.2657464800766
path: .metrics.halstead.vocabulary
old: 51.0
new: 25.0
path: .metrics.halstead.length
old: 190.0
new: 42.0
path: .metrics.halstead.n2
old: 39.0
new: 15.0
path: .metrics.halstead.estimated_program_length
old: 249.15023654428157
new: 91.8226398830014
path: .metrics.halstead.n1
old: 12.0
new: 10.0
path: .metrics.halstead.volume
old: 1077.760814974584
new: 195.0419599705384
path: .metrics.halstead.time
old: 746.1421026747121
new: 68.6258748044487
path: .metrics.halstead.N1
old: 109.0
new: 23.0
path: .metrics.halstead.level
old: 0.08024691358024691
new: 0.15789473684210528
path: .metrics.halstead.N2
old: 81.0
new: 19.0
path: .metrics.halstead.difficulty
old: 12.461538461538462
new: 6.333333333333333
path: .metrics.loc.lloc
old: 5.0
new: 0.0
path: .metrics.loc.sloc
old: 59.0
new: 30.0
path: .metrics.loc.cloc
old: 8.0
new: 6.0
path: .metrics.loc.blank
old: 13.0
new: 7.0
path: .metrics.loc.ploc
old: 38.0
new: 17.0
path: .metrics.nom.functions
old: 7.0
new: 2.0
path: .metrics.nom.total
old: 7.0
new: 2.0
path: .metrics.cyclomatic.sum
old: 11.0
new: 4.0
path: .metrics.mi.mi_sei
old: 47.78824245673073
new: 82.96413114771147
path: .metrics.mi.mi_visual_studio
old: 38.65740409199861
new: 51.204611637638735
path: .metrics.mi.mi_original
old: 66.10416099731762
new: 87.55988590036225

# Spaces Data

## Minimal test - lines (16, 28)

path: .spaces[0].metrics.halstead.length
old: 1.0
new: 35.0
path: .spaces[0].metrics.halstead.level
old: null
new: 0.15384615384615383
path: .spaces[0].metrics.halstead.n1
old: 0.0
new: 10.0
path: .spaces[0].metrics.halstead.vocabulary
old: 1.0
new: 20.0
path: .spaces[0].metrics.halstead.bugs
old: 0.0
new: 0.032959810343729724
path: .spaces[0].metrics.halstead.N1
old: 0.0
new: 22.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: null
new: 66.43856189774725
path: .spaces[0].metrics.halstead.purity_ratio
old: null
new: 1.8982446256499217
path: .spaces[0].metrics.halstead.effort
old: 0.0
new: 983.2386415868748
path: .spaces[0].metrics.halstead.volume
old: 0.0
new: 151.26748332105768
path: .spaces[0].metrics.halstead.difficulty
old: 0.0
new: 6.5
path: .spaces[0].metrics.halstead.time
old: 0.0
new: 54.62436897704861
path: .spaces[0].metrics.halstead.n2
old: 1.0
new: 10.0
path: .spaces[0].metrics.halstead.N2
old: 1.0
new: 13.0
path: .spaces[0].metrics.cyclomatic.sum
old: 1.0
new: 3.0
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.nargs.average
old: null
new: 0.0
path: .spaces[0].metrics.loc.sloc
old: 1.0
new: 13.0
path: .spaces[0].metrics.loc.ploc
old: 1.0
new: 10.0
path: .spaces[0].metrics.loc.blank
old: 0.0
new: 3.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: null
new: 60.0343637780443
path: .spaces[0].metrics.mi.mi_sei
old: null
new: 72.70989451462025
path: .spaces[0].metrics.mi.mi_original
old: null
new: 102.65876206045576
path: .spaces[0].metrics.nexits.average
old: null
new: 0.0
path: .spaces[0].metrics.cognitive.average
old: null
new: 0.0

### Code

    class nsErrorService final : public nsIErrorService {
     public:
      NS_DECL_ISUPPORTS
      NS_DECL_NSIERRORSERVICE

      static already_AddRefed GetOrCreate();

     private:
      nsErrorService() = default;
      ~nsErrorService() = default;

      nsClassHashtable mErrorStringBundleURLMap;
    };