# Global Metrics

path: .metrics.loc.cloc
old: 47.0
new: 78.0
path: .metrics.loc.sloc
old: 387.0
new: 696.0
path: .metrics.loc.ploc
old: 286.0
new: 533.0
path: .metrics.loc.lloc
old: 93.0
new: 204.0
path: .metrics.loc.blank
old: 54.0
new: 85.0
path: .metrics.nargs.sum
old: 37.0
new: 27.0
path: .metrics.nargs.average
old: 1.48
new: 3.0
path: .metrics.mi.mi_original
old: 11.051272615506347
new: -16.192855739599494
path: .metrics.mi.mi_visual_studio
old: 6.462732523687924
new: 0.0
path: .metrics.mi.mi_sei
old: -27.131734742747803
new: -61.143388772635255
path: .metrics.halstead.effort
old: 607654.43411169
new: 1370733.36278449
path: .metrics.halstead.n1
old: 33.0
new: 39.0
path: .metrics.halstead.N2
old: 523.0
new: 986.0
path: .metrics.halstead.vocabulary
old: 172.0
new: 319.0
path: .metrics.halstead.volume
old: 9787.816946697363
new: 19961.790273035687
path: .metrics.halstead.purity_ratio
old: 0.8770848369100125
new: 1.0343041380334244
path: .metrics.halstead.difficulty
old: 62.08273381294964
new: 68.66785714285714
path: .metrics.halstead.N1
old: 795.0
new: 1414.0
path: .metrics.halstead.time
old: 33758.57967287167
new: 76151.85348802722
path: .metrics.halstead.estimated_program_length
old: 1155.9978150473964
new: 2482.3299312802187
path: .metrics.halstead.bugs
old: 2.391386975178848
new: 4.113208590700022
path: .metrics.halstead.level
old: 0.01610753809606582
new: 0.014562854319446612
path: .metrics.halstead.n2
old: 139.0
new: 280.0
path: .metrics.halstead.length
old: 1318.0
new: 2400.0
path: .metrics.nexits.average
old: 0.88
new: 2.6666666666666665
path: .metrics.nexits.sum
old: 22.0
new: 24.0
path: .metrics.nom.functions
old: 24.0
new: 9.0
path: .metrics.nom.closures
old: 1.0
new: 0.0
path: .metrics.nom.total
old: 25.0
new: 9.0
path: .metrics.cognitive.sum
old: 59.0
new: 161.0
path: .metrics.cognitive.average
old: 2.36
new: 17.88888888888889
path: .metrics.cyclomatic.average
old: 2.2666666666666666
new: 9.923076923076923
path: .metrics.cyclomatic.sum
old: 68.0
new: 129.0

# Spaces Data

## Minimal test - lines (49, 66)

path: .spaces[0].metrics.loc.ploc
old: 273.0
new: 12.0
path: .spaces[0].metrics.loc.blank
old: 49.0
new: 3.0
path: .spaces[0].metrics.loc.sloc
old: 362.0
new: 18.0
path: .spaces[0].metrics.loc.cloc
old: 40.0
new: 3.0
path: .spaces[0].metrics.loc.lloc
old: 93.0
new: 0.0
path: .spaces[0].metrics.nexits.sum
old: 22.0
new: 0.0
path: .spaces[0].metrics.nexits.average
old: 0.88
new: null
path: .spaces[0].metrics.mi.mi_original
old: 12.46756154199133
new: 95.05756301289502
path: .spaces[0].metrics.mi.mi_visual_studio
old: 7.290971661983234
new: 55.589218136195925
path: .spaces[0].metrics.mi.mi_sei
old: -26.266626075505354
new: 91.09639848585016
path: .spaces[0].metrics.halstead.estimated_program_length
old: 1070.9133218884288
new: 77.30296890880646
path: .spaces[0].metrics.halstead.vocabulary
old: 162.0
new: 22.0
path: .spaces[0].metrics.halstead.effort
old: 628242.0003213232
new: 1330.1847456735254
path: .spaces[0].metrics.halstead.N1
old: 795.0
new: 40.0
path: .spaces[0].metrics.halstead.volume
old: 9593.183953770204
new: 258.64703388096325
path: .spaces[0].metrics.halstead.bugs
old: 2.4451005505511523
new: 0.04031686186717704
path: .spaces[0].metrics.halstead.n2
old: 129.0
new: 14.0
path: .spaces[0].metrics.halstead.time
old: 34902.33335118462
new: 73.89915253741808
path: .spaces[0].metrics.halstead.n1
old: 33.0
new: 8.0
path: .spaces[0].metrics.halstead.difficulty
old: 65.48837209302326
new: 5.142857142857143
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.8193674995320801
new: 1.3328098087725253
path: .spaces[0].metrics.halstead.N2
old: 512.0
new: 18.0
path: .spaces[0].metrics.halstead.length
old: 1307.0
new: 58.0
path: .spaces[0].metrics.halstead.level
old: 0.015269886363636362
new: 0.1944444444444444
path: .spaces[0].metrics.cognitive.average
old: 2.36
new: null
path: .spaces[0].metrics.cognitive.sum
old: 59.0
new: 0.0
path: .spaces[0].metrics.cyclomatic.average
old: 2.310344827586207
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 67.0
new: 1.0
path: .spaces[0].metrics.nom.functions
old: 24.0
new: 0.0
path: .spaces[0].metrics.nom.total
old: 25.0
new: 0.0
path: .spaces[0].metrics.nom.closures
old: 1.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 1.48
new: null
path: .spaces[0].metrics.nargs.sum
old: 37.0
new: 0.0

### Code

    struct ManifestDirective {
      const char* directive;
      int argc;

      bool ischrome;

      // The contentaccessible flags only apply to content/resource directives.
      bool contentflags;

      // Function to handle this directive. This isn't a union because C++ still
      // hasn't learned how to initialize unions in a sane way.
      void (nsComponentManagerImpl::*mgrfunc)(
          nsComponentManagerImpl::ManifestProcessingContext& aCx, int aLineNo,
          char* const* aArgv);
      void (nsChromeRegistry::*regfunc)(
          nsChromeRegistry::ManifestProcessingContext& aCx, int aLineNo,
          char* const* aArgv, int aFlags);
    };