# Global Metrics

path: .metrics.halstead.volume
old: 2493.4191328934576
new: 2877.464505886483
path: .metrics.halstead.N2
old: 133.0
new: 189.0
path: .metrics.halstead.level
old: 0.08559861191440139
new: 0.039153439153439155
path: .metrics.halstead.length
old: 387.0
new: 439.0
path: .metrics.halstead.bugs
old: 0.3155715107602165
new: 0.5848423116786234
path: .metrics.halstead.difficulty
old: 11.682432432432432
new: 25.54054054054054
path: .metrics.halstead.n1
old: 13.0
new: 20.0
path: .metrics.halstead.estimated_program_length
old: 507.6052653923765
new: 545.9381109542895
path: .metrics.halstead.purity_ratio
old: 1.3116415126417995
new: 1.243594785772869
path: .metrics.halstead.vocabulary
old: 87.0
new: 94.0
path: .metrics.halstead.time
old: 1618.2889192090045
new: 4082.88882592001
path: .metrics.halstead.effort
old: 29129.20054576208
new: 73491.99886656017
path: .metrics.halstead.N1
old: 254.0
new: 250.0
path: .metrics.nargs.average
old: 1.0
new: 0.2
path: .metrics.nargs.sum
old: 3.0
new: 2.0
path: .metrics.loc.ploc
old: 67.0
new: 62.0
path: .metrics.loc.sloc
old: 93.0
new: 7.0
path: .metrics.loc.lloc
old: 3.0
new: 17.0
path: .metrics.loc.blank
old: 17.0
new: 0.0
path: .metrics.loc.cloc
old: 9.0
new: 0.0
path: .metrics.nexits.average
old: 0.6666666666666666
new: 0.0
path: .metrics.nexits.sum
old: 2.0
new: 0.0
path: .metrics.mi.mi_sei
old: 27.72387832950112
new: 63.23982169327469
path: .metrics.mi.mi_visual_studio
old: 32.19915509109635
new: 55.86549625548131
path: .metrics.mi.mi_original
old: 55.06055520577476
new: 95.52999859687304
path: .metrics.cognitive.average
old: 0.0
new: 0.6
path: .metrics.cognitive.sum
old: 0.0
new: 6.0
path: .metrics.nom.functions
old: 3.0
new: 2.0
path: .metrics.nom.total
old: 3.0
new: 10.0
path: .metrics.nom.closures
old: 0.0
new: 8.0
path: .metrics.cyclomatic.sum
old: 8.0
new: 11.0
path: .metrics.cyclomatic.average
old: 1.0
new: 3.6666666666666665

# Spaces Data

## Minimal test - lines (18, 18)

path: .spaces[0].metrics.nexits.average
old: null
new: 0.0
path: .spaces[0].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[0].metrics.mi.mi_sei
old: null
new: 145.25416890283572
path: .spaces[0].metrics.mi.mi_visual_studio
old: null
new: 89.52267462886361
path: .spaces[0].metrics.mi.mi_original
old: null
new: 153.0837736153568
path: .spaces[0].metrics.nargs.average
old: null
new: 1.0
path: .spaces[0].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[0].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[0].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: null
new: 16.0
path: .spaces[0].metrics.halstead.purity_ratio
old: null
new: 1.6
path: .spaces[0].metrics.halstead.time
old: 0.0
new: 4.166666666666667
path: .spaces[0].metrics.halstead.length
old: 1.0
new: 10.0
path: .spaces[0].metrics.halstead.vocabulary
old: 1.0
new: 8.0
path: .spaces[0].metrics.halstead.n2
old: 1.0
new: 4.0
path: .spaces[0].metrics.halstead.bugs
old: 0.0
new: 0.005928155507483437
path: .spaces[0].metrics.halstead.level
old: null
new: 0.4
path: .spaces[0].metrics.halstead.N2
old: 1.0
new: 5.0
path: .spaces[0].metrics.halstead.N1
old: 0.0
new: 5.0
path: .spaces[0].metrics.halstead.difficulty
old: 0.0
new: 2.5
path: .spaces[0].metrics.halstead.effort
old: 0.0
new: 75.0
path: .spaces[0].metrics.halstead.volume
old: 0.0
new: 30.0
path: .spaces[0].metrics.halstead.n1
old: 0.0
new: 4.0

### Code

      explicit StringWriteFunc(nsAString& aStr) : mString(aStr) {}

## Minimal test - lines (19, 21)

path: .spaces[1].metrics.halstead.volume
old: 0.0
new: 106.27403387250882
path: .spaces[1].metrics.halstead.vocabulary
old: 1.0
new: 17.0
path: .spaces[1].metrics.halstead.estimated_program_length
old: null
new: 52.529325012980806
path: .spaces[1].metrics.halstead.N2
old: 1.0
new: 10.0
path: .spaces[1].metrics.halstead.n2
old: 1.0
new: 8.0
path: .spaces[1].metrics.halstead.n1
old: 0.0
new: 9.0
path: .spaces[1].metrics.halstead.effort
old: 0.0
new: 597.7914405328621
path: .spaces[1].metrics.halstead.time
old: 0.0
new: 33.210635585159004
path: .spaces[1].metrics.halstead.level
old: null
new: 0.17777777777777778
path: .spaces[1].metrics.halstead.N1
old: 0.0
new: 16.0
path: .spaces[1].metrics.halstead.length
old: 1.0
new: 26.0
path: .spaces[1].metrics.halstead.purity_ratio
old: null
new: 2.0203586543454155
path: .spaces[1].metrics.halstead.bugs
old: 0.0
new: 0.023654396566148563
path: .spaces[1].metrics.halstead.difficulty
old: 0.0
new: 5.625
path: .spaces[1].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[1].metrics.loc.sloc
old: 1.0
new: 3.0
path: .spaces[1].metrics.loc.ploc
old: 1.0
new: 3.0
path: .spaces[1].metrics.loc.lloc
old: 0.0
new: 1.0
path: .spaces[1].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[1].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[1].metrics.mi.mi_visual_studio
old: null
new: 75.26852152632246
path: .spaces[1].metrics.mi.mi_original
old: null
new: 128.7091718100114
path: .spaces[1].metrics.mi.mi_sei
old: null
new: 110.08905175462075
path: .spaces[1].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[1].metrics.nargs.average
old: null
new: 1.0
path: .spaces[1].metrics.nexits.average
old: null
new: 0.0

### Code

      void Write(const Span& aStr) override {
        mString.Append(NS_ConvertUTF8toUTF16(aStr.data(), aStr.size()));
      }