# Global Metrics

path: .metrics.nexits.sum
old: 0.0
new: 63.0
path: .metrics.nexits.average
old: null
new: 1.0161290322580645
path: .metrics.cognitive.sum
old: 0.0
new: 208.0
path: .metrics.cognitive.average
old: null
new: 3.3548387096774195
path: .metrics.nargs.average
old: null
new: 1.064516129032258
path: .metrics.nargs.sum
old: 0.0
new: 66.0
path: .metrics.halstead.length
old: 28.0
new: 4327.0
path: .metrics.halstead.vocabulary
old: 17.0
new: 480.0
path: .metrics.halstead.volume
old: 114.4489595550095
new: 38540.11560719806
path: .metrics.halstead.bugs
old: 0.020098633472966844
new: 7.336268929933102
path: .metrics.halstead.difficulty
old: 4.090909090909091
new: 84.71917808219177
path: .metrics.halstead.N1
old: 13.0
new: 2560.0
path: .metrics.halstead.purity_ratio
old: 1.9129829574763288
new: 0.940567151343199
path: .metrics.halstead.time
old: 26.011127171593067
new: 181393.7176352484
path: .metrics.halstead.estimated_program_length
old: 53.5635228093372
new: 4069.834063862022
path: .metrics.halstead.N2
old: 15.0
new: 1767.0
path: .metrics.halstead.level
old: 0.24444444444444444
new: 0.0118037028054006
path: .metrics.halstead.effort
old: 468.2002890886752
new: 3265086.9174344707
path: .metrics.halstead.n1
old: 6.0
new: 42.0
path: .metrics.halstead.n2
old: 11.0
new: 438.0
path: .metrics.mi.mi_original
old: 93.2855410683706
new: -50.5446341643063
path: .metrics.mi.mi_sei
old: 102.09254358680025
new: -101.15139040050276
path: .metrics.mi.mi_visual_studio
old: 54.552947993199176
new: 0.0
path: .metrics.nom.total
old: 0.0
new: 62.0
path: .metrics.nom.functions
old: 0.0
new: 59.0
path: .metrics.nom.closures
old: 0.0
new: 3.0
path: .metrics.cyclomatic.average
old: 1.0
new: 3.645161290322581
path: .metrics.cyclomatic.sum
old: 4.0
new: 226.0
path: .metrics.loc.sloc
old: 25.0
new: 1185.0
path: .metrics.loc.blank
old: 2.0
new: 188.0
path: .metrics.loc.ploc
old: 12.0
new: 868.0
path: .metrics.loc.lloc
old: 0.0
new: 389.0
path: .metrics.loc.cloc
old: 11.0
new: 129.0

# Spaces Data

## Minimal test - lines (33, 54)

path: .spaces[0].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[0].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[0].metrics.nexits.average
old: null
new: 0.0
path: .spaces[0].metrics.nargs.average
old: null
new: 2.0
path: .spaces[0].metrics.nargs.sum
old: 0.0
new: 2.0
path: .spaces[0].metrics.halstead.level
old: 0.25
new: 0.18775510204081633
path: .spaces[0].metrics.halstead.n1
old: 6.0
new: 7.0
path: .spaces[0].metrics.halstead.length
old: 25.0
new: 70.0
path: .spaces[0].metrics.halstead.time
old: 21.70494775338066
new: 101.63426777136004
path: .spaces[0].metrics.halstead.effort
old: 390.6890595608519
new: 1829.4168198844804
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.76156400069231
new: 1.767048706338779
path: .spaces[0].metrics.halstead.difficulty
old: 4.0
new: 5.326086956521739
path: .spaces[0].metrics.halstead.N2
old: 12.0
new: 35.0
path: .spaces[0].metrics.halstead.n2
old: 9.0
new: 23.0
path: .spaces[0].metrics.halstead.bugs
old: 0.01781419677458386
new: 0.049860181731485674
path: .spaces[0].metrics.halstead.volume
old: 97.67226489021296
new: 343.4823416925963
path: .spaces[0].metrics.halstead.estimated_program_length
old: 44.039100017307746
new: 123.69340944371451
path: .spaces[0].metrics.halstead.N1
old: 13.0
new: 35.0
path: .spaces[0].metrics.halstead.vocabulary
old: 15.0
new: 30.0
path: .spaces[0].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[0].metrics.cyclomatic.sum
old: 3.0
new: 1.0
path: .spaces[0].metrics.loc.blank
old: 0.0
new: 1.0
path: .spaces[0].metrics.loc.lloc
old: 0.0
new: 1.0
path: .spaces[0].metrics.loc.ploc
old: 8.0
new: 17.0
path: .spaces[0].metrics.loc.sloc
old: 12.0
new: 22.0
path: .spaces[0].metrics.mi.mi_original
old: 106.23010055374785
new: 90.33160659826596
path: .spaces[0].metrics.mi.mi_sei
old: 116.85477936747546
new: 85.40060722312116
path: .spaces[0].metrics.mi.mi_visual_studio
old: 62.12286582090517
new: 52.82550093465845

### Code

    nsView::nsView(nsViewManager* aViewManager, nsViewVisibility aVisibility)
        : mViewManager(aViewManager),
          mParent(nullptr),
          mNextSibling(nullptr),
          mFirstChild(nullptr),
          mFrame(nullptr),
          mDirtyRegion(nullptr),
          mZIndex(0),
          mVis(aVisibility),
          mPosX(0),
          mPosY(0),
          mVFlags(0),
          mWidgetIsTopLevel(false),
          mForcedRepaint(false),
          mNeedsWindowPropertiesSync(false) {
      MOZ_COUNT_CTOR(nsView);

      // Views should be transparent by default. Not being transparent is
      // a promise that the view will paint all its pixels opaquely. Views
      // should make this promise explicitly by calling
      // SetViewContentTransparency.
    }