# Global Metrics

path: .metrics.nargs.average
old: 4.0625
new: 2.761904761904762
path: .metrics.nargs.sum
old: 65.0
new: 58.0
path: .metrics.nexits.average
old: 0.0625
new: 1.2857142857142858
path: .metrics.nexits.sum
old: 1.0
new: 27.0
path: .metrics.nom.functions
old: 16.0
new: 21.0
path: .metrics.nom.total
old: 16.0
new: 21.0
path: .metrics.halstead.purity_ratio
old: 0.4688448261348645
new: 0.3283231748429581
path: .metrics.halstead.length
old: 2674.0
new: 995.0
path: .metrics.halstead.level
old: 0.009174311926605503
new: 0.015458937198067632
path: .metrics.halstead.time
old: 121570.38181111965
new: 21373.44547645243
path: .metrics.halstead.n2
old: 154.0
new: 48.0
path: .metrics.halstead.bugs
old: 5.618395002774785
new: 1.7632346311967737
path: .metrics.halstead.effort
old: 2188266.8726001536
new: 384722.01857614383
path: .metrics.halstead.N1
old: 1475.0
new: 581.0
path: .metrics.halstead.difficulty
old: 109.0
new: 64.6875
path: .metrics.halstead.n1
old: 28.0
new: 15.0
path: .metrics.halstead.volume
old: 20075.842867891315
new: 5947.393523882417
path: .metrics.halstead.vocabulary
old: 182.0
new: 63.0
path: .metrics.halstead.estimated_program_length
old: 1253.6910650846276
new: 326.6815589687433
path: .metrics.halstead.N2
old: 1199.0
new: 414.0
path: .metrics.cyclomatic.sum
old: 41.0
new: 50.0
path: .metrics.cyclomatic.average
old: 2.411764705882353
new: 2.272727272727273
path: .metrics.cognitive.sum
old: 22.0
new: 28.0
path: .metrics.cognitive.average
old: 1.375
new: 1.3333333333333333
path: .metrics.loc.lloc
old: 166.0
new: 77.0
path: .metrics.loc.ploc
old: 359.0
new: 214.0
path: .metrics.loc.sloc
old: 688.0
new: 262.0
path: .metrics.loc.blank
old: 306.0
new: 43.0
path: .metrics.loc.cloc
old: 23.0
new: 5.0
path: .metrics.mi.mi_sei
old: -51.4859385039364
new: -25.220121937654696
path: .metrics.mi.mi_visual_studio
old: 2.4589495329236657
new: 14.09423138857069
path: .metrics.mi.mi_original
old: 4.204803701299468
new: 24.101135674455875

# Spaces Data

## Minimal test - lines (123, 132)

path: .spaces[9].metrics.mi.mi_sei
old: 41.30727283870519
new: 75.76617490718844
path: .spaces[9].metrics.mi.mi_original
old: 80.82154723513341
new: 104.84779034603626
path: .spaces[9].metrics.mi.mi_visual_studio
old: 47.264062710604335
new: 61.314497278383776
path: .spaces[9].metrics.halstead.purity_ratio
old: 0.6683959485339862
new: 1.924228653433368
path: .spaces[9].metrics.halstead.n2
old: 20.0
new: 13.0
path: .spaces[9].metrics.halstead.bugs
old: 0.3821487885310534
new: 0.05694209959297595
path: .spaces[9].metrics.halstead.vocabulary
old: 35.0
new: 26.0
path: .spaces[9].metrics.halstead.time
old: 2156.542928436799
new: 124.03938145094548
path: .spaces[9].metrics.halstead.N1
old: 124.0
new: 31.0
path: .spaces[9].metrics.halstead.length
old: 217.0
new: 50.0
path: .spaces[9].metrics.halstead.N2
old: 93.0
new: 19.0
path: .spaces[9].metrics.halstead.estimated_program_length
old: 145.04192083187502
new: 96.2114326716684
path: .spaces[9].metrics.halstead.level
old: 0.02867383512544803
new: 0.10526315789473684
path: .spaces[9].metrics.halstead.difficulty
old: 34.875
new: 9.5
path: .spaces[9].metrics.halstead.effort
old: 38817.77271186238
new: 2232.7088661170187
path: .spaces[9].metrics.halstead.volume
old: 1113.0544146770576
new: 235.0219859070546
path: .spaces[9].metrics.halstead.n1
old: 15.0
new: 13.0
path: .spaces[9].metrics.cognitive.average
old: 3.0
new: 1.0
path: .spaces[9].metrics.cognitive.sum
old: 3.0
new: 1.0
path: .spaces[9].metrics.nargs.sum
old: 5.0
new: 4.0
path: .spaces[9].metrics.nargs.average
old: 5.0
new: 4.0
path: .spaces[9].metrics.loc.sloc
old: 26.0
new: 10.0
path: .spaces[9].metrics.loc.lloc
old: 18.0
new: 3.0
path: .spaces[9].metrics.loc.ploc
old: 26.0
new: 9.0
path: .spaces[9].metrics.loc.blank
old: 0.0
new: 1.0
path: .spaces[9].metrics.cyclomatic.sum
old: 4.0
new: 2.0
path: .spaces[9].metrics.cyclomatic.average
old: 4.0
new: 2.0
path: .spaces[9].metrics.nexits.sum
old: 0.0
new: 2.0
path: .spaces[9].metrics.nexits.average
old: 0.0
new: 2.0

### Code

    nsresult CallCreateInstance(const char* aContractID, nsISupports* aDelegate,
                                const nsIID& aIID, void** aResult) {
      nsComponentManagerImpl* compMgr = nsComponentManagerImpl::gComponentManager;
      if (NS_WARN_IF(!compMgr)) {
        return NS_ERROR_NOT_INITIALIZED;
      }

      return compMgr->nsComponentManagerImpl::CreateInstanceByContractID(
          aContractID, aDelegate, aIID, aResult);
    }

## Minimal test - lines (112, 121)

