# Global Metrics

path: .metrics.halstead.length
old: 381.0
new: 296.0
path: .metrics.halstead.time
old: 9962.045975951309
new: 2584.6301025779376
path: .metrics.halstead.N1
old: 217.0
new: 163.0
path: .metrics.halstead.difficulty
old: 77.31428571428572
new: 27.708333333333332
path: .metrics.halstead.n2
old: 35.0
new: 36.0
path: .metrics.halstead.N2
old: 164.0
new: 133.0
path: .metrics.halstead.bugs
old: 1.059968054194358
new: 0.43118073396170303
path: .metrics.halstead.estimated_program_length
old: 345.98991153190275
new: 244.720658986051
path: .metrics.halstead.level
old: 0.012934220251293422
new: 0.03609022556390978
path: .metrics.halstead.purity_ratio
old: 0.9081100040207422
new: 0.8267589830609832
path: .metrics.halstead.n1
old: 33.0
new: 15.0
path: .metrics.halstead.effort
old: 179316.82756712352
new: 46523.34184640288
path: .metrics.halstead.volume
old: 2319.3233425163794
new: 1679.0379012235626
path: .metrics.halstead.vocabulary
old: 68.0
new: 51.0
path: .metrics.cognitive.sum
old: 38.0
new: 6.0
path: .metrics.cognitive.average
old: 38.0
new: 1.5
path: .metrics.mi.mi_visual_studio
old: 32.266776751688184
new: 32.50201780519088
path: .metrics.mi.mi_sei
old: 17.71381001182788
new: 35.671179979722
path: .metrics.mi.mi_original
old: 55.1761882453868
new: 55.5784504468764
path: .metrics.loc.sloc
old: 82.0
new: 98.0
path: .metrics.loc.blank
old: 7.0
new: 21.0
path: .metrics.loc.cloc
old: 2.0
new: 17.0
path: .metrics.loc.lloc
old: 37.0
new: 20.0
path: .metrics.loc.ploc
old: 73.0
new: 60.0
path: .metrics.nom.total
old: 1.0
new: 4.0
path: .metrics.nom.functions
old: 1.0
new: 4.0
path: .metrics.nargs.average
old: 5.0
new: 2.0
path: .metrics.nargs.sum
old: 5.0
new: 8.0
path: .metrics.nexits.average
old: 2.0
new: 1.5
path: .metrics.nexits.sum
old: 2.0
new: 6.0
path: .metrics.cyclomatic.average
old: 9.0
new: 2.2
path: .metrics.cyclomatic.sum
old: 18.0
new: 11.0

# Spaces Data

## Minimal test - lines (16, 19)

path: .spaces[0].metrics.mi.mi_visual_studio
old: 33.57555255814311
new: 73.55682051328075
path: .spaces[0].metrics.mi.mi_original
old: 57.41419487442472
new: 125.7821630777101
path: .spaces[0].metrics.mi.mi_sei
old: 8.861259839828179
new: 105.86627077189092
path: .spaces[0].metrics.loc.ploc
old: 70.0
new: 4.0
path: .spaces[0].metrics.loc.sloc
old: 73.0
new: 4.0
path: .spaces[0].metrics.loc.blank
old: 3.0
new: 0.0
path: .spaces[0].metrics.loc.lloc
old: 37.0
new: 2.0
path: .spaces[0].metrics.nargs.average
old: 5.0
new: 2.0
path: .spaces[0].metrics.nargs.sum
old: 5.0
new: 2.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 326.465005938829
new: 39.50977500432694
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.8682579945181622
new: 1.975488750216347
path: .spaces[0].metrics.halstead.bugs
old: 1.0893099195799127
new: 0.014454458614406371
path: .spaces[0].metrics.halstead.length
old: 376.0
new: 20.0
path: .spaces[0].metrics.halstead.N1
old: 216.0
new: 10.0
path: .spaces[0].metrics.halstead.n2
old: 32.0
new: 8.0
path: .spaces[0].metrics.halstead.vocabulary
old: 65.0
new: 14.0
path: .spaces[0].metrics.halstead.n1
old: 33.0
new: 6.0
path: .spaces[0].metrics.halstead.effort
old: 186813.84956014264
new: 285.5516191543203
path: .spaces[0].metrics.halstead.N2
old: 160.0
new: 10.0
path: .spaces[0].metrics.halstead.level
old: 0.01212121212121212
new: 0.26666666666666666
path: .spaces[0].metrics.halstead.volume
old: 2264.4102976986987
new: 76.14709844115208
path: .spaces[0].metrics.halstead.difficulty
old: 82.5
new: 3.75
path: .spaces[0].metrics.halstead.time
old: 10378.5471977857
new: 15.863978841906684
path: .spaces[0].metrics.cyclomatic.average
old: 17.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 17.0
new: 1.0
path: .spaces[0].metrics.cognitive.sum
old: 38.0
new: 0.0
path: .spaces[0].metrics.cognitive.average
old: 38.0
new: 0.0
path: .spaces[0].metrics.nexits.average
old: 2.0
new: 1.0
path: .spaces[0].metrics.nexits.sum
old: 2.0
new: 1.0

### Code

    nsresult NS_CopyNativeToUnicode(const nsACString& aInput, nsAString& aOutput) {
      CopyUTF8toUTF16(aInput, aOutput);
      return NS_OK;
    }