# Global Metrics

path: .metrics.halstead.effort
old: 34704.11427971912
new: 2012485.9962635925
path: .metrics.halstead.level
old: 0.06933333333333333
new: 0.012799801168137191
path: .metrics.halstead.n2
old: 104.0
new: 309.0
path: .metrics.halstead.n1
old: 20.0
new: 39.0
path: .metrics.halstead.N1
old: 196.0
new: 1813.0
path: .metrics.halstead.purity_ratio
old: 2.263827435215089
new: 0.9052811413169712
path: .metrics.halstead.vocabulary
old: 124.0
new: 348.0
path: .metrics.halstead.volume
old: 2406.151923393859
new: 25759.42060583447
path: .metrics.halstead.time
old: 1928.0063488732844
new: 111804.77757019956
path: .metrics.halstead.bugs
old: 0.3546495298694135
new: 5.313336526137535
path: .metrics.halstead.length
old: 346.0
new: 3051.0
path: .metrics.halstead.N2
old: 150.0
new: 1238.0
path: .metrics.halstead.difficulty
old: 14.423076923076923
new: 78.12621359223301
path: .metrics.halstead.estimated_program_length
old: 783.2842925844208
new: 2762.0127621580796
path: .metrics.loc.sloc
old: 125.0
new: 804.0
path: .metrics.loc.blank
old: 22.0
new: 115.0
path: .metrics.loc.cloc
old: 22.0
new: 73.0
path: .metrics.loc.lloc
old: 13.0
new: 275.0
path: .metrics.loc.ploc
old: 81.0
new: 616.0
path: .metrics.cognitive.average
old: 0.1
new: 1.6458333333333333
path: .metrics.cognitive.sum
old: 1.0
new: 79.0
path: .metrics.nom.functions
old: 10.0
new: 48.0
path: .metrics.nom.total
old: 10.0
new: 48.0
path: .metrics.nexits.sum
old: 10.0
new: 49.0
path: .metrics.nexits.average
old: 1.0
new: 1.0208333333333333
path: .metrics.cyclomatic.sum
old: 16.0
new: 119.0
path: .metrics.cyclomatic.average
old: 1.0666666666666669
new: 2.4285714285714284
path: .metrics.mi.mi_original
old: 48.61524045760157
new: -17.55559773806945
path: .metrics.mi.mi_visual_studio
old: 28.42996517988396
new: 0.0
path: .metrics.mi.mi_sei
old: 26.321490233574437
new: -66.4097223295189
path: .metrics.nargs.average
old: 0.1
new: 2.3958333333333335
path: .metrics.nargs.sum
old: 1.0
new: 115.0

# Spaces Data

## Minimal test - lines (50, 55)