path: .spaces[8].metrics.halstead.effort
old: 38817.77271186238
new: 2207.626340290182
path: .spaces[8].metrics.halstead.n1
old: 15.0
new: 13.0
path: .spaces[8].metrics.halstead.length
old: 217.0
new: 50.0
path: .spaces[8].metrics.halstead.N2
old: 93.0
new: 20.0
path: .spaces[8].metrics.halstead.level
old: 0.02867383512544803
new: 0.10769230769230768
path: .spaces[8].metrics.halstead.purity_ratio
old: 0.6683959485339862
new: 2.0281737048928132
path: .spaces[8].metrics.halstead.volume
old: 1113.0544146770576
new: 237.7443751081734
path: .spaces[8].metrics.halstead.bugs
old: 0.3821487885310534
new: 0.056514834059722706
path: .spaces[8].metrics.halstead.difficulty
old: 34.875
new: 9.285714285714286
path: .spaces[8].metrics.halstead.N1
old: 124.0
new: 30.0
path: .spaces[8].metrics.halstead.time
old: 2156.542928436799
new: 122.645907793899
path: .spaces[8].metrics.halstead.n2
old: 20.0
new: 14.0
path: .spaces[8].metrics.halstead.vocabulary
old: 35.0
new: 27.0
path: .spaces[8].metrics.halstead.estimated_program_length
old: 145.04192083187502
new: 101.40868524464064
path: .spaces[8].metrics.cognitive.sum
old: 3.0
new: 1.0
path: .spaces[8].metrics.cognitive.average
old: 3.0
new: 1.0
path: .spaces[8].metrics.cyclomatic.average
old: 4.0
new: 2.0
path: .spaces[8].metrics.cyclomatic.sum
old: 4.0
new: 2.0
path: .spaces[8].metrics.nargs.average
old: 5.0
new: 4.0
path: .spaces[8].metrics.nargs.sum
old: 5.0
new: 4.0
path: .spaces[8].metrics.loc.lloc
old: 18.0
new: 3.0
path: .spaces[8].metrics.loc.ploc
old: 26.0
new: 9.0
path: .spaces[8].metrics.loc.sloc
old: 26.0
new: 10.0
path: .spaces[8].metrics.loc.blank
old: 0.0
new: 1.0
path: .spaces[8].metrics.mi.mi_sei
old: 41.30727283870519
new: 75.67977439348591
path: .spaces[8].metrics.mi.mi_original
old: 80.82154723513341
new: 104.78790207356444
path: .spaces[8].metrics.mi.mi_visual_studio
old: 47.264062710604335
new: 61.279474896821306
path: .spaces[8].metrics.nexits.average
old: 0.0
new: 2.0
path: .spaces[8].metrics.nexits.sum
old: 0.0
new: 2.0

### Code

    nsresult CallCreateInstance(const nsCID& aCID, nsISupports* aDelegate,
                                const nsIID& aIID, void** aResult) {
      nsComponentManagerImpl* compMgr = nsComponentManagerImpl::gComponentManager;
      if (NS_WARN_IF(!compMgr)) {
        return NS_ERROR_NOT_INITIALIZED;
      }

      return compMgr->nsComponentManagerImpl::CreateInstance(aCID, aDelegate, aIID,
                                                             aResult);
    }

## Minimal test - lines (69, 77)

path: .spaces[4].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[4].metrics.nexits.average
old: 0.0
new: 1.0
path: .spaces[4].metrics.loc.ploc
old: 18.0
new: 9.0
path: .spaces[4].metrics.loc.sloc
old: 18.0
new: 9.0
path: .spaces[4].metrics.loc.cloc
old: 1.0
new: 0.0
path: .spaces[4].metrics.loc.lloc
old: 4.0
new: 3.0
path: .spaces[4].metrics.mi.mi_original
old: 89.10349185631931
new: 105.79389387915728
path: .spaces[4].metrics.mi.mi_sei
old: 70.80452809689216
new: 77.13111378258965
path: .spaces[4].metrics.mi.mi_visual_studio
old: 52.107305179134094
new: 61.86777419833758
path: .spaces[4].metrics.halstead.difficulty
old: 14.67741935483871
new: 10.5625
path: .spaces[4].metrics.halstead.N1
old: 83.0
new: 30.0
path: .spaces[4].metrics.halstead.N2
old: 65.0
new: 26.0
path: .spaces[4].metrics.halstead.time
old: 662.7623432022227
new: 159.63865325655328
path: .spaces[4].metrics.halstead.purity_ratio
old: 1.3978584765594568
new: 2.001887791711325
path: .spaces[4].metrics.halstead.vocabulary
old: 45.0
new: 29.0
path: .spaces[4].metrics.halstead.effort
old: 11929.72217764001
new: 2873.495758617959
path: .spaces[4].metrics.halstead.n2
old: 31.0
new: 16.0
path: .spaces[4].metrics.halstead.n1
old: 14.0
new: 13.0
path: .spaces[4].metrics.halstead.estimated_program_length
old: 206.8830545307996
new: 112.1057163358342
path: .spaces[4].metrics.halstead.bugs
old: 0.1740332772351756
new: 0.06737298439775984
path: .spaces[4].metrics.halstead.level
old: 0.06813186813186813
new: 0.09467455621301776
path: .spaces[4].metrics.halstead.volume
old: 812.7942582567919
new: 272.04693572714405
path: .spaces[4].metrics.halstead.length
old: 148.0
new: 56.0
path: .spaces[4].metrics.cognitive.average
old: 0.0
new: 1.0
path: .spaces[4].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[4].metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .spaces[4].metrics.cyclomatic.sum
old: 1.0
new: 2.0

### Code

    nsresult CallCreateInstance(const nsCID& aCID, nsISupports* aDelegate,
                                const nsIID& aIID, void** aResult) {
      nsCOMPtr compMgr;
      nsresult status = NS_GetComponentManager(getter_AddRefs(compMgr));
      if (compMgr) {
        status = compMgr->CreateInstance(aCID, aDelegate, aIID, aResult);
      }
      return status;
    }

## Minimal test - lines (134, 142)

