# Global Metrics

path: .metrics.cognitive.average
old: 0.4705882352941176
new: null
path: .metrics.cognitive.sum
old: 8.0
new: 0.0
path: .metrics.nexits.average
old: 1.0
new: null
path: .metrics.nexits.sum
old: 17.0
new: 0.0
path: .metrics.cyclomatic.average
old: 1.8
new: 1.0
path: .metrics.cyclomatic.sum
old: 36.0
new: 2.0
path: .metrics.loc.cloc
old: 240.0
new: 22.0
path: .metrics.loc.ploc
old: 129.0
new: 18.0
path: .metrics.loc.blank
old: 45.0
new: 8.0
path: .metrics.loc.sloc
old: 414.0
new: 48.0
path: .metrics.loc.lloc
old: 23.0
new: 0.0
path: .metrics.nargs.sum
old: 14.0
new: 0.0
path: .metrics.nargs.average
old: 0.8235294117647058
new: null
path: .metrics.nom.functions
old: 17.0
new: 0.0
path: .metrics.nom.total
old: 17.0
new: 0.0
path: .metrics.mi.mi_visual_studio
old: 11.367341363438705
new: 45.79071762513147
path: .metrics.mi.mi_original
old: 19.438153731480185
new: 78.30212713897481
path: .metrics.mi.mi_sei
old: 2.229442438983625
new: 80.81037462632827
path: .metrics.halstead.estimated_program_length
old: 886.7766274972844
new: 124.49230970275752
path: .metrics.halstead.time
old: 17767.117322206912
new: 116.10709519648351
path: .metrics.halstead.N1
old: 472.0
new: 33.0
path: .metrics.halstead.effort
old: 319808.1117997244
new: 2089.9277135367033
path: .metrics.halstead.bugs
old: 1.5588526375000962
new: 0.054487839573959744
path: .metrics.halstead.n1
old: 25.0
new: 11.0
path: .metrics.halstead.vocabulary
old: 138.0
new: 31.0
path: .metrics.halstead.n2
old: 113.0
new: 20.0
path: .metrics.halstead.length
old: 916.0
new: 59.0
path: .metrics.halstead.purity_ratio
old: 0.9680967549096992
new: 2.1100391475043647
path: .metrics.halstead.volume
old: 6511.408402408803
new: 292.2975823128256
path: .metrics.halstead.N2
old: 444.0
new: 26.0
path: .metrics.halstead.difficulty
old: 49.11504424778761
new: 7.15
path: .metrics.halstead.level
old: 0.02036036036036036
new: 0.13986013986013984

# Spaces Data

## Minimal test - lines (31, 46)

path: .spaces[0].metrics.halstead.vocabulary
old: 22.0
new: 28.0
path: .spaces[0].metrics.halstead.N1
old: 27.0
new: 32.0
path: .spaces[0].metrics.halstead.difficulty
old: 9.346153846153848
new: 7.117647058823529
path: .spaces[0].metrics.halstead.estimated_program_length
old: 76.63504134881501
new: 107.54061610626604
path: .spaces[0].metrics.halstead.time
old: 125.03560192256116
new: 102.65116686511236
path: .spaces[0].metrics.halstead.n1
old: 9.0
new: 11.0
path: .spaces[0].metrics.halstead.n2
old: 13.0
new: 17.0
path: .spaces[0].metrics.halstead.volume
old: 240.8093074064141
new: 259.5971657911106
path: .spaces[0].metrics.halstead.effort
old: 2250.6408346061007
new: 1847.7210035720225
path: .spaces[0].metrics.halstead.N2
old: 27.0
new: 22.0
path: .spaces[0].metrics.halstead.bugs
old: 0.05724657935260006
new: 0.050192212765559824
path: .spaces[0].metrics.halstead.level
old: 0.10699588477366256
new: 0.14049586776859505
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.419167432385463
new: 1.9914928908567784
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.nargs.sum
old: 4.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 4.0
new: null
path: .spaces[0].metrics.nexits.average
old: 1.0
new: null
path: .spaces[0].metrics.nexits.sum
old: 1.0
new: 0.0
path: .spaces[0].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[0].metrics.cognitive.average
old: 1.0
new: null
path: .spaces[0].metrics.loc.ploc
old: 4.0
new: 13.0
path: .spaces[0].metrics.loc.blank
old: 0.0
new: 3.0
path: .spaces[0].metrics.loc.sloc
old: 4.0
new: 16.0
path: .spaces[0].metrics.loc.lloc
old: 1.0
new: 0.0
path: .spaces[0].metrics.mi.mi_sei
old: 96.53891381186428
new: 64.26531972425421
path: .spaces[0].metrics.mi.mi_visual_studio
old: 69.65216576220925
new: 56.69390710551367
path: .spaces[0].metrics.mi.mi_original
old: 119.1052034533778
new: 96.94658115042836
path: .spaces[0].metrics.cyclomatic.average
old: 4.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 4.0
new: 1.0

### Code

    class nsStaticCaseInsensitiveNameTable {
     public:
      enum { NOT_FOUND = -1 };

      int32_t Lookup(const nsACString& aName) const;
      int32_t Lookup(const nsAString& aName) const;
      const nsCString& GetStringValue(int32_t aIndex);

      nsStaticCaseInsensitiveNameTable(const char* const aNames[], int32_t aLength);
      ~nsStaticCaseInsensitiveNameTable();

     private:
      nsDependentCString* mNameArray;
      PLDHashTable mNameTable;
      nsDependentCString mNullStr;
    };