# Global Metrics

path: .metrics.cyclomatic.average
old: 1.0
new: 1.8666666666666667
path: .metrics.cyclomatic.sum
old: 10.0
new: 56.0
path: .metrics.cognitive.average
old: 0.0
new: 1.2307692307692308
path: .metrics.cognitive.sum
old: 0.0
new: 32.0
path: .metrics.loc.cloc
old: 8.0
new: 25.0
path: .metrics.loc.sloc
old: 61.0
new: 311.0
path: .metrics.loc.lloc
old: 5.0
new: 80.0
path: .metrics.loc.blank
old: 14.0
new: 57.0
path: .metrics.loc.ploc
old: 39.0
new: 229.0
path: .metrics.nexits.average
old: 0.8333333333333334
new: 1.2307692307692308
path: .metrics.nexits.sum
old: 5.0
new: 32.0
path: .metrics.nargs.sum
old: 0.0
new: 35.0
path: .metrics.nargs.average
old: 0.0
new: 1.3461538461538465
path: .metrics.nom.total
old: 6.0
new: 26.0
path: .metrics.nom.functions
old: 6.0
new: 26.0
path: .metrics.halstead.volume
old: 1193.0509411839084
new: 7145.957769562049
path: .metrics.halstead.estimated_program_length
old: 381.9747842438563
new: 827.2072120266113
path: .metrics.halstead.N1
old: 116.0
new: 598.0
path: .metrics.halstead.length
old: 194.0
new: 1016.0
path: .metrics.halstead.n1
old: 16.0
new: 26.0
path: .metrics.halstead.difficulty
old: 11.345454545454546
new: 51.75238095238095
path: .metrics.halstead.vocabulary
old: 71.0
new: 131.0
path: .metrics.halstead.purity_ratio
old: 1.9689421868240016
new: 0.8141803267978457
path: .metrics.halstead.time
old: 751.9836235340998
new: 20545.573820000092
path: .metrics.halstead.n2
old: 55.0
new: 105.0
path: .metrics.halstead.level
old: 0.08814102564102563
new: 0.019322782480677217
path: .metrics.halstead.N2
old: 78.0
new: 418.0
path: .metrics.halstead.bugs
old: 0.18932123864079783
new: 1.7174045091814296
path: .metrics.halstead.effort
old: 13535.705223613795
new: 369820.3287600017
path: .metrics.mi.mi_sei
old: 46.0786757112831
new: -21.341335940683983
path: .metrics.mi.mi_original
old: 65.26564396985788
new: 18.98898375239129
path: .metrics.mi.mi_visual_studio
old: 38.16704325722683
new: 11.10466886104754

# Spaces Data

## Minimal test - lines (22, 35)

path: .spaces[0].spaces[0].metrics.halstead.effort
old: 10232.933554650974
new: 1203.5794621423493
path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 62.0
new: 19.0
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.15711302171331773
new: 0.03771625738775328
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 964.5798022826738
new: 144.4295354570819
path: .spaces[0].spaces[0].metrics.halstead.time
old: 568.4963085917208
new: 66.86552567457495
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 61.0
new: 15.0
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 10.608695652173912
new: 8.333333333333334
path: .spaces[0].spaces[0].metrics.halstead.n2
old: 46.0
new: 9.0
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.9634805554235963
new: 1.816135469466307
path: .spaces[0].spaces[0].metrics.halstead.n1
old: 16.0
new: 10.0
path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 318.0838499786226
new: 61.74860596185444
path: .spaces[0].spaces[0].metrics.halstead.N1
old: 101.0
new: 19.0
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.09426229508196722
new: 0.12
path: .spaces[0].spaces[0].metrics.halstead.length
old: 162.0
new: 34.0
path: .spaces[0].spaces[0].metrics.nom.total
old: 6.0
new: 2.0
path: .spaces[0].spaces[0].metrics.nom.functions
old: 6.0
new: 2.0
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 74.49830285644435
new: 101.6987541876893
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 43.566258980376816
new: 59.47295566531538
path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 32.59203896885934
new: 71.3248959173657
path: .spaces[0].spaces[0].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nargs.average
old: 0.0
new: 0.5
path: .spaces[0].spaces[0].metrics.loc.lloc
old: 5.0
new: 1.0
path: .spaces[0].spaces[0].metrics.loc.ploc
old: 26.0
new: 11.0
path: .spaces[0].spaces[0].metrics.loc.blank
old: 12.0
new: 3.0
path: .spaces[0].spaces[0].metrics.loc.sloc
old: 38.0
new: 14.0
path: .spaces[0].spaces[0].metrics.cyclomatic.sum
old: 8.0
new: 3.0
path: .spaces[0].spaces[0].metrics.nexits.average
old: 0.8333333333333334
new: 0.0
path: .spaces[0].spaces[0].metrics.nexits.sum
old: 5.0
new: 0.0

### Code

    class JSStringEnumerator final : public nsIJSEnumerator {
      NS_DECL_ISUPPORTS
      NS_DECL_NSIJSENUMERATOR

      explicit JSStringEnumerator(nsIStringEnumerator* aEnumerator)
          : mEnumerator(aEnumerator) {
        MOZ_ASSERT(mEnumerator);
      }

     private:
      ~JSStringEnumerator() = default;

      nsCOMPtr mEnumerator;
    };