path: .spaces[10].metrics.mi.mi_sei
old: 39.602465365796945
new: 79.27848942188929
path: .spaces[10].metrics.mi.mi_visual_studio
old: 46.57302031689447
new: 62.73821125680757
path: .spaces[10].metrics.mi.mi_original
old: 79.63986474188954
new: 107.28234124914094
path: .spaces[10].metrics.nexits.sum
old: 0.0
new: 2.0
path: .spaces[10].metrics.nexits.average
old: 0.0
new: 2.0
path: .spaces[10].metrics.loc.ploc
old: 27.0
new: 8.0
path: .spaces[10].metrics.loc.sloc
old: 27.0
new: 9.0
path: .spaces[10].metrics.loc.blank
old: 0.0
new: 1.0
path: .spaces[10].metrics.loc.lloc
old: 18.0
new: 3.0
path: .spaces[10].metrics.halstead.bugs
old: 0.4158635887795274
new: 0.05080273096889866
path: .spaces[10].metrics.halstead.N2
old: 102.0
new: 17.0
path: .spaces[10].metrics.halstead.time
old: 2448.1370277512674
new: 104.52976293835512
path: .spaces[10].metrics.halstead.difficulty
old: 35.47826086956522
new: 9.208333333333334
path: .spaces[10].metrics.halstead.vocabulary
old: 39.0
new: 25.0
path: .spaces[10].metrics.halstead.level
old: 0.02818627450980392
new: 0.10859728506787328
path: .spaces[10].metrics.halstead.purity_ratio
old: 0.7150720212311119
new: 2.071028780556547
path: .spaces[10].metrics.halstead.length
old: 235.0
new: 44.0
path: .spaces[10].metrics.halstead.volume
old: 1242.0695214326283
new: 204.32967235008783
path: .spaces[10].metrics.halstead.N1
old: 133.0
new: 27.0
path: .spaces[10].metrics.halstead.effort
old: 44066.466499522816
new: 1881.5357328903924
path: .spaces[10].metrics.halstead.n1
old: 16.0
new: 13.0
path: .spaces[10].metrics.halstead.n2
old: 23.0
new: 12.0
path: .spaces[10].metrics.halstead.estimated_program_length
old: 168.0419249893113
new: 91.12526634448808
path: .spaces[10].metrics.nargs.sum
old: 5.0
new: 3.0
path: .spaces[10].metrics.nargs.average
old: 5.0
new: 3.0
path: .spaces[10].metrics.cognitive.sum
old: 3.0
new: 1.0
path: .spaces[10].metrics.cognitive.average
old: 3.0
new: 1.0
path: .spaces[10].metrics.cyclomatic.sum
old: 4.0
new: 2.0
path: .spaces[10].metrics.cyclomatic.average
old: 4.0
new: 2.0

### Code

    nsresult CallGetClassObject(const nsCID& aCID, const nsIID& aIID,
                                void** aResult) {
      nsComponentManagerImpl* compMgr = nsComponentManagerImpl::gComponentManager;
      if (NS_WARN_IF(!compMgr)) {
        return NS_ERROR_NOT_INITIALIZED;
      }

      return compMgr->nsComponentManagerImpl::GetClassObject(aCID, aIID, aResult);
    }

## Minimal test - lines (182, 192)

path: .spaces[14].metrics.cognitive.average
old: 3.0
new: 2.0
path: .spaces[14].metrics.cognitive.sum
old: 3.0
new: 2.0
path: .spaces[14].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[14].metrics.nexits.average
old: 0.0
new: 1.0
path: .spaces[14].metrics.loc.lloc
old: 18.0
new: 5.0
path: .spaces[14].metrics.loc.sloc
old: 35.0
new: 11.0
path: .spaces[14].metrics.loc.ploc
old: 35.0
new: 11.0
path: .spaces[14].metrics.mi.mi_sei
old: 32.750034966311276
new: 73.90261477219131
path: .spaces[14].metrics.mi.mi_visual_studio
old: 43.79539294181449
new: 60.517832014144965
path: .spaces[14].metrics.mi.mi_original
old: 74.89012193050279
new: 103.4854927441879
path: .spaces[14].metrics.nargs.average
old: 5.0
new: 2.0
path: .spaces[14].metrics.nargs.sum
old: 5.0
new: 2.0
path: .spaces[14].metrics.halstead.estimated_program_length
old: 168.0419249893113
new: 81.07329781366414
path: .spaces[14].metrics.halstead.length
old: 261.0
new: 48.0
path: .spaces[14].metrics.halstead.purity_ratio
old: 0.6438387930624954
new: 1.6890270377846697
path: .spaces[14].metrics.halstead.bugs
old: 0.48313048240259127
new: 0.057240230805345335
path: .spaces[14].metrics.halstead.level
old: 0.025
new: 0.09649122807017543
path: .spaces[14].metrics.halstead.N2
old: 115.0
new: 19.0
path: .spaces[14].metrics.halstead.difficulty
old: 40.0
new: 10.363636363636363
path: .spaces[14].metrics.halstead.n2
old: 23.0
new: 11.0
path: .spaces[14].metrics.halstead.volume
old: 1379.4899791230469
new: 217.13097389073664
path: .spaces[14].metrics.halstead.vocabulary
old: 39.0
new: 23.0
path: .spaces[14].metrics.halstead.n1
old: 16.0
new: 12.0
path: .spaces[14].metrics.halstead.effort
old: 55179.59916492188
new: 2250.266456685816
path: .spaces[14].metrics.halstead.N1
old: 146.0
new: 29.0
path: .spaces[14].metrics.halstead.time
old: 3065.5332869401045
new: 125.014803149212
path: .spaces[14].metrics.cyclomatic.sum
old: 4.0
new: 3.0
path: .spaces[14].metrics.cyclomatic.average
old: 4.0
new: 3.0

### Code

    nsresult nsCreateInstanceFromFactory::operator()(const nsIID& aIID,
                                                     void** aInstancePtr) const {
      nsresult status = mFactory->CreateInstance(nullptr, aIID, aInstancePtr);
      if (NS_FAILED(status)) {
        *aInstancePtr = 0;
      }
      if (mErrorPtr) {
        *mErrorPtr = status;
      }
      return status;
    }

## Minimal test - lines (54, 63)

