# Global Metrics

path: .metrics.loc.cloc
old: 22.0
new: 4.0
path: .metrics.loc.lloc
old: 35.0
new: 0.0
path: .metrics.loc.ploc
old: 68.0
new: 17.0
path: .metrics.loc.blank
old: 16.0
new: 8.0
path: .metrics.loc.sloc
old: 106.0
new: 29.0
path: .metrics.nom.functions
old: 1.0
new: 3.0
path: .metrics.nom.total
old: 1.0
new: 3.0
path: .metrics.mi.mi_sei
old: 31.43883500246649
new: 78.69783755289924
path: .metrics.mi.mi_original
old: 50.372554291849056
new: 87.80990633979687
path: .metrics.mi.mi_visual_studio
old: 29.457634088800617
new: 51.350822420933845
path: .metrics.halstead.level
old: 0.03027295285359801
new: 0.11
path: .metrics.halstead.difficulty
old: 33.032786885245905
new: 9.090909090909092
path: .metrics.halstead.N2
old: 155.0
new: 20.0
path: .metrics.halstead.n1
old: 26.0
new: 10.0
path: .metrics.halstead.purity_ratio
old: 1.2975506977560445
new: 1.583845083419642
path: .metrics.halstead.bugs
old: 0.6157026061569877
new: 0.04926681002402491
path: .metrics.halstead.vocabulary
old: 87.0
new: 21.0
path: .metrics.halstead.volume
old: 2403.2179239515754
new: 197.65428402504423
path: .metrics.halstead.n2
old: 61.0
new: 11.0
path: .metrics.halstead.time
old: 4410.2769733719715
new: 99.82539597224458
path: .metrics.halstead.length
old: 373.0
new: 45.0
path: .metrics.halstead.N1
old: 218.0
new: 25.0
path: .metrics.halstead.effort
old: 79384.98552069548
new: 1796.8571275004024
path: .metrics.halstead.estimated_program_length
old: 483.9864102630045
new: 71.27302875388389
path: .metrics.cognitive.average
old: 23.0
new: 0.0
path: .metrics.cognitive.sum
old: 23.0
new: 0.0
path: .metrics.nexits.average
old: 7.0
new: 0.0
path: .metrics.nexits.sum
old: 7.0
new: 0.0
path: .metrics.cyclomatic.average
old: 6.666666666666667
new: 1.0
path: .metrics.cyclomatic.sum
old: 20.0
new: 5.0
path: .metrics.nargs.average
old: 2.0
new: 0.3333333333333333
path: .metrics.nargs.sum
old: 2.0
new: 1.0

# Spaces Data

## Minimal test - lines (20, 20)

path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 38.79579380196927
new: 152.37629276875444
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 56.780048316739595
new: 158.02045369261705
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 33.20470661797637
new: 92.40962204246613
path: .spaces[0].spaces[0].metrics.halstead.n1
old: 25.0
new: 4.0
path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 78.0
new: 5.0
path: .spaces[0].spaces[0].metrics.halstead.time
old: 4316.6020951185255
new: 1.289960052715201
path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 419.6761888362177
new: 8.0
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 2256.459396571547
new: 11.60964047443681
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.6069530434840226
new: 0.002712967490108627
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 34.43396226415094
new: 2.0
path: .spaces[0].spaces[0].metrics.halstead.effort
old: 77698.83771213346
new: 23.21928094887362
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 146.0
new: 1.0
path: .spaces[0].spaces[0].metrics.halstead.length
old: 359.0
new: 5.0
path: .spaces[0].spaces[0].metrics.halstead.n2
old: 53.0
new: 1.0
path: .spaces[0].spaces[0].metrics.halstead.N1
old: 213.0
new: 4.0
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.169014453582779
new: 1.6
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.02904109589041096
new: 0.5
path: .spaces[0].spaces[0].metrics.nexits.average
old: 7.0
new: 0.0
path: .spaces[0].spaces[0].metrics.nexits.sum
old: 7.0
new: 0.0
path: .spaces[0].spaces[0].metrics.nargs.sum
old: 2.0
new: 0.0
path: .spaces[0].spaces[0].metrics.nargs.average
old: 2.0
new: 0.0
path: .spaces[0].spaces[0].metrics.cognitive.sum
old: 22.0
new: 0.0
path: .spaces[0].spaces[0].metrics.cognitive.average
old: 22.0
new: 0.0
path: .spaces[0].spaces[0].metrics.cyclomatic.average
old: 17.0
new: 1.0
path: .spaces[0].spaces[0].metrics.cyclomatic.sum
old: 17.0
new: 1.0
path: .spaces[0].spaces[0].metrics.loc.cloc
old: 14.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.sloc
old: 76.0
new: 1.0
path: .spaces[0].spaces[0].metrics.loc.blank
old: 9.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.ploc
old: 53.0
new: 1.0
path: .spaces[0].spaces[0].metrics.loc.lloc
old: 35.0
new: 0.0

