# Global Metrics

path: .metrics.cognitive.average
old: 5.333333333333333
new: 1.4
path: .metrics.cognitive.sum
old: 16.0
new: 7.0
path: .metrics.loc.ploc
old: 79.0
new: 70.0
path: .metrics.loc.cloc
old: 14.0
new: 62.0
path: .metrics.loc.sloc
old: 100.0
new: 160.0
path: .metrics.loc.lloc
old: 38.0
new: 13.0
path: .metrics.loc.blank
old: 7.0
new: 28.0
path: .metrics.mi.mi_sei
old: 28.402898110428353
new: 34.8419917121313
path: .metrics.mi.mi_original
old: 52.18809296940927
new: 47.15688556942014
path: .metrics.mi.mi_visual_studio
old: 30.51935261368963
new: 27.577126063988384
path: .metrics.nexits.sum
old: 3.0
new: 7.0
path: .metrics.nexits.average
old: 1.0
new: 1.4
path: .metrics.halstead.volume
old: 2650.057301205773
new: 1612.6504565894363
path: .metrics.halstead.N2
old: 183.0
new: 91.0
path: .metrics.halstead.bugs
old: 0.94244810184712
new: 0.3214665450813427
path: .metrics.halstead.difficulty
old: 56.73
new: 18.571428571428573
path: .metrics.halstead.time
old: 8352.09726096686
new: 1663.8457091795776
path: .metrics.halstead.vocabulary
old: 81.0
new: 69.0
path: .metrics.halstead.N1
old: 235.0
new: 173.0
path: .metrics.halstead.estimated_program_length
old: 435.77289511072934
new: 361.5593442593925
path: .metrics.halstead.effort
old: 150337.7506974035
new: 29949.222765232396
path: .metrics.halstead.level
old: 0.017627357659086903
new: 0.05384615384615384
path: .metrics.halstead.length
old: 418.0
new: 264.0
path: .metrics.halstead.n2
old: 50.0
new: 49.0
path: .metrics.halstead.n1
old: 31.0
new: 20.0
path: .metrics.halstead.purity_ratio
old: 1.0425188878247114
new: 1.3695429706795168
path: .metrics.nargs.average
old: 2.0
new: 1.2
path: .metrics.cyclomatic.average
old: 3.5
new: 2.0
path: .metrics.nom.functions
old: 3.0
new: 5.0
path: .metrics.nom.total
old: 3.0
new: 5.0

# Spaces Data

## Minimal test - lines (89, 91)

path: .spaces[2].metrics.mi.mi_visual_studio
old: 64.51744534181124
new: 77.37554600328406
path: .spaces[2].metrics.mi.mi_sei
old: 109.80690990356612
new: 115.28709909096526
path: .spaces[2].metrics.mi.mi_original
old: 110.3248315344972
new: 132.31218366561575
path: .spaces[2].metrics.nargs.average
old: 0.0
new: 1.0
path: .spaces[2].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[2].metrics.loc.lloc
old: 4.0
new: 1.0
path: .spaces[2].metrics.loc.cloc
old: 1.0
new: 0.0
path: .spaces[2].metrics.loc.sloc
old: 8.0
new: 3.0
path: .spaces[2].metrics.loc.ploc
old: 7.0
new: 3.0
path: .spaces[2].metrics.cyclomatic.average
old: 3.0
new: 1.0
path: .spaces[2].metrics.cyclomatic.sum
old: 3.0
new: 1.0
path: .spaces[2].metrics.cognitive.average
old: 2.0
new: 0.0
path: .spaces[2].metrics.cognitive.sum
old: 2.0
new: 0.0
path: .spaces[2].metrics.halstead.vocabulary
old: 19.0
new: 10.0
path: .spaces[2].metrics.halstead.level
old: 0.07291666666666667
new: 0.21428571428571427
path: .spaces[2].metrics.halstead.purity_ratio
old: 1.6938117422447865
new: 1.5253982472854184
path: .spaces[2].metrics.halstead.estimated_program_length
old: 62.6710344630571
new: 24.406371956566694
path: .spaces[2].metrics.halstead.time
old: 119.75109942660008
new: 13.77984987508832
path: .spaces[2].metrics.halstead.length
old: 37.0
new: 16.0
path: .spaces[2].metrics.halstead.difficulty
old: 13.714285714285714
new: 4.666666666666667
path: .spaces[2].metrics.halstead.bugs
old: 0.055622019745322104
new: 0.01315901573170251
path: .spaces[2].metrics.halstead.effort
old: 2155.5197896788018
new: 248.03729775158973
path: .spaces[2].metrics.halstead.N2
old: 16.0
new: 4.0
path: .spaces[2].metrics.halstead.n1
old: 12.0
new: 7.0
path: .spaces[2].metrics.halstead.N1
old: 21.0
new: 12.0
path: .spaces[2].metrics.halstead.n2
old: 7.0
new: 3.0
path: .spaces[2].metrics.halstead.volume
old: 157.17331799741265
new: 53.150849518197795

### Code

    inline char NS_ToLower(char aChar) {
      return (char)nsLowerUpperUtils::kUpper2Lower[(unsigned char)aChar];
    }

## Minimal test - lines (85, 87)