path: .spaces[3].metrics.cognitive.average
old: 0.0
new: 1.0
path: .spaces[3].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[3].metrics.halstead.time
old: 746.2532261928368
new: 102.91103450029703
path: .spaces[3].metrics.halstead.level
old: 0.06368159203980099
new: 0.10256410256410256
path: .spaces[3].metrics.halstead.bugs
old: 0.18835821369451625
new: 0.05027688681189024
path: .spaces[3].metrics.halstead.n1
old: 15.0
new: 13.0
path: .spaces[3].metrics.halstead.N1
old: 87.0
new: 27.0
path: .spaces[3].metrics.halstead.volume
old: 855.4066831583561
new: 189.98960215439456
path: .spaces[3].metrics.halstead.estimated_program_length
old: 218.60335893412775
new: 81.32499728470782
path: .spaces[3].metrics.halstead.purity_ratio
old: 1.4195023307410894
new: 1.93630945915971
path: .spaces[3].metrics.halstead.length
old: 154.0
new: 42.0
path: .spaces[3].metrics.halstead.effort
old: 13432.55807147106
new: 1852.398621005347
path: .spaces[3].metrics.halstead.N2
old: 67.0
new: 15.0
path: .spaces[3].metrics.halstead.n2
old: 32.0
new: 10.0
path: .spaces[3].metrics.halstead.vocabulary
old: 47.0
new: 23.0
path: .spaces[3].metrics.halstead.difficulty
old: 15.703125
new: 9.75
path: .spaces[3].metrics.loc.blank
old: 0.0
new: 1.0
path: .spaces[3].metrics.loc.ploc
old: 18.0
new: 9.0
path: .spaces[3].metrics.loc.sloc
old: 18.0
new: 10.0
path: .spaces[3].metrics.loc.lloc
old: 4.0
new: 3.0
path: .spaces[3].metrics.nexits.average
old: 0.0
new: 2.0
path: .spaces[3].metrics.nexits.sum
old: 0.0
new: 2.0
path: .spaces[3].metrics.cyclomatic.sum
old: 1.0
new: 2.0
path: .spaces[3].metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .spaces[3].metrics.mi.mi_original
old: 88.83777707701579
new: 105.95388089866547
path: .spaces[3].metrics.mi.mi_sei
old: 52.56678830000159
new: 77.36192626224074
path: .spaces[3].metrics.mi.mi_visual_studio
old: 51.95191641930747
new: 61.96133385886869
path: .spaces[3].metrics.nargs.average
old: 4.0
new: 3.0
path: .spaces[3].metrics.nargs.sum
old: 4.0
new: 3.0

### Code

    nsresult CallGetService(const char* aContractID, const nsIID& aIID,
                            void** aResult) {
      nsComponentManagerImpl* compMgr = nsComponentManagerImpl::gComponentManager;
      if (!compMgr) {
        return NS_ERROR_NOT_INITIALIZED;
      }

      return compMgr->nsComponentManagerImpl::GetServiceByContractID(aContractID,
                                                                     aIID, aResult);
    }

## Minimal test - lines (22, 29)

path: .spaces[0].metrics.nargs.average
old: 1.0
new: 3.0
path: .spaces[0].metrics.nargs.sum
old: 1.0
new: 3.0
path: .spaces[0].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[0].metrics.cognitive.average
old: 0.0
new: 1.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: 75.64491388055058
new: 63.39346643558751
path: .spaces[0].metrics.mi.mi_sei
old: 111.2212546181432
new: 80.89500953066118
path: .spaces[0].metrics.mi.mi_original
old: 129.35280273574148
new: 108.40282760485464
path: .spaces[0].metrics.cyclomatic.sum
old: 3.0
new: 2.0
path: .spaces[0].metrics.cyclomatic.average
old: 3.0
new: 2.0
path: .spaces[0].metrics.loc.lloc
old: 1.0
new: 3.0
path: .spaces[0].metrics.loc.ploc
old: 3.0
new: 8.0
path: .spaces[0].metrics.loc.sloc
old: 3.0
new: 8.0
path: .spaces[0].metrics.halstead.difficulty
old: 8.25
new: 10.678571428571429
path: .spaces[0].metrics.halstead.estimated_program_length
old: 44.039100017307746
new: 101.40868524464064
path: .spaces[0].metrics.halstead.vocabulary
old: 15.0
new: 27.0
path: .spaces[0].metrics.halstead.volume
old: 85.95159310338741
new: 237.7443751081734
path: .spaces[0].metrics.halstead.time
old: 39.3944801723859
new: 141.04279396298384
path: .spaces[0].metrics.halstead.n1
old: 9.0
new: 13.0
path: .spaces[0].metrics.halstead.N2
old: 11.0
new: 23.0
path: .spaces[0].metrics.halstead.effort
old: 709.1006431029462
new: 2538.770291333709
path: .spaces[0].metrics.halstead.level
old: 0.12121212121212122
new: 0.09364548494983276
path: .spaces[0].metrics.halstead.N1
old: 11.0
new: 27.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 2.0017772735139885
new: 2.0281737048928132
path: .spaces[0].metrics.halstead.n2
old: 6.0
new: 14.0
path: .spaces[0].metrics.halstead.bugs
old: 0.02650639495202721
new: 0.062033699746200675
path: .spaces[0].metrics.halstead.length
old: 22.0
new: 50.0

### Code

    nsresult CallGetService(const nsCID& aCID, const nsIID& aIID, void** aResult) {
      nsCOMPtr servMgr;
      nsresult status = NS_GetServiceManager(getter_AddRefs(servMgr));
      if (servMgr) {
        status = servMgr->GetService(aCID, aIID, aResult);
      }
      return status;
    }

## Minimal test - lines (45, 52)

