# Global Metrics

path: .metrics.halstead.difficulty
old: 46.18518518518518
new: 8.86111111111111
path: .metrics.halstead.estimated_program_length
old: 870.4092990923541
new: 113.11239783097189
path: .metrics.halstead.time
old: 15189.175247355515
new: 172.18843749396615
path: .metrics.halstead.N1
old: 490.0
new: 43.0
path: .metrics.halstead.volume
old: 5919.758757189079
new: 349.77463164918515
path: .metrics.halstead.bugs
old: 1.4041598276967713
new: 0.07085922619797809
path: .metrics.halstead.N2
old: 344.0
new: 29.0
path: .metrics.halstead.purity_ratio
old: 1.043656233923686
new: 1.571005525430165
path: .metrics.halstead.length
old: 834.0
new: 72.0
path: .metrics.halstead.effort
old: 273405.1544523993
new: 3099.3918748913907
path: .metrics.halstead.level
old: 0.02165196471531676
new: 0.11285266457680251
path: .metrics.halstead.n1
old: 29.0
new: 11.0
path: .metrics.halstead.vocabulary
old: 137.0
new: 29.0
path: .metrics.halstead.n2
old: 108.0
new: 18.0
path: .metrics.nexits.sum
old: 20.0
new: 4.0
path: .metrics.nexits.average
old: 5.0
new: 2.0
path: .metrics.nargs.average
old: 1.25
new: 2.0
path: .metrics.nargs.sum
old: 5.0
new: 4.0
path: .metrics.cognitive.sum
old: 39.0
new: 2.0
path: .metrics.cognitive.average
old: 9.75
new: 1.0
path: .metrics.mi.mi_sei
old: -0.3175307033227419
new: 75.97326260506131
path: .metrics.mi.mi_visual_studio
old: 17.911226780389136
new: 49.29397627018505
path: .metrics.mi.mi_original
old: 30.62819779446542
new: 84.29269942201643
path: .metrics.loc.blank
old: 19.0
new: 4.0
path: .metrics.loc.ploc
old: 167.0
new: 21.0
path: .metrics.loc.cloc
old: 31.0
new: 5.0
path: .metrics.loc.lloc
old: 90.0
new: 9.0
path: .metrics.loc.sloc
old: 217.0
new: 30.0
path: .metrics.cyclomatic.average
old: 5.833333333333333
new: 1.6666666666666667
path: .metrics.cyclomatic.sum
old: 35.0
new: 5.0
path: .metrics.nom.total
old: 4.0
new: 2.0
path: .metrics.nom.functions
old: 4.0
new: 2.0

# Spaces Data

## Minimal test - lines (15, 21)

path: .spaces[0].metrics.cognitive.sum
old: 39.0
new: 1.0
path: .spaces[0].metrics.cognitive.average
old: 9.75
new: 1.0
path: .spaces[0].metrics.nexits.average
old: 5.0
new: 2.0
path: .spaces[0].metrics.nexits.sum
old: 20.0
new: 2.0
path: .spaces[0].metrics.nom.functions
old: 4.0
new: 1.0
path: .spaces[0].metrics.nom.total
old: 4.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 34.0
new: 2.0
path: .spaces[0].metrics.cyclomatic.average
old: 6.8
new: 2.0
path: .spaces[0].metrics.nargs.average
old: 1.25
new: 2.0
path: .spaces[0].metrics.nargs.sum
old: 5.0
new: 2.0
path: .spaces[0].metrics.loc.lloc
old: 90.0
new: 4.0
path: .spaces[0].metrics.loc.blank
old: 15.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 158.0
new: 7.0
path: .spaces[0].metrics.loc.cloc
old: 25.0
new: 0.0
path: .spaces[0].metrics.loc.sloc
old: 198.0
new: 7.0
path: .spaces[0].metrics.mi.mi_original
old: 32.433987484640056
new: 113.63807977744167
path: .spaces[0].metrics.mi.mi_sei
old: 0.7082753745745443
new: 88.44788187785568
path: .spaces[0].metrics.mi.mi_visual_studio
old: 18.96724414306436
new: 66.45501741370857
path: .spaces[0].metrics.halstead.N2
old: 338.0
new: 11.0
path: .spaces[0].metrics.halstead.n1
old: 29.0
new: 11.0
path: .spaces[0].metrics.halstead.level
old: 0.02081207916751683
new: 0.1322314049586777
path: .spaces[0].metrics.halstead.estimated_program_length
old: 821.468833739792
new: 62.05374780501027
path: .spaces[0].metrics.halstead.n2
old: 102.0
new: 8.0
path: .spaces[0].metrics.halstead.volume
old: 5816.640822271471
new: 131.68575291675114
path: .spaces[0].metrics.halstead.effort
old: 279483.88892110274
new: 995.8735064329304
path: .spaces[0].metrics.halstead.bugs
old: 1.4248963163633426
new: 0.03324157029386604
path: .spaces[0].metrics.halstead.difficulty
old: 48.049019607843135
new: 7.5625
path: .spaces[0].metrics.halstead.time
old: 15526.882717839042
new: 55.32630591294058
path: .spaces[0].metrics.halstead.length
old: 827.0
new: 31.0
path: .spaces[0].metrics.halstead.N1
old: 489.0
new: 20.0
path: .spaces[0].metrics.halstead.vocabulary
old: 131.0
new: 19.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.9933117699392888
new: 2.0017338001616216

### Code

    nsIOUtil::InputStreamIsBuffered(nsIInputStream* aStream, bool* aResult) {
      if (NS_WARN_IF(!aStream)) {
        return NS_ERROR_INVALID_ARG;
      }
      *aResult = NS_InputStreamIsBuffered(aStream);
      return NS_OK;
    }