# Global Metrics

path: .metrics.cognitive.sum
old: 105.0
new: 1.0
path: .metrics.cognitive.average
old: 3.75
new: 0.5
path: .metrics.loc.lloc
old: 318.0
new: 10.0
path: .metrics.loc.cloc
old: 220.0
new: 7.0
path: .metrics.loc.ploc
old: 593.0
new: 54.0
path: .metrics.loc.sloc
old: 972.0
new: 74.0
path: .metrics.loc.blank
old: 159.0
new: 13.0
path: .metrics.nom.total
old: 28.0
new: 2.0
path: .metrics.nom.functions
old: 28.0
new: 2.0
path: .metrics.nargs.average
old: 0.7142857142857143
new: 0.5
path: .metrics.nargs.sum
old: 20.0
new: 1.0
path: .metrics.cyclomatic.average
old: 3.6666666666666665
new: 1.6666666666666667
path: .metrics.cyclomatic.sum
old: 110.0
new: 5.0
path: .metrics.mi.mi_visual_studio
old: 0.0
new: 38.68205845935817
path: .metrics.mi.mi_original
old: -17.565052838296097
new: 66.14631996550247
path: .metrics.mi.mi_sei
old: -56.2371816133106
new: 43.16963268164353
path: .metrics.nexits.average
old: 2.357142857142857
new: 0.5
path: .metrics.nexits.sum
old: 66.0
new: 1.0
path: .metrics.halstead.length
old: 2753.0
new: 118.0
path: .metrics.halstead.n2
old: 184.0
new: 40.0
path: .metrics.halstead.volume
old: 21274.965011412485
new: 688.2810216714395
path: .metrics.halstead.estimated_program_length
old: 1518.9413377321032
new: 282.3639920967503
path: .metrics.halstead.bugs
old: 5.035474511553379
new: 0.138648090812
path: .metrics.halstead.N2
old: 1147.0
new: 58.0
path: .metrics.halstead.n1
old: 28.0
new: 17.0
path: .metrics.halstead.difficulty
old: 87.27173913043478
new: 12.325
path: .metrics.halstead.purity_ratio
old: 0.5517404060051229
new: 2.3929151872605954
path: .metrics.halstead.effort
old: 1856703.1964851175
new: 8483.06359210049
path: .metrics.halstead.time
old: 103150.17758250654
new: 471.28131067224945
path: .metrics.halstead.vocabulary
old: 212.0
new: 57.0
path: .metrics.halstead.level
old: 0.011458463071366295
new: 0.08113590263691683
path: .metrics.halstead.N1
old: 1606.0
new: 60.0

# Spaces Data

## Minimal test - lines (36, 56)

path: .spaces[0].metrics.nargs.sum
old: 20.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 0.7142857142857143
new: 0.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: 0.0
new: 53.618614369824826
path: .spaces[0].metrics.mi.mi_original
old: -16.90966414445873
new: 91.68783057240046
path: .spaces[0].metrics.mi.mi_sei
old: -55.89618286517003
new: 84.51466320296251
path: .spaces[0].metrics.nom.functions
old: 28.0
new: 1.0
path: .spaces[0].metrics.nom.total
old: 28.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 109.0
new: 3.0
path: .spaces[0].metrics.cyclomatic.average
old: 3.7586206896551726
new: 3.0
path: .spaces[0].metrics.loc.ploc
old: 587.0
new: 14.0
path: .spaces[0].metrics.loc.sloc
old: 949.0
new: 21.0
path: .spaces[0].metrics.loc.lloc
old: 318.0
new: 4.0
path: .spaces[0].metrics.loc.blank
old: 155.0
new: 4.0
path: .spaces[0].metrics.loc.cloc
old: 207.0
new: 3.0
path: .spaces[0].metrics.cognitive.sum
old: 105.0
new: 1.0
path: .spaces[0].metrics.cognitive.average
old: 3.75
new: 1.0
path: .spaces[0].metrics.nexits.average
old: 2.357142857142857
new: 0.0
path: .spaces[0].metrics.nexits.sum
old: 66.0
new: 0.0
path: .spaces[0].metrics.halstead.N2
old: 1141.0
new: 24.0
path: .spaces[0].metrics.halstead.effort
old: 1874487.324388655
new: 2613.3333333333335
path: .spaces[0].metrics.halstead.level
old: 0.011268311005383749
new: 0.10714285714285714
path: .spaces[0].metrics.halstead.time
old: 104138.1846882586
new: 145.1851851851852
path: .spaces[0].metrics.halstead.volume
old: 21122.306146861018
new: 280.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.5406997794957908
new: 2.292171766692287
path: .spaces[0].metrics.halstead.length
old: 2743.0
new: 56.0
path: .spaces[0].metrics.halstead.difficulty
old: 88.74444444444444
new: 9.333333333333334
path: .spaces[0].metrics.halstead.estimated_program_length
old: 1483.1394951569544
new: 128.36161893476807
path: .spaces[0].metrics.halstead.bugs
old: 5.067577710757525
new: 0.06324243997959086
path: .spaces[0].metrics.halstead.n1
old: 28.0
new: 14.0
path: .spaces[0].metrics.halstead.n2
old: 180.0
new: 18.0
path: .spaces[0].metrics.halstead.N1
old: 1602.0
new: 32.0
path: .spaces[0].metrics.halstead.vocabulary
old: 208.0
new: 32.0

### Code

    void ShouldAbort() {
    #if defined(XP_UNIX)
      _gdb_sleep_duration = 0;
    #endif

      nsCOMPtr crashreporter =
          do_GetService("@mozilla.org/toolkit/crash-reporter;1");
      if (crashreporter) {
        crashreporter->SetEnabled(false);
      }

      std::vector v;
      int rv = 1;

      TRY {
        // v.at(1) on empty v should abort; NOT throw an exception

        // (Do some arithmetic with result of v.at() to avoid
        // compiler warnings for unused variable/result.)
        rv += v.at(1) ? 1 : 2;
      }