path: .spaces[2].metrics.halstead.n2
old: 23.0
new: 11.0
path: .spaces[2].metrics.halstead.estimated_program_length
old: 142.09567279432156
new: 86.15946414084446
path: .spaces[2].metrics.halstead.time
old: 304.1418002921398
new: 101.14705153106064
path: .spaces[2].metrics.halstead.N1
old: 55.0
new: 26.0
path: .spaces[2].metrics.halstead.bugs
old: 0.10354071433636816
new: 0.0497007070358555
path: .spaces[2].metrics.halstead.N2
old: 45.0
new: 16.0
path: .spaces[2].metrics.halstead.n1
old: 11.0
new: 13.0
path: .spaces[2].metrics.halstead.length
old: 100.0
new: 42.0
path: .spaces[2].metrics.halstead.difficulty
old: 10.76086956521739
new: 9.454545454545457
path: .spaces[2].metrics.halstead.volume
old: 508.7462841250339
new: 192.56842503028855
path: .spaces[2].metrics.halstead.purity_ratio
old: 1.4209567279432156
new: 2.051415812877249
path: .spaces[2].metrics.halstead.vocabulary
old: 34.0
new: 24.0
path: .spaces[2].metrics.halstead.effort
old: 5474.552405258517
new: 1820.646927559092
path: .spaces[2].metrics.halstead.level
old: 0.09292929292929292
new: 0.10576923076923075
path: .spaces[2].metrics.loc.ploc
old: 9.0
new: 7.0
path: .spaces[2].metrics.loc.sloc
old: 9.0
new: 8.0
path: .spaces[2].metrics.loc.blank
old: 0.0
new: 1.0
path: .spaces[2].metrics.mi.mi_visual_studio
old: 60.098727951227175
new: 64.03432689437102
path: .spaces[2].metrics.mi.mi_sei
old: 72.66504175943108
new: 82.47601774256003
path: .spaces[2].metrics.mi.mi_original
old: 102.76882479659848
new: 109.49869898937445
path: .spaces[2].metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .spaces[2].metrics.cyclomatic.sum
old: 1.0
new: 2.0
path: .spaces[2].metrics.cognitive.average
old: 0.0
new: 1.0
path: .spaces[2].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[2].metrics.nargs.sum
old: 4.0
new: 3.0
path: .spaces[2].metrics.nargs.average
old: 4.0
new: 3.0
path: .spaces[2].metrics.nexits.sum
old: 0.0
new: 2.0
path: .spaces[2].metrics.nexits.average
old: 0.0
new: 2.0

### Code

    nsresult CallGetService(const nsCID& aCID, const nsIID& aIID, void** aResult) {
      nsComponentManagerImpl* compMgr = nsComponentManagerImpl::gComponentManager;
      if (!compMgr) {
        return NS_ERROR_NOT_INITIALIZED;
      }

      return compMgr->nsComponentManagerImpl::GetService(aCID, aIID, aResult);
    }

## Minimal test - lines (169, 180)

path: .spaces[13].metrics.nargs.average
old: 5.0
new: 2.0
path: .spaces[13].metrics.nargs.sum
old: 5.0
new: 2.0
path: .spaces[13].metrics.cyclomatic.sum
old: 4.0
new: 3.0
path: .spaces[13].metrics.cyclomatic.average
old: 4.0
new: 3.0
path: .spaces[13].metrics.loc.sloc
old: 35.0
new: 12.0
path: .spaces[13].metrics.loc.ploc
old: 35.0
new: 12.0
path: .spaces[13].metrics.loc.lloc
old: 18.0
new: 5.0
path: .spaces[13].metrics.cognitive.average
old: 3.0
new: 2.0
path: .spaces[13].metrics.cognitive.sum
old: 3.0
new: 2.0
path: .spaces[13].metrics.mi.mi_visual_studio
old: 43.79539294181449
new: 59.73693342828515
path: .spaces[13].metrics.mi.mi_original
old: 74.89012193050279
new: 102.1501561623676
path: .spaces[13].metrics.mi.mi_sei
old: 32.750034966311276
new: 71.97613130768157
path: .spaces[13].metrics.halstead.difficulty
old: 40.0
new: 9.5
path: .spaces[13].metrics.halstead.level
old: 0.025
new: 0.10526315789473684
path: .spaces[13].metrics.halstead.length
old: 261.0
new: 48.0
path: .spaces[13].metrics.halstead.n1
old: 16.0
new: 11.0
path: .spaces[13].metrics.halstead.N1
old: 146.0
new: 29.0
path: .spaces[13].metrics.halstead.effort
old: 55179.59916492188
new: 2033.5008180986076
path: .spaces[13].metrics.halstead.vocabulary
old: 39.0
new: 22.0
path: .spaces[13].metrics.halstead.n2
old: 23.0
new: 11.0
path: .spaces[13].metrics.halstead.bugs
old: 0.48313048240259127
new: 0.05350261135602464
path: .spaces[13].metrics.halstead.purity_ratio
old: 0.6438387930624954
new: 1.585572825208761
path: .spaces[13].metrics.halstead.N2
old: 115.0
new: 19.0
path: .spaces[13].metrics.halstead.volume
old: 1379.4899791230469
new: 214.05271769459029
path: .spaces[13].metrics.halstead.time
old: 3065.5332869401045
new: 112.97226767214488
path: .spaces[13].metrics.halstead.estimated_program_length
old: 168.0419249893113
new: 76.10749561002054
path: .spaces[13].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[13].metrics.nexits.average
old: 0.0
new: 1.0

### Code

    nsresult nsCreateInstanceByContractID::operator()(const nsIID& aIID,
                                                      void** aInstancePtr) const {
      nsresult status =
          CallCreateInstance(mContractID, nullptr, aIID, aInstancePtr);
      if (NS_FAILED(status)) {
        *aInstancePtr = 0;
      }
      if (mErrorPtr) {
        *mErrorPtr = status;
      }
      return status;
    }

## Minimal test - lines (157, 167)

path: .spaces[12].metrics.loc.lloc
old: 18.0
new: 5.0
path: .spaces[12].metrics.loc.ploc
old: 27.0
new: 11.0
path: .spaces[12].metrics.loc.sloc
old: 27.0
new: 11.0
path: .spaces[12].metrics.cognitive.average
old: 3.0
new: 2.0
path: .spaces[12].metrics.cognitive.sum
old: 3.0
new: 2.0
path: .spaces[12].metrics.cyclomatic.sum
old: 4.0
new: 3.0
path: .spaces[12].metrics.cyclomatic.average
old: 4.0
new: 3.0
path: .spaces[12].metrics.nargs.sum
old: 5.0
new: 2.0
path: .spaces[12].metrics.nargs.average
old: 5.0
new: 2.0
path: .spaces[12].metrics.mi.mi_visual_studio
old: 46.633728417306095
new: 60.56125173660796
path: .spaces[12].metrics.mi.mi_original
old: 79.74367559359342
new: 103.5597404695996
path: .spaces[12].metrics.mi.mi_sei
old: 39.75223276674059
new: 74.00973159744008
path: .spaces[12].metrics.halstead.N2
old: 101.0
new: 19.0
path: .spaces[12].metrics.halstead.effort
old: 40098.72961793807
new: 2033.5008180986076
path: .spaces[12].metrics.halstead.level
old: 0.030363036303630367
new: 0.10526315789473684
path: .spaces[12].metrics.halstead.length
old: 232.0
new: 48.0
path: .spaces[12].metrics.halstead.difficulty
old: 32.93478260869565
new: 9.5
path: .spaces[12].metrics.halstead.n1
old: 15.0
new: 11.0
path: .spaces[12].metrics.halstead.vocabulary
old: 38.0
new: 22.0
path: .spaces[12].metrics.halstead.purity_ratio
old: 0.7010572582906857
new: 1.585572825208761
path: .spaces[12].metrics.halstead.estimated_program_length
old: 162.64528392343908
new: 76.10749561002054
path: .spaces[12].metrics.halstead.bugs
old: 0.39051029515284735
new: 0.05350261135602464
path: .spaces[12].metrics.halstead.volume
old: 1217.5191831189118
new: 214.05271769459029
path: .spaces[12].metrics.halstead.N1
old: 131.0
new: 29.0
path: .spaces[12].metrics.halstead.time
old: 2227.7072009965595
new: 112.97226767214488
path: .spaces[12].metrics.halstead.n2
old: 23.0
new: 11.0
path: .spaces[12].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[12].metrics.nexits.average
old: 0.0
new: 1.0

