# Global Metrics

path: .metrics.nargs.sum
old: 6.0
new: 23.0
path: .metrics.nargs.average
old: 3.0
new: 0.8518518518518519
path: .metrics.nom.functions
old: 2.0
new: 27.0
path: .metrics.nom.total
old: 2.0
new: 27.0
path: .metrics.halstead.purity_ratio
old: 1.6023555948292103
new: 1.0626179399441251
path: .metrics.halstead.time
old: 547.2228998391786
new: 81336.33674185276
path: .metrics.halstead.volume
old: 798.6496376031254
new: 20244.26587621302
path: .metrics.halstead.difficulty
old: 12.333333333333334
new: 72.31944444444444
path: .metrics.halstead.effort
old: 9850.012197105214
new: 1464054.0613533498
path: .metrics.halstead.n2
old: 36.0
new: 288.0
path: .metrics.halstead.N2
old: 74.0
new: 1016.0
path: .metrics.halstead.bugs
old: 0.15316866394816292
new: 4.297839117895994
path: .metrics.halstead.level
old: 0.08108108108108107
new: 0.013827539850201652
path: .metrics.halstead.N1
old: 69.0
new: 1405.0
path: .metrics.halstead.length
old: 143.0
new: 2421.0
path: .metrics.halstead.n1
old: 12.0
new: 41.0
path: .metrics.halstead.vocabulary
old: 48.0
new: 329.0
path: .metrics.halstead.estimated_program_length
old: 229.1368500605771
new: 2572.5980326047275
path: .metrics.mi.mi_visual_studio
old: 37.98781049935982
new: 0.0
path: .metrics.mi.mi_original
old: 64.95915595390528
new: -14.268992718720256
path: .metrics.mi.mi_sei
old: 56.47419822975867
new: -59.81837961831535
path: .metrics.cognitive.sum
old: 1.0
new: 166.0
path: .metrics.cognitive.average
old: 0.5
new: 6.148148148148148
path: .metrics.cyclomatic.sum
old: 4.0
new: 116.0
path: .metrics.cyclomatic.average
old: 1.3333333333333333
new: 3.135135135135135
path: .metrics.nexits.average
old: 1.0
new: 0.7037037037037037
path: .metrics.nexits.sum
old: 2.0
new: 19.0
path: .metrics.loc.sloc
old: 77.0
new: 740.0
path: .metrics.loc.blank
old: 13.0
new: 98.0
path: .metrics.loc.cloc
old: 24.0
new: 82.0
path: .metrics.loc.lloc
old: 13.0
new: 255.0
path: .metrics.loc.ploc
old: 40.0
new: 560.0

# Spaces Data

## Minimal test - lines (65, 68)

path: .spaces[0].metrics.nargs.sum
old: 2.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 2.0
new: 0.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: 58.71828098635389
new: 76.01872489114953
path: .spaces[0].metrics.mi.mi_sei
old: 69.25946733579077
new: 112.14344956613078
path: .spaces[0].metrics.mi.mi_original
old: 100.40826048666514
new: 129.9920195638657
path: .spaces[0].metrics.nom.total
old: 1.0
new: 2.0
path: .spaces[0].metrics.nom.functions
old: 1.0
new: 2.0
path: .spaces[0].metrics.loc.blank
old: 2.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 11.0
new: 4.0
path: .spaces[0].metrics.loc.sloc
old: 13.0
new: 4.0
path: .spaces[0].metrics.loc.lloc
old: 6.0
new: 1.0
path: .spaces[0].metrics.halstead.length
old: 58.0
new: 12.0
path: .spaces[0].metrics.halstead.n1
old: 8.0
new: 4.0
path: .spaces[0].metrics.halstead.N1
old: 28.0
new: 8.0
path: .spaces[0].metrics.halstead.difficulty
old: 9.23076923076923
new: 4.0
path: .spaces[0].metrics.halstead.effort
old: 2351.5791740415516
new: 124.07820003461548
path: .spaces[0].metrics.halstead.volume
old: 254.75441052116813
new: 31.019550008653873
path: .spaces[0].metrics.halstead.level
old: 0.10833333333333334
new: 0.25
path: .spaces[0].metrics.halstead.time
old: 130.64328744675288
new: 6.893233335256416
path: .spaces[0].metrics.halstead.vocabulary
old: 21.0
new: 6.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.2432020057902446
new: 0.8333333333333334
path: .spaces[0].metrics.halstead.N2
old: 30.0
new: 4.0
path: .spaces[0].metrics.halstead.n2
old: 13.0
new: 2.0
path: .spaces[0].metrics.halstead.bugs
old: 0.05894565738936102
new: 0.008292313926743422
path: .spaces[0].metrics.halstead.estimated_program_length
old: 72.10571633583419
new: 10.0
path: .spaces[0].metrics.nexits.average
old: 1.0
new: 0.0
path: .spaces[0].metrics.nexits.sum
old: 1.0
new: 0.0
path: .spaces[0].metrics.cyclomatic.sum
old: 1.0
new: 3.0

