# Global Metrics

path: .metrics.nexits.average
old: null
new: 3.0
path: .metrics.nexits.sum
old: 0.0
new: 9.0
path: .metrics.loc.cloc
old: 7.0
new: 10.0
path: .metrics.loc.lloc
old: 0.0
new: 40.0
path: .metrics.loc.sloc
old: 16.0
new: 101.0
path: .metrics.loc.ploc
old: 6.0
new: 71.0
path: .metrics.loc.blank
old: 3.0
new: 20.0
path: .metrics.cognitive.average
old: null
new: 9.0
path: .metrics.cognitive.sum
old: 0.0
new: 27.0
path: .metrics.nom.total
old: 0.0
new: 3.0
path: .metrics.nom.functions
old: 0.0
new: 3.0
path: .metrics.mi.mi_original
old: 109.4433044809487
new: 51.94537516714378
path: .metrics.mi.mi_visual_studio
old: 64.00193244499924
new: 30.377412378446657
path: .metrics.mi.mi_sei
old: 125.12389357706232
new: 24.39087813580539
path: .metrics.cyclomatic.average
old: 1.0
new: 4.25
path: .metrics.cyclomatic.sum
old: 2.0
new: 17.0
path: .metrics.nargs.average
old: null
new: 1.0
path: .metrics.nargs.sum
old: 0.0
new: 3.0
path: .metrics.halstead.length
old: 8.0
new: 358.0
path: .metrics.halstead.difficulty
old: 2.6666666666666665
new: 17.884615384615383
path: .metrics.halstead.time
old: 3.327235463179383
new: 2342.3049305449804
path: .metrics.halstead.vocabulary
old: 7.0
new: 96.0
path: .metrics.halstead.n1
old: 4.0
new: 18.0
path: .metrics.halstead.N2
old: 4.0
new: 155.0
path: .metrics.halstead.N1
old: 4.0
new: 203.0
path: .metrics.halstead.estimated_program_length
old: 12.754887502163468
new: 565.320023097217
path: .metrics.halstead.purity_ratio
old: 1.5943609377704335
new: 1.5791062097687627
path: .metrics.halstead.n2
old: 3.0
new: 78.0
path: .metrics.halstead.effort
old: 59.89023833722889
new: 42161.48874980964
path: .metrics.halstead.bugs
old: 0.005102497174224526
new: 0.40379044423291693
path: .metrics.halstead.level
old: 0.375
new: 0.05591397849462366
path: .metrics.halstead.volume
old: 22.458839376460833
new: 2357.416575258174

# Spaces Data

## Minimal test - lines (15, 26)

path: .spaces[0].metrics.nexits.average
old: null
new: 2.0
path: .spaces[0].metrics.nexits.sum
old: 0.0
new: 2.0
path: .spaces[0].metrics.loc.sloc
old: 6.0
new: 12.0
path: .spaces[0].metrics.loc.lloc
old: 0.0
new: 6.0
path: .spaces[0].metrics.loc.ploc
old: 3.0
new: 11.0
path: .spaces[0].metrics.loc.blank
old: 2.0
new: 1.0
path: .spaces[0].metrics.loc.cloc
old: 1.0
new: 0.0
path: .spaces[0].metrics.cognitive.average
old: null
new: 6.0
path: .spaces[0].metrics.cognitive.sum
old: 0.0
new: 6.0
path: .spaces[0].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[0].metrics.nargs.average
old: null
new: 1.0
path: .spaces[0].metrics.cyclomatic.average
old: 1.0
new: 4.0
path: .spaces[0].metrics.cyclomatic.sum
old: 1.0
new: 4.0
path: .spaces[0].metrics.halstead.n2
old: 2.0
new: 12.0
path: .spaces[0].metrics.halstead.level
old: 0.5
new: 0.09523809523809525
path: .spaces[0].metrics.halstead.estimated_program_length
old: 10.0
new: 86.03910001730775
path: .spaces[0].metrics.halstead.time
old: 1.723308333814104
new: 144.4263187727164
path: .spaces[0].metrics.halstead.length
old: 6.0
new: 54.0
path: .spaces[0].metrics.halstead.N1
old: 4.0
new: 33.0
path: .spaces[0].metrics.halstead.effort
old: 31.019550008653873
new: 2599.6737379088954
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.6666666666666667
new: 1.5933166669871806
path: .spaces[0].metrics.halstead.N2
old: 2.0
new: 21.0
path: .spaces[0].metrics.halstead.vocabulary
old: 6.0
new: 24.0
path: .spaces[0].metrics.halstead.volume
old: 15.509775004326936
new: 247.58797503894243
path: .spaces[0].metrics.halstead.difficulty
old: 2.0
new: 10.5
path: .spaces[0].metrics.halstead.n1
old: 4.0
new: 12.0
path: .spaces[0].metrics.halstead.bugs
old: 0.003290806962640765
new: 0.06302187353766961
path: .spaces[0].metrics.mi.mi_visual_studio
old: 74.55429833416675
new: 59.15984164383712
path: .spaces[0].metrics.mi.mi_sei
old: 137.88341291521272
new: 70.65426081807685
path: .spaces[0].metrics.mi.mi_original
old: 127.48785015142514
new: 101.16332921096148
path: .spaces[0].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[0].metrics.nom.total
old: 0.0
new: 1.0

### Code

    NS_IMETHODIMP nsMIMEInfoMac::GetDefaultDescription(nsAString& aDefaultDescription) {
      if (mDefaultApplication) {
        nsCOMPtr macFile = do_QueryInterface(mDefaultApplication);
        if (macFile) {
          bool isPackage;
          (void)macFile->IsPackage(&isPackage);
          if (isPackage) return macFile->GetBundleDisplayName(aDefaultDescription);
        }
      }

      return nsMIMEInfoImpl::GetDefaultDescription(aDefaultDescription);
    }