path: .spaces[1].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[1].metrics.cognitive.average
old: 0.1
new: 0.0
path: .spaces[1].metrics.nexits.sum
old: 10.0
new: 1.0
path: .spaces[1].metrics.halstead.estimated_program_length
old: 694.5803313307941
new: 44.039100017307746
path: .spaces[1].metrics.halstead.level
old: 0.07209302325581396
new: 0.12121212121212122
path: .spaces[1].metrics.halstead.n1
old: 20.0
new: 9.0
path: .spaces[1].metrics.halstead.N1
old: 181.0
new: 12.0
path: .spaces[1].metrics.halstead.length
old: 310.0
new: 23.0
path: .spaces[1].metrics.halstead.time
old: 1629.2649743547393
new: 41.185138362039794
path: .spaces[1].metrics.halstead.bugs
old: 0.3169968131511954
new: 0.02730365377655398
path: .spaces[1].metrics.halstead.N2
old: 129.0
new: 11.0
path: .spaces[1].metrics.halstead.vocabulary
old: 113.0
new: 15.0
path: .spaces[1].metrics.halstead.difficulty
old: 13.870967741935484
new: 8.25
path: .spaces[1].metrics.halstead.n2
old: 93.0
new: 6.0
path: .spaces[1].metrics.halstead.volume
old: 2114.255478348708
new: 89.85848369899593
path: .spaces[1].metrics.halstead.purity_ratio
old: 2.2405817139703035
new: 1.91474347901338
path: .spaces[1].metrics.halstead.effort
old: 29326.769538385302
new: 741.3324905167163
path: .spaces[1].metrics.nargs.average
old: 0.1
new: 2.0
path: .spaces[1].metrics.nargs.sum
old: 1.0
new: 2.0
path: .spaces[1].metrics.cyclomatic.sum
old: 14.0
new: 2.0
path: .spaces[1].metrics.cyclomatic.average
old: 1.0769230769230769
new: 2.0
path: .spaces[1].metrics.nom.functions
old: 10.0
new: 1.0
path: .spaces[1].metrics.nom.total
old: 10.0
new: 1.0
path: .spaces[1].metrics.mi.mi_original
old: 53.68994519450591
new: 118.122669245302
path: .spaces[1].metrics.mi.mi_sei
old: 31.66581973168988
new: 94.91777686356068
path: .spaces[1].metrics.mi.mi_visual_studio
old: 31.397628768716903
new: 69.07758435397778
path: .spaces[1].metrics.loc.cloc
old: 15.0
new: 0.0
path: .spaces[1].metrics.loc.sloc
old: 98.0
new: 6.0
path: .spaces[1].metrics.loc.blank
old: 18.0
new: 0.0
path: .spaces[1].metrics.loc.lloc
old: 13.0
new: 1.0
path: .spaces[1].metrics.loc.ploc
old: 65.0
new: 6.0

### Code

    TimeStamp NS_GetTimerDeadlineHintOnCurrentThread(TimeStamp aDefault,
                                                     uint32_t aSearchBound) {
      return gThread
                 ? gThread->FindNextFireTimeForCurrentThread(aDefault, aSearchBound)
                 : TimeStamp();
    }

## Minimal test - lines (48, 48)

path: .spaces[0].metrics.halstead.estimated_program_length
old: null
new: 20.264662506490403
path: .spaces[0].metrics.halstead.vocabulary
old: 1.0
new: 9.0
path: .spaces[0].metrics.halstead.N2
old: 1.0
new: 3.0
path: .spaces[0].metrics.halstead.N1
old: 0.0
new: 6.0
path: .spaces[0].metrics.halstead.volume
old: 0.0
new: 28.52932501298081
path: .spaces[0].metrics.halstead.difficulty
old: 0.0
new: 3.0
path: .spaces[0].metrics.halstead.time
old: 0.0
new: 4.754887502163468
path: .spaces[0].metrics.halstead.bugs
old: 0.0
new: 0.006473720020679235
path: .spaces[0].metrics.halstead.purity_ratio
old: null
new: 2.2516291673878226
path: .spaces[0].metrics.halstead.n1
old: 0.0
new: 6.0
path: .spaces[0].metrics.halstead.effort
old: 0.0
new: 85.58797503894243
path: .spaces[0].metrics.halstead.length
old: 1.0
new: 9.0
path: .spaces[0].metrics.halstead.level
old: null
new: 0.3333333333333333
path: .spaces[0].metrics.halstead.n2
old: 1.0
new: 3.0
path: .spaces[0].metrics.nargs.average
old: null
new: 0.0
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.cognitive.average
old: null
new: 0.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: null
new: 89.67552688205174
path: .spaces[0].metrics.mi.mi_sei
old: null
new: 145.63125671373976
path: .spaces[0].metrics.mi.mi_original
old: null
new: 153.34515096830847
path: .spaces[0].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[0].metrics.nexits.average
old: null
new: 1.0
path: .spaces[0].metrics.loc.lloc
old: 0.0
new: 1.0

### Code

    mozilla::LogModule* GetTimerLog() { return sTimerLog; }