### Code

    struct JprofShutdown {
      JprofShutdown() {}
      ~JprofShutdown() { DumpAddressMap(); }
    };

## Minimal test - lines (70, 75)

path: .spaces[1].metrics.cyclomatic.average
old: 2.0
new: 1.0
path: .spaces[1].metrics.cyclomatic.sum
old: 2.0
new: 1.0
path: .spaces[1].metrics.halstead.N1
old: 23.0
new: 4.0
path: .spaces[1].metrics.halstead.purity_ratio
old: 1.7048394567039014
new: 1.8221267860233523
path: .spaces[1].metrics.halstead.level
old: 0.12444444444444444
new: 0.5
path: .spaces[1].metrics.halstead.time
old: 96.933470486936
new: 2.1834982727114696
path: .spaces[1].metrics.halstead.difficulty
old: 8.035714285714286
new: 2.0
path: .spaces[1].metrics.halstead.vocabulary
old: 23.0
new: 7.0
path: .spaces[1].metrics.halstead.estimated_program_length
old: 81.83229392178727
new: 12.754887502163468
path: .spaces[1].metrics.halstead.bugs
old: 0.04831065473253644
new: 0.0038532659414573967
path: .spaces[1].metrics.halstead.N2
old: 25.0
new: 3.0
path: .spaces[1].metrics.halstead.length
old: 48.0
new: 7.0
path: .spaces[1].metrics.halstead.effort
old: 1744.802468764848
new: 39.302968908806456
path: .spaces[1].metrics.halstead.n1
old: 9.0
new: 4.0
path: .spaces[1].metrics.halstead.volume
old: 217.13097389073664
new: 19.651484454403228
path: .spaces[1].metrics.halstead.n2
old: 14.0
new: 3.0
path: .spaces[1].metrics.loc.blank
old: 4.0
new: 0.0
path: .spaces[1].metrics.loc.lloc
old: 6.0
new: 0.0
path: .spaces[1].metrics.loc.ploc
old: 14.0
new: 3.0
path: .spaces[1].metrics.loc.sloc
old: 18.0
new: 6.0
path: .spaces[1].metrics.loc.cloc
old: 0.0
new: 3.0
path: .spaces[1].metrics.nargs.average
old: 4.0
new: 0.0
path: .spaces[1].metrics.nargs.sum
old: 4.0
new: 0.0
path: .spaces[1].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[1].metrics.cognitive.average
old: 1.0
new: 0.0
path: .spaces[1].metrics.nexits.average
old: 1.0
new: 0.0
path: .spaces[1].metrics.nexits.sum
old: 1.0
new: 0.0
path: .spaces[1].metrics.mi.mi_sei
old: 62.62262197075006
new: 151.00806445994368
path: .spaces[1].metrics.mi.mi_original
old: 95.73737368560364
new: 126.2571016213862
path: .spaces[1].metrics.mi.mi_visual_studio
old: 55.98676823719511
new: 73.83456235168784

### Code

    static void RegisterJprofShutdown() {
      // This instanciates the dummy class above, and will trigger the class
      // destructor when libxul is unloaded. This is equivalent to atexit(),
      // but gracefully handles dlclose().
      static JprofShutdown t;
    }