### Code

    nsresult nsCreateInstanceByCID::operator()(const nsIID& aIID,
                                               void** aInstancePtr) const {
      nsresult status = CallCreateInstance(mCID, nullptr, aIID, aInstancePtr);
      if (NS_FAILED(status)) {
        *aInstancePtr = 0;
      }
      if (mErrorPtr) {
        *mErrorPtr = status;
      }
      return status;
    }

## Minimal test - lines (31, 39)

path: .spaces[1].metrics.nargs.sum
old: 4.0
new: 3.0
path: .spaces[1].metrics.nargs.average
old: 4.0
new: 3.0
path: .spaces[1].metrics.mi.mi_original
old: 102.76882479659848
new: 106.55463069969304
path: .spaces[1].metrics.mi.mi_sei
old: 72.66504175943108
new: 78.22862502099825
path: .spaces[1].metrics.mi.mi_visual_studio
old: 60.098727951227175
new: 62.312649531984235
path: .spaces[1].metrics.halstead.effort
old: 5474.552405258517
new: 2585.2418449776005
path: .spaces[1].metrics.halstead.level
old: 0.09292929292929292
new: 0.09090909090909093
path: .spaces[1].metrics.halstead.purity_ratio
old: 1.4209567279432156
new: 1.924228653433368
path: .spaces[1].metrics.halstead.time
old: 304.1418002921398
new: 143.62454694320002
path: .spaces[1].metrics.halstead.length
old: 100.0
new: 50.0
path: .spaces[1].metrics.halstead.bugs
old: 0.10354071433636816
new: 0.06278841641123072
path: .spaces[1].metrics.halstead.N1
old: 55.0
new: 28.0
path: .spaces[1].metrics.halstead.vocabulary
old: 34.0
new: 26.0
path: .spaces[1].metrics.halstead.N2
old: 45.0
new: 22.0
path: .spaces[1].metrics.halstead.n1
old: 11.0
new: 13.0
path: .spaces[1].metrics.halstead.n2
old: 23.0
new: 13.0
path: .spaces[1].metrics.halstead.volume
old: 508.7462841250339
new: 235.0219859070546
path: .spaces[1].metrics.halstead.estimated_program_length
old: 142.09567279432156
new: 96.2114326716684
path: .spaces[1].metrics.halstead.difficulty
old: 10.76086956521739
new: 11.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
path: .spaces[1].metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .spaces[1].metrics.cyclomatic.sum
old: 1.0
new: 2.0
path: .spaces[1].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[1].metrics.cognitive.average
old: 0.0
new: 1.0

### Code

    nsresult CallGetService(const char* aContractID, const nsIID& aIID,
                            void** aResult) {
      nsCOMPtr servMgr;
      nsresult status = NS_GetServiceManager(getter_AddRefs(servMgr));
      if (servMgr) {
        status = servMgr->GetServiceByContractID(aContractID, aIID, aResult);
      }
      return status;
    }

## Minimal test - lines (144, 153)

path: .spaces[11].metrics.nexits.average
old: 0.0
new: 2.0
path: .spaces[11].metrics.nexits.sum
old: 0.0
new: 2.0
path: .spaces[11].metrics.halstead.time
old: 2227.7072009965595
new: 105.9635777944445
path: .spaces[11].metrics.halstead.volume
old: 1217.5191831189118
new: 201.73835003173087
path: .spaces[11].metrics.halstead.effort
old: 40098.72961793807
new: 1907.344400300001
path: .spaces[11].metrics.halstead.n1
old: 15.0
new: 13.0
path: .spaces[11].metrics.halstead.difficulty
old: 32.93478260869565
new: 9.454545454545457
path: .spaces[11].metrics.halstead.n2
old: 23.0
new: 11.0
path: .spaces[11].metrics.halstead.purity_ratio
old: 0.7010572582906857
new: 1.9581696395646468
path: .spaces[11].metrics.halstead.vocabulary
old: 38.0
new: 24.0
path: .spaces[11].metrics.halstead.bugs
old: 0.39051029515284735
new: 0.05126624292009884
path: .spaces[11].metrics.halstead.length
old: 232.0
new: 44.0
path: .spaces[11].metrics.halstead.N2
old: 101.0
new: 16.0
path: .spaces[11].metrics.halstead.N1
old: 131.0
new: 28.0
path: .spaces[11].metrics.halstead.level
old: 0.030363036303630367
new: 0.10576923076923075
path: .spaces[11].metrics.halstead.estimated_program_length
old: 162.64528392343908
new: 86.15946414084446
path: .spaces[11].metrics.loc.lloc
old: 18.0
new: 3.0
path: .spaces[11].metrics.loc.blank
old: 0.0
new: 1.0
path: .spaces[11].metrics.loc.ploc
old: 27.0
new: 9.0
path: .spaces[11].metrics.loc.sloc
old: 27.0
new: 10.0
path: .spaces[11].metrics.nargs.sum
old: 5.0
new: 3.0
path: .spaces[11].metrics.nargs.average
old: 5.0
new: 3.0
path: .spaces[11].metrics.cognitive.sum
old: 3.0
new: 1.0
path: .spaces[11].metrics.cognitive.average
old: 3.0
new: 1.0
path: .spaces[11].metrics.cyclomatic.average
old: 4.0
new: 2.0
path: .spaces[11].metrics.cyclomatic.sum
old: 4.0
new: 2.0
path: .spaces[11].metrics.mi.mi_original
old: 79.74367559359342
new: 105.6418693767828
path: .spaces[11].metrics.mi.mi_sei
old: 39.75223276674059
new: 76.91178878692035
path: .spaces[11].metrics.mi.mi_visual_studio
old: 46.633728417306095
new: 61.77887098057474