path: .spaces[1].metrics.loc.blank
old: 3.0
new: 0.0
path: .spaces[1].metrics.loc.lloc
old: 23.0
new: 1.0
path: .spaces[1].metrics.loc.ploc
old: 48.0
new: 3.0
path: .spaces[1].metrics.loc.sloc
old: 54.0
new: 3.0
path: .spaces[1].metrics.loc.cloc
old: 3.0
new: 0.0
path: .spaces[1].metrics.mi.mi_sei
old: 38.25941168117187
new: 115.28709909096526
path: .spaces[1].metrics.mi.mi_original
old: 66.1214792809403
new: 132.31218366561575
path: .spaces[1].metrics.mi.mi_visual_studio
old: 38.66753174323994
new: 77.37554600328406
path: .spaces[1].metrics.halstead.estimated_program_length
old: 295.18516927417994
new: 24.406371956566694
path: .spaces[1].metrics.halstead.N1
old: 164.0
new: 12.0
path: .spaces[1].metrics.halstead.bugs
old: 0.612695789870728
new: 0.01315901573170251
path: .spaces[1].metrics.halstead.vocabulary
old: 60.0
new: 10.0
path: .spaces[1].metrics.halstead.purity_ratio
old: 1.032115976483147
new: 1.5253982472854184
path: .spaces[1].metrics.halstead.n2
old: 34.0
new: 3.0
path: .spaces[1].metrics.halstead.difficulty
old: 46.64705882352941
new: 4.666666666666667
path: .spaces[1].metrics.halstead.length
old: 286.0
new: 16.0
path: .spaces[1].metrics.halstead.time
old: 4378.009716675885
new: 13.77984987508832
path: .spaces[1].metrics.halstead.N2
old: 122.0
new: 4.0
path: .spaces[1].metrics.halstead.n1
old: 26.0
new: 7.0
path: .spaces[1].metrics.halstead.effort
old: 78804.17490016593
new: 248.03729775158973
path: .spaces[1].metrics.halstead.volume
old: 1689.3707103440363
new: 53.150849518197795
path: .spaces[1].metrics.halstead.level
old: 0.021437578814627996
new: 0.21428571428571427
path: .spaces[1].metrics.cyclomatic.average
old: 7.0
new: 1.0
path: .spaces[1].metrics.cyclomatic.sum
old: 7.0
new: 1.0
path: .spaces[1].metrics.cognitive.sum
old: 11.0
new: 0.0
path: .spaces[1].metrics.cognitive.average
old: 11.0
new: 0.0
path: .spaces[1].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[1].metrics.nexits.average
old: 0.0
new: 1.0

### Code

    inline char NS_ToUpper(char aChar) {
      return (char)nsLowerUpperUtils::kLower2Upper[(unsigned char)aChar];
    }

## Minimal test - lines (79, 83)

path: .spaces[0].metrics.halstead.length
old: 88.0
new: 13.0
path: .spaces[0].metrics.halstead.N2
old: 38.0
new: 5.0
path: .spaces[0].metrics.halstead.n2
old: 18.0
new: 4.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.5188864654555614
new: 1.5084338826489854
path: .spaces[0].metrics.halstead.volume
old: 443.9066825035439
new: 41.209025018750054
path: .spaces[0].metrics.halstead.estimated_program_length
old: 133.6620089600894
new: 19.60964047443681
path: .spaces[0].metrics.halstead.difficulty
old: 15.833333333333334
new: 3.125
path: .spaces[0].metrics.halstead.n1
old: 15.0
new: 5.0
path: .spaces[0].metrics.halstead.N1
old: 50.0
new: 8.0
path: .spaces[0].metrics.halstead.bugs
old: 0.12230797349683316
new: 0.008500418726895942
path: .spaces[0].metrics.halstead.time
old: 390.47347072070994
new: 7.1543446213107735
path: .spaces[0].metrics.halstead.level
old: 0.06315789473684211
new: 0.32
path: .spaces[0].metrics.halstead.vocabulary
old: 33.0
new: 9.0
path: .spaces[0].metrics.halstead.effort
old: 7028.522472972779
new: 128.77820318359392
path: .spaces[0].metrics.nexits.average
old: 2.0
new: null
path: .spaces[0].metrics.nexits.sum
old: 2.0
new: 0.0
path: .spaces[0].metrics.mi.mi_sei
old: 78.66502618714419
new: 105.25734504973084
path: .spaces[0].metrics.mi.mi_visual_studio
old: 54.793490057047315
new: 73.3099929416517
path: .spaces[0].metrics.mi.mi_original
old: 93.69686799755092
new: 125.3600879302244
path: .spaces[0].metrics.cyclomatic.sum
old: 3.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.average
old: 3.0
new: 1.0
path: .spaces[0].metrics.cognitive.average
old: 3.0
new: null
path: .spaces[0].metrics.cognitive.sum
old: 3.0
new: 0.0
path: .spaces[0].metrics.nargs.sum
old: 5.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 5.0
new: null
path: .spaces[0].metrics.nom.functions
old: 1.0
new: 0.0
path: .spaces[0].metrics.nom.total
old: 1.0
new: 0.0
path: .spaces[0].metrics.loc.sloc
old: 16.0
new: 5.0
path: .spaces[0].metrics.loc.ploc
old: 16.0
new: 5.0
path: .spaces[0].metrics.loc.lloc
old: 11.0
new: 0.0
path: .spaces[0].metrics.loc.cloc
old: 1.0
new: 0.0

### Code

    class nsLowerUpperUtils {
     public:
      static const unsigned char kLower2Upper[256];
      static const unsigned char kUpper2Lower[256];
    };