# Global Metrics

path: .metrics.halstead.N1
old: 98.0
new: 12.0
path: .metrics.halstead.time
old: 795.6971432971551
new: 9.333333333333334
path: .metrics.halstead.N2
old: 70.0
new: 14.0
path: .metrics.halstead.estimated_program_length
old: 315.2736412460027
new: 52.860603837997665
path: .metrics.halstead.n2
old: 44.0
new: 13.0
path: .metrics.halstead.difficulty
old: 14.318181818181818
new: 1.6153846153846154
path: .metrics.halstead.level
old: 0.06984126984126984
new: 0.6190476190476191
path: .metrics.halstead.length
old: 168.0
new: 26.0
path: .metrics.halstead.vocabulary
old: 62.0
new: 16.0
path: .metrics.halstead.n1
old: 18.0
new: 3.0
path: .metrics.halstead.bugs
old: 0.19658887976994135
new: 0.010148883481360324
path: .metrics.halstead.purity_ratio
old: 1.876628816940492
new: 2.033100147615295
path: .metrics.halstead.effort
old: 14322.548579348791
new: 168.0
path: .metrics.halstead.volume
old: 1000.3049801449948
new: 104.0
path: .metrics.nexits.average
old: 0.8181818181818182
new: null
path: .metrics.nexits.sum
old: 9.0
new: 0.0
path: .metrics.mi.mi_sei
old: 46.01806980261561
new: 86.63628704189941
path: .metrics.mi.mi_original
old: 55.48313452149485
new: 84.01677617676192
path: .metrics.mi.mi_visual_studio
old: 32.446277497950206
new: 49.1326176472292
path: .metrics.nom.functions
old: 11.0
new: 0.0
path: .metrics.nom.total
old: 11.0
new: 0.0
path: .metrics.nargs.sum
old: 4.0
new: 0.0
path: .metrics.nargs.average
old: 0.3636363636363637
new: null
path: .metrics.cognitive.sum
old: 1.0
new: 0.0
path: .metrics.cognitive.average
old: 0.09090909090909093
new: null
path: .metrics.loc.blank
old: 16.0
new: 12.0
path: .metrics.loc.cloc
old: 35.0
new: 18.0
path: .metrics.loc.lloc
old: 10.0
new: 0.0
path: .metrics.loc.ploc
old: 50.0
new: 17.0
path: .metrics.loc.sloc
old: 101.0
new: 47.0
path: .metrics.cyclomatic.average
old: 1.05
new: 1.0
path: .metrics.cyclomatic.sum
old: 21.0
new: 2.0

# Spaces Data

## Minimal test - lines (10, 45)

path: .spaces[0].metrics.halstead.bugs
old: 0.1931673453749452
new: 0.009015045279478254
path: .spaces[0].metrics.halstead.estimated_program_length
old: 267.8084245542328
new: 47.77443751081734
path: .spaces[0].metrics.halstead.length
old: 160.0
new: 24.0
path: .spaces[0].metrics.halstead.n2
old: 37.0
new: 12.0
path: .spaces[0].metrics.halstead.n1
old: 18.0
new: 3.0
path: .spaces[0].metrics.halstead.effort
old: 13950.264735769772
new: 140.64806144190666
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.6738026534639547
new: 1.9906015629507223
path: .spaces[0].metrics.halstead.N1
old: 98.0
new: 12.0
path: .spaces[0].metrics.halstead.vocabulary
old: 55.0
new: 15.0
path: .spaces[0].metrics.halstead.volume
old: 925.0175541639456
new: 93.76537429460444
path: .spaces[0].metrics.halstead.time
old: 775.0147075427652
new: 7.8137811912170365
path: .spaces[0].metrics.halstead.level
old: 0.06630824372759857
new: 0.6666666666666666
path: .spaces[0].metrics.halstead.N2
old: 62.0
new: 12.0
path: .spaces[0].metrics.halstead.difficulty
old: 15.08108108108108
new: 1.5
path: .spaces[0].metrics.nexits.average
old: 0.8181818181818182
new: null
path: .spaces[0].metrics.nexits.sum
old: 9.0
new: 0.0
path: .spaces[0].metrics.mi.mi_sei
old: 51.04711208742616
new: 90.72486963399766
path: .spaces[0].metrics.mi.mi_visual_studio
old: 34.678219904502505
new: 52.108102835572986
path: .spaces[0].metrics.mi.mi_original
old: 59.29975603669928
new: 89.10485584882981
path: .spaces[0].metrics.loc.ploc
old: 41.0
new: 14.0
path: .spaces[0].metrics.loc.sloc
old: 83.0
new: 36.0
path: .spaces[0].metrics.loc.blank
old: 14.0
new: 11.0
path: .spaces[0].metrics.loc.cloc
old: 28.0
new: 11.0
path: .spaces[0].metrics.loc.lloc
old: 10.0
new: 0.0
path: .spaces[0].metrics.nargs.sum
old: 4.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 0.3636363636363637
new: null
path: .spaces[0].metrics.cyclomatic.average
old: 1.0526315789473684
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 20.0
new: 1.0
path: .spaces[0].metrics.cognitive.average
old: 0.09090909090909093
new: null
path: .spaces[0].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[0].metrics.nom.functions
old: 11.0
new: 0.0
path: .spaces[0].metrics.nom.total
old: 11.0
new: 0.0

### Code

    namespace mozilla {

    // The different kinds of tasks we can dispatch to a SystemGroup, TabGroup, or
    // DocGroup.
    enum class TaskCategory {
      // User input (clicks, keypresses, etc.)
      UI,

      // Data from the network
      Network,

      // setTimeout, setInterval
      Timer,

      // Runnables posted from a worker to the main thread
      Worker,

      // requestIdleCallback
      IdleCallback,

      // Vsync notifications
      RefreshDriver,

      // GC/CC-related tasks
      GarbageCollection,

      // Most DOM events (postMessage, media, plugins)
      Other,

      // Runnables related to Performance Counting
      Performance,

      Count
    };

    }  // namespace mozilla