### Code

    nsresult CallGetClassObject(const char* aContractID, const nsIID& aIID,
                                void** aResult) {
      nsComponentManagerImpl* compMgr = nsComponentManagerImpl::gComponentManager;
      if (NS_WARN_IF(!compMgr)) {
        return NS_ERROR_NOT_INITIALIZED;
      }

      return compMgr->nsComponentManagerImpl::GetClassObjectByContractID(
          aContractID, aIID, aResult);
    }

## Minimal test - lines (99, 106)

path: .spaces[7].metrics.halstead.volume
old: 128.0
new: 230.3215461889135
path: .spaces[7].metrics.halstead.n1
old: 8.0
new: 13.0
path: .spaces[7].metrics.halstead.n2
old: 8.0
new: 13.0
path: .spaces[7].metrics.halstead.N1
old: 19.0
new: 27.0
path: .spaces[7].metrics.halstead.effort
old: 832.0
new: 2533.5370080780485
path: .spaces[7].metrics.halstead.level
old: 0.15384615384615383
new: 0.09090909090909093
path: .spaces[7].metrics.halstead.time
old: 46.22222222222222
new: 140.75205600433603
path: .spaces[7].metrics.halstead.length
old: 32.0
new: 49.0
path: .spaces[7].metrics.halstead.bugs
old: 0.02948679900628731
new: 0.061948421830852016
path: .spaces[7].metrics.halstead.difficulty
old: 6.5
new: 11.0
path: .spaces[7].metrics.halstead.N2
old: 13.0
new: 22.0
path: .spaces[7].metrics.halstead.estimated_program_length
old: 48.0
new: 96.2114326716684
path: .spaces[7].metrics.halstead.purity_ratio
old: 1.5
new: 1.963498625952416
path: .spaces[7].metrics.halstead.vocabulary
old: 16.0
new: 26.0
path: .spaces[7].metrics.mi.mi_sei
old: 101.97
new: 81.13297104179321
path: .spaces[7].metrics.mi.mi_original
old: 123.08147397747578
new: 108.56776995537756
path: .spaces[7].metrics.mi.mi_visual_studio
old: 71.97747016226654
new: 63.4899239505132
path: .spaces[7].metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .spaces[7].metrics.cyclomatic.sum
old: 1.0
new: 2.0
path: .spaces[7].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[7].metrics.nexits.average
old: 0.0
new: 1.0
path: .spaces[7].metrics.cognitive.average
old: 0.0
new: 1.0
path: .spaces[7].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[7].metrics.nargs.sum
old: 4.0
new: 3.0
path: .spaces[7].metrics.nargs.average
old: 4.0
new: 3.0
path: .spaces[7].metrics.loc.lloc
old: 2.0
new: 3.0
path: .spaces[7].metrics.loc.ploc
old: 4.0
new: 8.0
path: .spaces[7].metrics.loc.sloc
old: 4.0
new: 8.0

### Code

    nsresult CallGetClassObject(const char* aContractID, const nsIID& aIID,
                                void** aResult) {
      nsCOMPtr compMgr;
      nsresult status = NS_GetComponentManager(getter_AddRefs(compMgr));
      if (compMgr)
        status = compMgr->GetClassObjectByContractID(aContractID, aIID, aResult);
      return status;
    }

## Minimal test - lines (194, 204)

path: .spaces[15].metrics.halstead.level
old: 0.1776061776061776
new: 0.101010101010101
path: .spaces[15].metrics.halstead.purity_ratio
old: 1.6492454592495271
new: 1.5494136685626934
path: .spaces[15].metrics.halstead.effort
old: 2072.0945612977275
new: 2000.2613543334476
path: .spaces[15].metrics.halstead.length
old: 75.0
new: 46.0
path: .spaces[15].metrics.halstead.time
old: 115.1163645165404
new: 111.12563079630264
path: .spaces[15].metrics.halstead.n1
old: 7.0
new: 11.0
path: .spaces[15].metrics.halstead.bugs
old: 0.05417743742037417
new: 0.052917978011257895
path: .spaces[15].metrics.halstead.vocabulary
old: 30.0
new: 21.0
path: .spaces[15].metrics.halstead.N2
old: 37.0
new: 18.0
path: .spaces[15].metrics.halstead.estimated_program_length
old: 123.69340944371451
new: 71.27302875388389
path: .spaces[15].metrics.halstead.difficulty
old: 5.630434782608695
new: 9.9
path: .spaces[15].metrics.halstead.n2
old: 23.0
new: 10.0
path: .spaces[15].metrics.halstead.N1
old: 38.0
new: 28.0
path: .spaces[15].metrics.halstead.volume
old: 368.0167946706389
new: 202.04660144782295
path: .spaces[15].metrics.cyclomatic.average
old: 1.0
new: 3.0
path: .spaces[15].metrics.cyclomatic.sum
old: 1.0
new: 3.0
path: .spaces[15].metrics.nargs.average
old: 1.0
new: 2.0
path: .spaces[15].metrics.nargs.sum
old: 1.0
new: 2.0
path: .spaces[15].metrics.loc.ploc
old: 15.0
new: 11.0
path: .spaces[15].metrics.loc.cloc
old: 1.0
new: 0.0
path: .spaces[15].metrics.loc.sloc
old: 15.0
new: 11.0
path: .spaces[15].metrics.loc.lloc
old: 11.0
new: 5.0
path: .spaces[15].metrics.nexits.average
old: 0.0
new: 1.0
path: .spaces[15].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[15].metrics.mi.mi_original
old: 96.17731815308272
new: 103.85990505130653
path: .spaces[15].metrics.mi.mi_sei
old: 82.62642492827675
new: 74.44277755091916
path: .spaces[15].metrics.mi.mi_visual_studio
old: 56.24404570355715
new: 60.73678657971141
path: .spaces[15].metrics.cognitive.sum
old: 0.0
new: 2.0
path: .spaces[15].metrics.cognitive.average
old: 0.0
new: 2.0

