# Global Metrics

path: .metrics.cyclomatic.average
old: 1.0
new: 1.2
path: .metrics.cyclomatic.sum
old: 7.0
new: 42.0
path: .metrics.cognitive.average
old: null
new: 0.06363636363636363
path: .metrics.cognitive.sum
old: 0.0
new: 7.0
path: .metrics.loc.ploc
old: 31.0
new: 636.0
path: .metrics.loc.cloc
old: 8.0
new: 35.0
path: .metrics.loc.blank
old: 9.0
new: 84.0
path: .metrics.loc.lloc
old: 0.0
new: 259.0
path: .metrics.loc.sloc
old: 48.0
new: 755.0
path: .metrics.nexits.average
old: null
new: 0.23636363636363636
path: .metrics.nexits.sum
old: 0.0
new: 26.0
path: .metrics.nom.total
old: 0.0
new: 110.0
path: .metrics.nom.closures
old: 0.0
new: 78.0
path: .metrics.nom.functions
old: 0.0
new: 32.0
path: .metrics.mi.mi_sei
old: 64.45735047097722
new: -54.02621858180261
path: .metrics.mi.mi_visual_studio
old: 44.543464969448856
new: 0.416714546597562
path: .metrics.mi.mi_original
old: 76.16932509775754
new: 0.7125818746818311
path: .metrics.halstead.effort
old: 2052.4378573139707
new: 3685297.312965335
path: .metrics.halstead.volume
old: 353.10758835509176
new: 28144.678490750535
path: .metrics.halstead.length
old: 70.0
new: 3682.0
path: .metrics.halstead.vocabulary
old: 33.0
new: 200.0
path: .metrics.halstead.N2
old: 31.0
new: 1484.0
path: .metrics.halstead.estimated_program_length
old: 138.56842503028855
new: 1406.8031770116647
path: .metrics.halstead.bugs
old: 0.05383426107956517
new: 7.952928883836709
path: .metrics.halstead.difficulty
old: 5.8125
new: 130.94117647058823
path: .metrics.halstead.N1
old: 39.0
new: 2198.0
path: .metrics.halstead.purity_ratio
old: 1.9795489290041224
new: 0.3820758221107183
path: .metrics.halstead.n2
old: 24.0
new: 170.0
path: .metrics.halstead.time
old: 114.0243254063317
new: 204738.7396091853
path: .metrics.halstead.level
old: 0.1720430107526882
new: 0.007637017070979336
path: .metrics.halstead.n1
old: 9.0
new: 30.0
path: .metrics.nargs.sum
old: 0.0
new: 54.0
path: .metrics.nargs.average
old: null
new: 0.4909090909090909

# Spaces Data

## Minimal test - lines (21, 33)

path: .spaces[0].metrics.nargs.average
old: null
new: 0.0
path: .spaces[0].metrics.nom.functions
old: 0.0
new: 3.0
path: .spaces[0].metrics.nom.total
old: 0.0
new: 3.0
path: .spaces[0].metrics.loc.sloc
old: 34.0
new: 13.0
path: .spaces[0].metrics.loc.blank
old: 7.0
new: 3.0
path: .spaces[0].metrics.loc.ploc
old: 26.0
new: 10.0
path: .spaces[0].metrics.loc.lloc
old: 0.0
new: 2.0
path: .spaces[0].metrics.loc.cloc
old: 1.0
new: 0.0
path: .spaces[0].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[0].metrics.nexits.average
old: null
new: 0.3333333333333333
path: .spaces[0].metrics.cyclomatic.sum
old: 6.0
new: 4.0
path: .spaces[0].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[0].metrics.halstead.N2
old: 27.0
new: 15.0
path: .spaces[0].metrics.halstead.difficulty
old: 5.785714285714286
new: 11.25
path: .spaces[0].metrics.halstead.level
old: 0.1728395061728395
new: 0.08888888888888889
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.8298180438081024
new: 1.675488750216347
path: .spaces[0].metrics.halstead.n2
old: 21.0
new: 8.0
path: .spaces[0].metrics.halstead.n1
old: 9.0
new: 12.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 120.76799089133478
new: 67.01955000865388
path: .spaces[0].metrics.halstead.effort
old: 1873.731223151653
new: 1944.8676426993131
path: .spaces[0].metrics.halstead.length
old: 66.0
new: 40.0
path: .spaces[0].metrics.halstead.bugs
old: 0.05066214899226576
new: 0.051936432237792464
path: .spaces[0].metrics.halstead.time
old: 104.09617906398071
new: 108.04820237218406
path: .spaces[0].metrics.halstead.vocabulary
old: 30.0
new: 20.0
path: .spaces[0].metrics.halstead.volume
old: 323.85477931016226
new: 172.8771237954945
path: .spaces[0].metrics.halstead.N1
old: 39.0
new: 25.0
path: .spaces[0].metrics.mi.mi_sei
old: 56.967734174567425
new: 71.4781401093198
path: .spaces[0].metrics.mi.mi_original
old: 82.4354244440081
new: 101.73439881880824
path: .spaces[0].metrics.mi.mi_visual_studio
old: 48.207850552051525
new: 59.493800478835226

### Code

    class MOZ_STACK_CLASS AutoTaskQueue {
     public:
      AutoTaskQueue()
          : mTaskQueue(
                new TaskQueue(GetMediaThreadPool(MediaThreadType::SUPERVISOR))) {}

      ~AutoTaskQueue() { mTaskQueue->AwaitShutdownAndIdle(); }

      TaskQueue* Queue() { return mTaskQueue; }

     private:
      RefPtr mTaskQueue;
    };

## Minimal test - lines (23, 25)

path: .spaces[0].spaces[0].metrics.halstead.N1
old: 38.0
new: 8.0
path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 114.96788691072804
new: 23.21928094887362
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.796373232980126
new: 1.78609853452874
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 310.9107836881646
new: 43.18506523353571
path: .spaces[0].spaces[0].metrics.halstead.n2
old: 20.0
new: 5.0
path: .spaces[0].spaces[0].metrics.halstead.n1
old: 9.0
new: 5.0
path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 29.0
new: 10.0
path: .spaces[0].spaces[0].metrics.halstead.length
old: 64.0
new: 13.0
path: .spaces[0].spaces[0].metrics.halstead.effort
old: 1818.828084575763
new: 107.96266308383927
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.17094017094017094
new: 0.4
path: .spaces[0].spaces[0].metrics.halstead.time
old: 101.04600469865348
new: 5.997925726879959
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 26.0
new: 5.0
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.049667600547187184
new: 0.007557783918721112
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 5.85
new: 2.5
path: .spaces[0].spaces[0].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[0].spaces[0].metrics.loc.ploc
old: 23.0
new: 3.0
path: .spaces[0].spaces[0].metrics.loc.sloc
old: 29.0
new: 3.0
path: .spaces[0].spaces[0].metrics.loc.blank
old: 6.0
new: 0.0
path: .spaces[0].spaces[0].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[0].spaces[0].metrics.cyclomatic.sum
old: 5.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nexits.average
old: null
new: 0.0
path: .spaces[0].spaces[0].metrics.nargs.average
old: null
new: 0.0
path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 48.09285227958799
new: 116.84481255663158
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 49.97331949975184
new: 78.00696395465648
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 85.45437634457565
new: 133.3919083624626

### Code

      AutoTaskQueue()
          : mTaskQueue(
                new TaskQueue(GetMediaThreadPool(MediaThreadType::SUPERVISOR))) {}