# Global Metrics

path: .metrics.halstead.difficulty
old: 7.112903225806452
new: 66.0028818443804
path: .metrics.halstead.bugs
old: 0.08731751390208892
new: 4.755197556091839
path: .metrics.halstead.volume
old: 596.0559466273846
new: 25814.982239668516
path: .metrics.halstead.vocabulary
old: 40.0
new: 384.0
path: .metrics.halstead.time
old: 235.5382369737246
new: 94659.06792108995
path: .metrics.halstead.level
old: 0.1405895691609977
new: 0.015150853599965071
path: .metrics.halstead.estimated_program_length
old: 182.10941063497395
new: 3121.0105473729277
path: .metrics.halstead.N2
old: 49.0
new: 1238.0
path: .metrics.halstead.effort
old: 4239.688265527043
new: 1703863.2225796194
path: .metrics.halstead.n1
old: 9.0
new: 37.0
path: .metrics.halstead.N1
old: 63.0
new: 1769.0
path: .metrics.halstead.purity_ratio
old: 1.6259768806694104
new: 1.037915047347166
path: .metrics.halstead.length
old: 112.0
new: 3007.0
path: .metrics.halstead.n2
old: 31.0
new: 347.0
path: .metrics.cyclomatic.average
old: 1.0
new: 4.025
path: .metrics.cyclomatic.sum
old: 8.0
new: 161.0
path: .metrics.nexits.sum
old: 0.0
new: 54.0
path: .metrics.nexits.average
old: 0.0
new: 1.3846153846153846
path: .metrics.nom.total
old: 1.0
new: 39.0
path: .metrics.nom.functions
old: 1.0
new: 39.0
path: .metrics.cognitive.sum
old: 0.0
new: 165.0
path: .metrics.cognitive.average
old: 0.0
new: 4.230769230769231
path: .metrics.nargs.sum
old: 3.0
new: 79.0
path: .metrics.nargs.average
old: 3.0
new: 2.0256410256410255
path: .metrics.loc.ploc
old: 38.0
new: 625.0
path: .metrics.loc.blank
old: 4.0
new: 124.0
path: .metrics.loc.sloc
old: 51.0
new: 889.0
path: .metrics.loc.lloc
old: 0.0
new: 278.0
path: .metrics.loc.cloc
old: 9.0
new: 140.0
path: .metrics.mi.mi_visual_studio
old: 42.24250595268885
new: 0.0
path: .metrics.mi.mi_original
old: 72.23468517909794
new: -28.854868823833783
path: .metrics.mi.mi_sei
old: 59.61713975886081
new: -72.09774610066279

# Spaces Data

## Minimal test - lines (64, 77)

path: .spaces[0].metrics.loc.blank
old: 2.0
new: 0.0
path: .spaces[0].metrics.loc.sloc
old: 34.0
new: 14.0
path: .spaces[0].metrics.loc.cloc
old: 3.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 29.0
new: 14.0
path: .spaces[0].metrics.loc.lloc
old: 0.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 7.0
new: 1.0
path: .spaces[0].metrics.nargs.average
old: 3.0
new: 6.0
path: .spaces[0].metrics.nargs.sum
old: 3.0
new: 6.0
path: .spaces[0].metrics.mi.mi_sei
old: 62.19589861011875
new: 64.78149005100511
path: .spaces[0].metrics.mi.mi_visual_studio
old: 46.60648161333631
new: 56.90313634918393
path: .spaces[0].metrics.mi.mi_original
old: 79.69708355880508
new: 97.30436315710452
path: .spaces[0].metrics.halstead.time
old: 224.055172134838
new: 127.5537937295316
path: .spaces[0].metrics.halstead.n2
old: 24.0
new: 28.0
path: .spaces[0].metrics.halstead.vocabulary
old: 33.0
new: 38.0
path: .spaces[0].metrics.halstead.level
old: 0.13008130081300814
new: 0.16
path: .spaces[0].metrics.halstead.n1
old: 9.0
new: 10.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 138.56842503028855
new: 167.82521876648653
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.332388702214313
new: 2.397503125235522
path: .spaces[0].metrics.halstead.N1
old: 63.0
new: 35.0
path: .spaces[0].metrics.halstead.effort
old: 4032.993098427083
new: 2295.968287131569
path: .spaces[0].metrics.halstead.difficulty
old: 7.6875
new: 6.25
path: .spaces[0].metrics.halstead.N2
old: 41.0
new: 35.0
path: .spaces[0].metrics.halstead.bugs
old: 0.08445597846729465
new: 0.05801264523509569
path: .spaces[0].metrics.halstead.length
old: 104.0
new: 70.0
path: .spaces[0].metrics.halstead.volume
old: 524.6169884132792
new: 367.35492594105096

### Code

    nsPrefetchNode::nsPrefetchNode(nsPrefetchService* aService, nsIURI* aURI,
                                   nsIReferrerInfo* aReferrerInfo, nsINode* aSource,
                                   nsContentPolicyType aPolicyType, bool aPreload)
        : mURI(aURI),
          mReferrerInfo(aReferrerInfo),
          mPolicyType(aPolicyType),
          mPreload(aPreload),
          mService(aService),
          mChannel(nullptr),
          mBytesRead(0),
          mShouldFireLoadEvent(false) {
      nsWeakPtr source = do_GetWeakReference(aSource);
      mSources.AppendElement(source);
    }