# Global Metrics

path: .metrics.cyclomatic.average
old: 4.0
new: 2.357142857142857
path: .metrics.cyclomatic.sum
old: 80.0
new: 33.0
path: .metrics.nexits.sum
old: 20.0
new: 11.0
path: .metrics.nexits.average
old: 1.25
new: 1.0
path: .metrics.nargs.average
old: 1.375
new: 1.2727272727272727
path: .metrics.nargs.sum
old: 22.0
new: 14.0
path: .metrics.nom.total
old: 16.0
new: 11.0
path: .metrics.nom.functions
old: 16.0
new: 11.0
path: .metrics.halstead.purity_ratio
old: 0.6610589300507306
new: 1.54167488017403
path: .metrics.halstead.volume
old: 12419.09327026832
new: 3687.905536352632
path: .metrics.halstead.vocabulary
old: 168.0
new: 129.0
path: .metrics.halstead.N2
old: 640.0
new: 202.0
path: .metrics.halstead.level
old: 0.01033653846153846
new: 0.039223153084539226
path: .metrics.halstead.difficulty
old: 96.74418604651164
new: 25.49514563106796
path: .metrics.halstead.estimated_program_length
old: 1110.5790024852274
new: 810.9209869715398
path: .metrics.halstead.N1
old: 1040.0
new: 324.0
path: .metrics.halstead.time
old: 66748.6149926566
new: 5223.538262385119
path: .metrics.halstead.effort
old: 1201475.0698678188
new: 94023.68872293214
path: .metrics.halstead.n2
old: 129.0
new: 103.0
path: .metrics.halstead.length
old: 1680.0
new: 526.0
path: .metrics.halstead.bugs
old: 3.767228137004244
new: 0.6892396748073587
path: .metrics.halstead.n1
old: 39.0
new: 26.0
path: .metrics.mi.mi_original
old: 6.517924531369275
new: 37.22004352221775
path: .metrics.mi.mi_sei
old: -27.9692817160355
new: 1.1956518851837146
path: .metrics.mi.mi_visual_studio
old: 3.8116517727305697
new: 21.766107322934356
path: .metrics.loc.cloc
old: 70.0
new: 12.0
path: .metrics.loc.sloc
old: 400.0
new: 173.0
path: .metrics.loc.ploc
old: 297.0
new: 131.0
path: .metrics.loc.lloc
old: 163.0
new: 61.0
path: .metrics.loc.blank
old: 33.0
new: 30.0
path: .metrics.cognitive.sum
old: 91.0
new: 17.0
path: .metrics.cognitive.average
old: 5.6875
new: 1.5454545454545454

# Spaces Data

## Minimal test - lines (15, 20)

path: .spaces[0].metrics.cyclomatic.sum
old: 79.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.average
old: 4.157894736842105
new: 1.0
path: .spaces[0].metrics.loc.blank
old: 29.0
new: 0.0
path: .spaces[0].metrics.loc.lloc
old: 163.0
new: 1.0
path: .spaces[0].metrics.loc.sloc
old: 358.0
new: 6.0
path: .spaces[0].metrics.loc.cloc
old: 37.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 292.0
new: 6.0
path: .spaces[0].metrics.nexits.sum
old: 20.0
new: 1.0
path: .spaces[0].metrics.nexits.average
old: 1.25
new: 1.0
path: .spaces[0].metrics.halstead.length
old: 1680.0
new: 38.0
path: .spaces[0].metrics.halstead.time
old: 66748.6149926566
new: 78.1342519682575
path: .spaces[0].metrics.halstead.n2
old: 129.0
new: 11.0
path: .spaces[0].metrics.halstead.difficulty
old: 96.74418604651164
new: 8.181818181818182
path: .spaces[0].metrics.halstead.effort
old: 1201475.0698678188
new: 1406.416535428635
path: .spaces[0].metrics.halstead.n1
old: 39.0
new: 12.0
path: .spaces[0].metrics.halstead.volume
old: 12419.09327026832
new: 171.8953543301665
path: .spaces[0].metrics.halstead.level
old: 0.01033653846153846
new: 0.12222222222222222
path: .spaces[0].metrics.halstead.bugs
old: 3.767228137004244
new: 0.04184286255355707
path: .spaces[0].metrics.halstead.estimated_program_length
old: 1110.5790024852274
new: 81.07329781366414
path: .spaces[0].metrics.halstead.vocabulary
old: 168.0
new: 23.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.6610589300507306
new: 2.133507837201688
path: .spaces[0].metrics.halstead.N2
old: 640.0
new: 15.0
path: .spaces[0].metrics.halstead.N1
old: 1040.0
new: 23.0
path: .spaces[0].metrics.mi.mi_sei
old: -31.44396577431606
new: 90.2815964162762
path: .spaces[0].metrics.mi.mi_visual_studio
old: 4.997085271828794
new: 67.23958478840399
path: .spaces[0].metrics.mi.mi_original
old: 8.545015814827238
new: 114.97968998817085
path: .spaces[0].metrics.nargs.sum
old: 22.0
new: 2.0
path: .spaces[0].metrics.nargs.average
old: 1.375
new: 2.0
path: .spaces[0].metrics.cognitive.average
old: 5.6875
new: 0.0
path: .spaces[0].metrics.cognitive.sum
old: 91.0
new: 0.0
path: .spaces[0].metrics.nom.total
old: 16.0
new: 1.0
path: .spaces[0].metrics.nom.functions
old: 16.0
new: 1.0

### Code

    already_AddRefed nsIWidget::CreatePluginProxyWidget(
        BrowserChild* aBrowserChild, mozilla::plugins::PluginWidgetChild* aActor) {
      nsCOMPtr widget =
          new mozilla::widget::PluginWidgetProxy(aBrowserChild, aActor);
      return widget.forget();
    }