### Code

      nsPaperMargin() = delete;

## Minimal test - lines (13, 27)

path: .spaces[0].metrics.nom.total
old: 1.0
new: 3.0
path: .spaces[0].metrics.nom.functions
old: 1.0
new: 3.0
path: .spaces[0].metrics.loc.ploc
old: 55.0
new: 11.0
path: .spaces[0].metrics.loc.blank
old: 11.0
new: 4.0
path: .spaces[0].metrics.loc.sloc
old: 80.0
new: 15.0
path: .spaces[0].metrics.loc.cloc
old: 14.0
new: 0.0
path: .spaces[0].metrics.loc.lloc
old: 35.0
new: 0.0
path: .spaces[0].metrics.nargs.sum
old: 2.0
new: 1.0
path: .spaces[0].metrics.nargs.average
old: 2.0
new: 0.3333333333333333
path: .spaces[0].metrics.nexits.sum
old: 7.0
new: 0.0
path: .spaces[0].metrics.nexits.average
old: 7.0
new: 0.0
path: .spaces[0].metrics.mi.mi_original
old: 55.6750253597383
new: 99.83785906641654
path: .spaces[0].metrics.mi.mi_visual_studio
old: 32.558494362420056
new: 58.38471290433717
path: .spaces[0].metrics.mi.mi_sei
old: 36.63659259045461
new: 68.74201161369547
path: .spaces[0].metrics.cognitive.average
old: 22.0
new: 0.0
path: .spaces[0].metrics.cognitive.sum
old: 22.0
new: 0.0
path: .spaces[0].metrics.cyclomatic.average
old: 9.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 18.0
new: 4.0
path: .spaces[0].metrics.halstead.effort
old: 77435.81781562831
new: 1707.975544379606
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.1824385868731175
new: 1.355660651366073
path: .spaces[0].metrics.halstead.length
old: 361.0
new: 39.0
path: .spaces[0].metrics.halstead.vocabulary
old: 79.0
new: 17.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 426.8603298611954
new: 52.87076540327685
path: .spaces[0].metrics.halstead.N1
old: 214.0
new: 24.0
path: .spaces[0].metrics.halstead.bugs
old: 0.6055825302362926
new: 0.04762845683667968
path: .spaces[0].metrics.halstead.level
old: 0.029387755102040815
new: 0.09333333333333334
path: .spaces[0].metrics.halstead.n1
old: 25.0
new: 10.0
path: .spaces[0].metrics.halstead.time
old: 4301.989878646017
new: 94.88753024331145
path: .spaces[0].metrics.halstead.volume
old: 2275.664850091934
new: 159.41105080876324
path: .spaces[0].metrics.halstead.difficulty
old: 34.02777777777778
new: 10.714285714285714
path: .spaces[0].metrics.halstead.N2
old: 147.0
new: 15.0
path: .spaces[0].metrics.halstead.n2
old: 54.0
new: 7.0

### Code

    class nsPaperMargin final : public nsIPaperMargin {
      using MarginDouble = mozilla::gfx::MarginDouble;

     public:
      NS_DECL_ISUPPORTS
      NS_DECL_NSIPAPERMARGIN

      nsPaperMargin() = delete;

      explicit nsPaperMargin(const MarginDouble& aMargin) : mMargin(aMargin) {}

     private:
      ~nsPaperMargin() = default;
      const MarginDouble mMargin;
    };