## Minimal test - lines (26, 29)

path: .spaces[0].spaces[0].spaces[0].metrics.nexits.average
old: 0.8333333333333334
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.nexits.sum
old: 5.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.cyclomatic.sum
old: 7.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.mi.mi_sei
old: 35.59141091527144
new: 109.56524600794845
path: .spaces[0].spaces[0].spaces[0].metrics.mi.mi_original
old: 76.64788521302171
new: 128.3460973335444
path: .spaces[0].spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 44.82332468597761
new: 75.0561972710786
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.effort
old: 10058.530524506656
new: 162.77447664948076
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.n1
old: 16.0
new: 5.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.volume
old: 942.987236672499
new: 46.50699332842307
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.difficulty
old: 10.666666666666666
new: 3.5
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.vocabulary
old: 61.0
new: 10.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.N2
old: 60.0
new: 7.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 311.13338933483533
new: 23.21928094887362
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.N1
old: 99.0
new: 7.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.95681376940148
new: 1.6585200677766871
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.time
old: 558.8072513614809
new: 9.04302648052671
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.n2
old: 45.0
new: 5.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.length
old: 159.0
new: 14.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.level
old: 0.09375
new: 0.2857142857142857
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.bugs
old: 0.15532276177613585
new: 0.009937327824150632
path: .spaces[0].spaces[0].spaces[0].metrics.nargs.average
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.loc.ploc
old: 24.0
new: 4.0
path: .spaces[0].spaces[0].spaces[0].metrics.loc.lloc
old: 5.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.loc.blank
old: 10.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.loc.sloc
old: 34.0
new: 4.0
path: .spaces[0].spaces[0].spaces[0].metrics.nom.functions
old: 6.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.nom.total
old: 6.0
new: 1.0

### Code

      explicit JSStringEnumerator(nsIStringEnumerator* aEnumerator)
          : mEnumerator(aEnumerator) {
        MOZ_ASSERT(mEnumerator);
      }

## Minimal test - lines (20, 37)

path: .spaces[0].metrics.nargs.average
old: 0.0
new: 0.5
path: .spaces[0].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[0].metrics.halstead.volume
old: 980.2739074539865
new: 152.92539048396907
path: .spaces[0].metrics.halstead.N1
old: 102.0
new: 21.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 325.06567602884894
new: 61.74860596185444
path: .spaces[0].metrics.halstead.length
old: 164.0
new: 36.0
path: .spaces[0].metrics.halstead.n2
old: 47.0
new: 9.0
path: .spaces[0].metrics.halstead.n1
old: 16.0
new: 10.0
path: .spaces[0].metrics.halstead.bugs
old: 0.1582582113298079
new: 0.03918119221285956
path: .spaces[0].metrics.halstead.time
old: 574.7232365214861
new: 70.79879189072642
path: .spaces[0].metrics.halstead.vocabulary
old: 63.0
new: 19.0
path: .spaces[0].metrics.halstead.level
old: 0.09475806451612905
new: 0.12
path: .spaces[0].metrics.halstead.difficulty
old: 10.5531914893617
new: 8.333333333333334
path: .spaces[0].metrics.halstead.N2
old: 62.0
new: 15.0
path: .spaces[0].metrics.halstead.effort
old: 10345.01825738675
new: 1274.3782540330756
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.982107780663713
new: 1.7152390544959566
path: .spaces[0].metrics.loc.lloc
old: 5.0
new: 1.0
path: .spaces[0].metrics.loc.cloc
old: 1.0
new: 0.0
path: .spaces[0].metrics.loc.sloc
old: 40.0
new: 18.0
path: .spaces[0].metrics.loc.ploc
old: 28.0
new: 13.0
path: .spaces[0].metrics.loc.blank
old: 11.0
new: 5.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: 42.896740518876456
new: 56.78376415062626
path: .spaces[0].metrics.mi.mi_sei
old: 43.1674922052832
new: 64.79245739833516
path: .spaces[0].metrics.mi.mi_original
old: 73.35342628727874
new: 97.1002366975709
path: .spaces[0].metrics.cyclomatic.sum
old: 9.0
new: 4.0
path: .spaces[0].metrics.nexits.average
old: 0.8333333333333334
new: 0.0
path: .spaces[0].metrics.nexits.sum
old: 5.0
new: 0.0
path: .spaces[0].metrics.nom.total
old: 6.0
new: 2.0
path: .spaces[0].metrics.nom.functions
old: 6.0
new: 2.0

### Code

    namespace {

    class JSStringEnumerator final : public nsIJSEnumerator {
      NS_DECL_ISUPPORTS
      NS_DECL_NSIJSENUMERATOR

      explicit JSStringEnumerator(nsIStringEnumerator* aEnumerator)
          : mEnumerator(aEnumerator) {
        MOZ_ASSERT(mEnumerator);
      }

     private:
      ~JSStringEnumerator() = default;

      nsCOMPtr mEnumerator;
    };

    }  // anonymous namespace