### Code

    nsresult nsGetClassObjectByCID::operator()(const nsIID& aIID,
                                               void** aInstancePtr) const {
      nsresult status = CallGetClassObject(mCID, aIID, aInstancePtr);
      if (NS_FAILED(status)) {
        *aInstancePtr = 0;
      }
      if (mErrorPtr) {
        *mErrorPtr = status;
      }
      return status;
    }

## Minimal test - lines (89, 97)

path: .spaces[6].metrics.nargs.average
old: 4.0
new: 3.0
path: .spaces[6].metrics.nargs.sum
old: 4.0
new: 3.0
path: .spaces[6].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[6].metrics.nexits.average
old: 0.0
new: 1.0
path: .spaces[6].metrics.halstead.estimated_program_length
old: 48.0
new: 101.40868524464064
path: .spaces[6].metrics.halstead.difficulty
old: 6.5
new: 10.678571428571429
path: .spaces[6].metrics.halstead.N2
old: 13.0
new: 23.0
path: .spaces[6].metrics.halstead.vocabulary
old: 16.0
new: 27.0
path: .spaces[6].metrics.halstead.purity_ratio
old: 1.5
new: 2.0281737048928132
path: .spaces[6].metrics.halstead.level
old: 0.15384615384615383
new: 0.09364548494983276
path: .spaces[6].metrics.halstead.n1
old: 8.0
new: 13.0
path: .spaces[6].metrics.halstead.effort
old: 832.0
new: 2538.770291333709
path: .spaces[6].metrics.halstead.n2
old: 8.0
new: 14.0
path: .spaces[6].metrics.halstead.bugs
old: 0.02948679900628731
new: 0.062033699746200675
path: .spaces[6].metrics.halstead.volume
old: 128.0
new: 237.7443751081734
path: .spaces[6].metrics.halstead.time
old: 46.22222222222222
new: 141.04279396298384
path: .spaces[6].metrics.halstead.N1
old: 19.0
new: 27.0
path: .spaces[6].metrics.halstead.length
old: 32.0
new: 50.0
path: .spaces[6].metrics.mi.mi_visual_studio
old: 71.97747016226654
new: 62.27762715042177
path: .spaces[6].metrics.mi.mi_sei
old: 101.97
new: 78.14222450729572
path: .spaces[6].metrics.mi.mi_original
old: 123.08147397747578
new: 106.49474242722124
path: .spaces[6].metrics.loc.sloc
old: 4.0
new: 9.0
path: .spaces[6].metrics.loc.lloc
old: 2.0
new: 3.0
path: .spaces[6].metrics.loc.ploc
old: 4.0
new: 9.0
path: .spaces[6].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[6].metrics.cognitive.average
old: 0.0
new: 1.0
path: .spaces[6].metrics.cyclomatic.sum
old: 1.0
new: 2.0
path: .spaces[6].metrics.cyclomatic.average
old: 1.0
new: 2.0

### Code

    nsresult CallGetClassObject(const nsCID& aCID, const nsIID& aIID,
                                void** aResult) {
      nsCOMPtr compMgr;
      nsresult status = NS_GetComponentManager(getter_AddRefs(compMgr));
      if (compMgr) {
        status = compMgr->GetClassObject(aCID, aIID, aResult);
      }
      return status;
    }

## Minimal test - lines (79, 87)

path: .spaces[5].metrics.loc.ploc
old: 4.0
new: 9.0
path: .spaces[5].metrics.loc.lloc
old: 2.0
new: 3.0
path: .spaces[5].metrics.loc.sloc
old: 4.0
new: 9.0
path: .spaces[5].metrics.cyclomatic.sum
old: 1.0
new: 2.0
path: .spaces[5].metrics.cyclomatic.average
old: 1.0
new: 2.0
path: .spaces[5].metrics.nexits.average
old: 0.0
new: 1.0
path: .spaces[5].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[5].metrics.mi.mi_visual_studio
old: 71.6666004443628
new: 61.95442384607687
path: .spaces[5].metrics.mi.mi_original
old: 122.5498867598604
new: 105.94206477679144
path: .spaces[5].metrics.mi.mi_sei
old: 101.2030817573463
new: 77.34487920181054
path: .spaces[5].metrics.cognitive.average
old: 0.0
new: 1.0
path: .spaces[5].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[5].metrics.halstead.N2
old: 14.0
new: 25.0
path: .spaces[5].metrics.halstead.effort
old: 992.4421503432702
new: 2864.382307725989
path: .spaces[5].metrics.halstead.n1
old: 9.0
new: 13.0
path: .spaces[5].metrics.halstead.vocabulary
old: 18.0
new: 28.0
path: .spaces[5].metrics.halstead.volume
old: 141.7774500490386
new: 264.4045207131682
path: .spaces[5].metrics.halstead.N1
old: 20.0
new: 30.0
path: .spaces[5].metrics.halstead.level
old: 0.14285714285714285
new: 0.0923076923076923
path: .spaces[5].metrics.halstead.difficulty
old: 7.0
new: 10.833333333333334
path: .spaces[5].metrics.halstead.estimated_program_length
old: 57.05865002596162
new: 106.70907526996196
path: .spaces[5].metrics.halstead.time
old: 55.13567501907057
new: 159.13235042922162
path: .spaces[5].metrics.halstead.length
old: 34.0
new: 55.0
path: .spaces[5].metrics.halstead.n2
old: 9.0
new: 15.0
path: .spaces[5].metrics.halstead.purity_ratio
old: 1.6781955889988711
new: 1.9401650049083992
path: .spaces[5].metrics.halstead.bugs
old: 0.03316516884535447
new: 0.06723045755920236

### Code

    nsresult CallCreateInstance(const char* aContractID, nsISupports* aDelegate,
                                const nsIID& aIID, void** aResult) {
      nsCOMPtr compMgr;
      nsresult status = NS_GetComponentManager(getter_AddRefs(compMgr));
      if (compMgr)
        status = compMgr->CreateInstanceByContractID(aContractID, aDelegate, aIID,
                                                     aResult);
      return status;
    }