# Global Metrics

path: .metrics.mi.mi_sei
old: 41.97798147856369
new: -1.0556162047710025
path: .metrics.mi.mi_visual_studio
old: 35.20113090777032
new: 21.66091843896252
path: .metrics.mi.mi_original
old: 60.193933852287245
new: 37.040170530625915
path: .metrics.cyclomatic.sum
old: 16.0
new: 39.0
path: .metrics.cyclomatic.average
old: 1.7777777777777777
new: 1.3448275862068966
path: .metrics.nargs.sum
old: 4.0
new: 18.0
path: .metrics.nargs.average
old: 0.6666666666666666
new: 0.6923076923076923
path: .metrics.loc.lloc
old: 20.0
new: 35.0
path: .metrics.loc.ploc
old: 49.0
new: 120.0
path: .metrics.loc.cloc
old: 12.0
new: 8.0
path: .metrics.loc.sloc
old: 74.0
new: 155.0
path: .metrics.loc.blank
old: 13.0
new: 27.0
path: .metrics.nom.functions
old: 6.0
new: 26.0
path: .metrics.nom.total
old: 6.0
new: 26.0
path: .metrics.cognitive.sum
old: 8.0
new: 2.0
path: .metrics.cognitive.average
old: 1.3333333333333333
new: 0.07692307692307693
path: .metrics.halstead.bugs
old: 0.4438598035833312
new: 0.94282446175728
path: .metrics.halstead.difficulty
old: 36.55555555555556
new: 36.48648648648648
path: .metrics.halstead.n2
old: 27.0
new: 74.0
path: .metrics.halstead.estimated_program_length
old: 220.6206284367676
new: 545.9381109542895
path: .metrics.halstead.time
old: 2699.4674921695555
new: 8357.100785888988
path: .metrics.halstead.level
old: 0.02735562310030395
new: 0.027407407407407408
path: .metrics.halstead.length
old: 238.0
new: 629.0
path: .metrics.halstead.vocabulary
old: 48.0
new: 94.0
path: .metrics.halstead.N1
old: 144.0
new: 359.0
path: .metrics.halstead.n1
old: 21.0
new: 20.0
path: .metrics.halstead.volume
old: 1329.2210751716352
new: 4122.836387705234
path: .metrics.halstead.purity_ratio
old: 0.9269774304065866
new: 0.8679461223438625
path: .metrics.halstead.N2
old: 94.0
new: 270.0
path: .metrics.halstead.effort
old: 48590.414859052
new: 150427.8141460018
path: .metrics.nexits.average
old: 1.3333333333333333
new: 0.7307692307692307
path: .metrics.nexits.sum
old: 8.0
new: 19.0

# Spaces Data

## Minimal test - lines (82, 82)

path: .spaces[0].spaces[5].metrics.loc.lloc
old: 4.0
new: 1.0
path: .spaces[0].spaces[5].metrics.loc.sloc
old: 8.0
new: 1.0
path: .spaces[0].spaces[5].metrics.loc.ploc
old: 8.0
new: 1.0
path: .spaces[0].spaces[5].metrics.cognitive.average
old: 1.0
new: 0.0
path: .spaces[0].spaces[5].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[0].spaces[5].metrics.halstead.level
old: 0.07291666666666667
new: 0.4
path: .spaces[0].spaces[5].metrics.halstead.N2
old: 16.0
new: 2.0
path: .spaces[0].spaces[5].metrics.halstead.volume
old: 161.42124551085624
new: 19.651484454403228
path: .spaces[0].spaces[5].metrics.halstead.N1
old: 22.0
new: 5.0
path: .spaces[0].spaces[5].metrics.halstead.effort
old: 2213.7770812917424
new: 49.12871113600807
path: .spaces[0].spaces[5].metrics.halstead.vocabulary
old: 19.0
new: 7.0
path: .spaces[0].spaces[5].metrics.halstead.length
old: 38.0
new: 7.0
path: .spaces[0].spaces[5].metrics.halstead.time
old: 122.98761562731904
new: 2.7293728408893374
path: .spaces[0].spaces[5].metrics.halstead.bugs
old: 0.056619757278690494
new: 0.004471319041702271
path: .spaces[0].spaces[5].metrics.halstead.purity_ratio
old: 1.6492377490278185
new: 1.944234353490973
path: .spaces[0].spaces[5].metrics.halstead.n2
old: 7.0
new: 2.0
path: .spaces[0].spaces[5].metrics.halstead.n1
old: 12.0
new: 5.0
path: .spaces[0].spaces[5].metrics.halstead.difficulty
old: 13.714285714285714
new: 2.5
path: .spaces[0].spaces[5].metrics.halstead.estimated_program_length
old: 62.6710344630571
new: 13.60964047443681
path: .spaces[0].spaces[5].metrics.cyclomatic.sum
old: 2.0
new: 1.0
path: .spaces[0].spaces[5].metrics.cyclomatic.average
old: 2.0
new: 1.0
path: .spaces[0].spaces[5].metrics.mi.mi_original
old: 110.41615664966996
new: 155.2836050228807
path: .spaces[0].spaces[5].metrics.mi.mi_visual_studio
old: 64.57085184191227
new: 90.80912574437468
path: .spaces[0].spaces[5].metrics.mi.mi_sei
old: 83.79962935929399
new: 148.4278547652622

### Code

      uintptr_t GetEnd() const { return mEnd; }

## Minimal test - lines (71, 79)

path: .spaces[0].spaces[3].metrics.halstead.n2
old: 7.0
new: 12.0
path: .spaces[0].spaces[3].metrics.halstead.n1
old: 10.0
new: 9.0
path: .spaces[0].spaces[3].metrics.halstead.effort
old: 1389.7373660251153
new: 4058.501298647575
path: .spaces[0].spaces[3].metrics.halstead.bugs
old: 0.0415113860937095
new: 0.08481172011242093
path: .spaces[0].spaces[3].metrics.halstead.purity_ratio
old: 1.555022511861084
new: 0.9292061691121388
path: .spaces[0].spaces[3].metrics.halstead.length
old: 34.0
new: 77.0
path: .spaces[0].spaces[3].metrics.halstead.vocabulary
old: 17.0
new: 21.0
path: .spaces[0].spaces[3].metrics.halstead.volume
old: 138.97373660251154
new: 338.2084415539646
path: .spaces[0].spaces[3].metrics.halstead.N1
old: 20.0
new: 45.0
path: .spaces[0].spaces[3].metrics.halstead.estimated_program_length
old: 52.87076540327685
new: 71.54887502163469
path: .spaces[0].spaces[3].metrics.halstead.level
old: 0.1
new: 0.08333333333333333
path: .spaces[0].spaces[3].metrics.halstead.time
old: 77.20763144583974
new: 225.4722943693097
path: .spaces[0].spaces[3].metrics.halstead.N2
old: 14.0
new: 32.0
path: .spaces[0].spaces[3].metrics.halstead.difficulty
old: 10.0
new: 12.0
path: .spaces[0].spaces[3].metrics.mi.mi_visual_studio
old: 74.45274799983572
new: 60.12977624906286
path: .spaces[0].spaces[3].metrics.mi.mi_original
old: 127.31419907971907
new: 102.82191738589748
path: .spaces[0].spaces[3].metrics.mi.mi_sei
old: 108.07653151445264
new: 73.6580169093609
path: .spaces[0].spaces[3].metrics.nargs.average
old: 0.0
new: 1.0
path: .spaces[0].spaces[3].metrics.nargs.sum
old: 0.0
new: 1.0
path: .spaces[0].spaces[3].metrics.loc.ploc
old: 3.0
new: 9.0
path: .spaces[0].spaces[3].metrics.loc.sloc
old: 3.0
new: 9.0
path: .spaces[0].spaces[3].metrics.cognitive.average
old: 0.0
new: 1.0
path: .spaces[0].spaces[3].metrics.cognitive.sum
old: 0.0
new: 1.0
path: .spaces[0].spaces[3].metrics.cyclomatic.average
old: 1.0
new: 10.0
path: .spaces[0].spaces[3].metrics.cyclomatic.sum
old: 1.0
new: 10.0

### Code

      bool operator==(const SharedLibrary& other) const {
        return (mStart == other.mStart) && (mEnd == other.mEnd) &&
               (mOffset == other.mOffset) && (mModuleName == other.mModuleName) &&
               (mModulePath == other.mModulePath) &&
               (mDebugName == other.mDebugName) &&
               (mDebugPath == other.mDebugPath) &&
               (mBreakpadId == other.mBreakpadId) && (mVersion == other.mVersion) &&
               (mArch == other.mArch);
      }

## Minimal test - lines (54, 69)

path: .spaces[0].spaces[2].metrics.loc.sloc
old: 9.0
new: 16.0
path: .spaces[0].spaces[2].metrics.loc.blank
old: 0.0
new: 1.0
path: .spaces[0].spaces[2].metrics.loc.cloc
old: 0.0
new: 1.0
path: .spaces[0].spaces[2].metrics.loc.lloc
old: 5.0
new: 13.0
path: .spaces[0].spaces[2].metrics.loc.ploc
old: 9.0
new: 14.0
path: .spaces[0].spaces[2].metrics.mi.mi_visual_studio
old: 63.40160605664549
new: 55.669629208528605
path: .spaces[0].spaces[2].metrics.mi.mi_original
old: 108.41674635686378
new: 95.19506594658392
path: .spaces[0].spaces[2].metrics.mi.mi_sei
old: 81.01690990456463
new: 80.72464907907968
path: .spaces[0].spaces[2].metrics.cognitive.sum
old: 3.0
new: 1.0
path: .spaces[0].spaces[2].metrics.cognitive.average
old: 3.0
new: 1.0
path: .spaces[0].spaces[2].metrics.cyclomatic.average
old: 3.0
new: 2.0
path: .spaces[0].spaces[2].metrics.cyclomatic.sum
old: 3.0
new: 2.0
path: .spaces[0].spaces[2].metrics.halstead.level
old: 0.06593406593406594
new: 0.07058823529411765
path: .spaces[0].spaces[2].metrics.halstead.N1
old: 23.0
new: 44.0
path: .spaces[0].spaces[2].metrics.halstead.n1
old: 13.0
new: 10.0
path: .spaces[0].spaces[2].metrics.halstead.vocabulary
old: 19.0
new: 22.0
path: .spaces[0].spaces[2].metrics.halstead.length
old: 37.0
new: 78.0
path: .spaces[0].spaces[2].metrics.halstead.purity_ratio
old: 1.7193376037881385
new: 0.977420909711891
path: .spaces[0].spaces[2].metrics.halstead.effort
old: 2383.7953229607583
new: 4927.671938594213
path: .spaces[0].spaces[2].metrics.halstead.estimated_program_length
old: 63.61549134016113
new: 76.2388309575275
path: .spaces[0].spaces[2].metrics.halstead.volume
old: 157.17331799741265
new: 347.8356662537092
path: .spaces[0].spaces[2].metrics.halstead.bugs
old: 0.05948279779272118
new: 0.09652502804808744
path: .spaces[0].spaces[2].metrics.halstead.N2
old: 14.0
new: 34.0
path: .spaces[0].spaces[2].metrics.halstead.time
old: 132.43307349781992
new: 273.75955214412295
path: .spaces[0].spaces[2].metrics.halstead.difficulty
old: 15.166666666666666
new: 14.166666666666666
path: .spaces[0].spaces[2].metrics.halstead.n2
old: 6.0
new: 12.0

### Code

      SharedLibrary& operator=(const SharedLibrary& aEntry) {
        // Gracefully handle self assignment
        if (this == &aEntry) return *this;

        mStart = aEntry.mStart;
        mEnd = aEntry.mEnd;
        mOffset = aEntry.mOffset;
        mBreakpadId = aEntry.mBreakpadId;
        mModuleName = aEntry.mModuleName;
        mModulePath = aEntry.mModulePath;
        mDebugName = aEntry.mDebugName;
        mDebugPath = aEntry.mDebugPath;
        mVersion = aEntry.mVersion;
        mArch = aEntry.mArch;
        return *this;
      }

## Minimal test - lines (114, 117)

path: .spaces[1].metrics.mi.mi_visual_studio
old: 90.4030653691422
new: 73.26698838756
path: .spaces[1].metrics.mi.mi_original
old: 154.58924178123317
new: 125.2865501427276
path: .spaces[1].metrics.mi.mi_sei
old: 147.42610035996177
new: 105.15125244839123
path: .spaces[1].metrics.nargs.average
old: null
new: 2.0
path: .spaces[1].metrics.nargs.sum
old: 0.0
new: 2.0
path: .spaces[1].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[1].metrics.nom.functions
old: 0.0
new: 1.0
path: .spaces[1].metrics.nom.total
old: 0.0
new: 1.0
path: .spaces[1].metrics.halstead.length
old: 8.0
new: 22.0
path: .spaces[1].metrics.halstead.N2
old: 3.0
new: 9.0
path: .spaces[1].metrics.halstead.n2
old: 3.0
new: 5.0
path: .spaces[1].metrics.halstead.vocabulary
old: 7.0
new: 14.0
path: .spaces[1].metrics.halstead.N1
old: 5.0
new: 13.0
path: .spaces[1].metrics.halstead.n1
old: 4.0
new: 9.0
path: .spaces[1].metrics.halstead.bugs
old: 0.00421201861424495
new: 0.025737485850602416
path: .spaces[1].metrics.halstead.difficulty
old: 2.0
new: 8.1
path: .spaces[1].metrics.halstead.effort
old: 44.91767875292167
new: 678.470647110665
path: .spaces[1].metrics.halstead.level
old: 0.5
new: 0.1234567901234568
path: .spaces[1].metrics.halstead.purity_ratio
old: 1.5943609377704335
new: 1.8244984312462555
path: .spaces[1].metrics.halstead.time
old: 2.495426597384537
new: 37.69281372837028
path: .spaces[1].metrics.halstead.volume
old: 22.458839376460833
new: 83.76180828526729
path: .spaces[1].metrics.halstead.estimated_program_length
old: 12.754887502163468
new: 40.13896548741762
path: .spaces[1].metrics.loc.lloc
old: 0.0
new: 1.0
path: .spaces[1].metrics.loc.ploc
old: 1.0
new: 4.0
path: .spaces[1].metrics.loc.sloc
old: 1.0
new: 4.0
path: .spaces[1].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[1].metrics.nexits.average
old: null
new: 1.0

### Code

    static bool CompareAddresses(const SharedLibrary& first,
                                 const SharedLibrary& second) {
      return first.GetStart() < second.GetStart();
    }

## Minimal test - lines (81, 81)

path: .spaces[0].spaces[4].metrics.halstead.n2
old: 7.0
new: 2.0
path: .spaces[0].spaces[4].metrics.halstead.N2
old: 14.0
new: 2.0
path: .spaces[0].spaces[4].metrics.halstead.vocabulary
old: 17.0
new: 7.0
path: .spaces[0].spaces[4].metrics.halstead.time
old: 77.20763144583974
new: 2.7293728408893374
path: .spaces[0].spaces[4].metrics.halstead.N1
old: 20.0
new: 5.0
path: .spaces[0].spaces[4].metrics.halstead.length
old: 34.0
new: 7.0
path: .spaces[0].spaces[4].metrics.halstead.bugs
old: 0.0415113860937095
new: 0.004471319041702271
path: .spaces[0].spaces[4].metrics.halstead.effort
old: 1389.7373660251153
new: 49.12871113600807
path: .spaces[0].spaces[4].metrics.halstead.volume
old: 138.97373660251154
new: 19.651484454403228
path: .spaces[0].spaces[4].metrics.halstead.estimated_program_length
old: 52.87076540327685
new: 13.60964047443681
path: .spaces[0].spaces[4].metrics.halstead.purity_ratio
old: 1.555022511861084
new: 1.944234353490973
path: .spaces[0].spaces[4].metrics.halstead.difficulty
old: 10.0
new: 2.5
path: .spaces[0].spaces[4].metrics.halstead.level
old: 0.1
new: 0.4
path: .spaces[0].spaces[4].metrics.halstead.n1
old: 10.0
new: 5.0
path: .spaces[0].spaces[4].metrics.mi.mi_sei
old: 108.07653151445264
new: 148.4278547652622
path: .spaces[0].spaces[4].metrics.mi.mi_original
old: 127.31419907971907
new: 155.2836050228807
path: .spaces[0].spaces[4].metrics.mi.mi_visual_studio
old: 74.45274799983572
new: 90.80912574437468
path: .spaces[0].spaces[4].metrics.loc.ploc
old: 3.0
new: 1.0
path: .spaces[0].spaces[4].metrics.loc.sloc
old: 3.0
new: 1.0

### Code

      uintptr_t GetStart() const { return mStart; }

## Minimal test - lines (26, 40)

path: .spaces[0].spaces[0].metrics.loc.cloc
old: 2.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.sloc
old: 12.0
new: 15.0
path: .spaces[0].spaces[0].metrics.loc.lloc
old: 6.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.ploc
old: 10.0
new: 15.0
path: .spaces[0].spaces[0].metrics.cyclomatic.average
old: 4.0
new: 1.0
path: .spaces[0].spaces[0].metrics.cyclomatic.sum
old: 4.0
new: 1.0
path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 100.63941991183977
new: 62.76570511290187
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 59.33365670346737
new: 56.0860394799082
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 101.4605529629292
new: 95.90712751064302
path: .spaces[0].spaces[0].metrics.nexits.average
old: 2.0
new: 0.0
path: .spaces[0].spaces[0].metrics.nexits.sum
old: 2.0
new: 0.0
path: .spaces[0].spaces[0].metrics.cognitive.sum
old: 3.0
new: 0.0
path: .spaces[0].spaces[0].metrics.cognitive.average
old: 3.0
new: 0.0
path: .spaces[0].spaces[0].metrics.nargs.average
old: 3.0
new: 10.0
path: .spaces[0].spaces[0].metrics.nargs.sum
old: 3.0
new: 10.0
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.08364667244784615
new: 0.056087017238469455
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 17.0
new: 5.630434782608695
path: .spaces[0].spaces[0].metrics.halstead.time
old: 220.84236045140233
new: 121.25590395742256
path: .spaces[0].spaces[0].metrics.halstead.n1
old: 16.0
new: 7.0
path: .spaces[0].spaces[0].metrics.halstead.n2
old: 8.0
new: 23.0
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.7254901960784317
new: 1.5657393600470193
path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 88.0
new: 123.69340944371451
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 233.83308753677895
new: 387.64435705307295
path: .spaces[0].spaces[0].metrics.halstead.effort
old: 3975.162488125242
new: 2182.606271233606
path: .spaces[0].spaces[0].metrics.halstead.N1
old: 34.0
new: 42.0
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.058823529411764705
new: 0.1776061776061776
path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 24.0
new: 30.0
path: .spaces[0].spaces[0].metrics.halstead.length
old: 51.0
new: 79.0
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 17.0
new: 37.0

### Code

      SharedLibrary(uintptr_t aStart, uintptr_t aEnd, uintptr_t aOffset,
                    const nsCString& aBreakpadId, const nsString& aModuleName,
                    const nsString& aModulePath, const nsString& aDebugName,
                    const nsString& aDebugPath, const nsCString& aVersion,
                    const char* aArch)
          : mStart(aStart),
            mEnd(aEnd),
            mOffset(aOffset),
            mBreakpadId(aBreakpadId),
            mModuleName(aModuleName),
            mModulePath(aModulePath),
            mDebugName(aDebugName),
            mDebugPath(aDebugPath),
            mVersion(aVersion),
            mArch(aArch) {}

## Minimal test - lines (42, 52)

path: .spaces[0].spaces[1].metrics.nexits.sum
old: 1.0
new: 0.0
path: .spaces[0].spaces[1].metrics.nexits.average
old: 1.0
new: 0.0
path: .spaces[0].spaces[1].metrics.cyclomatic.sum
old: 2.0
new: 1.0
path: .spaces[0].spaces[1].metrics.cyclomatic.average
old: 2.0
new: 1.0
path: .spaces[0].spaces[1].metrics.halstead.N2
old: 10.0
new: 33.0
path: .spaces[0].spaces[1].metrics.halstead.n2
old: 4.0
new: 12.0
path: .spaces[0].spaces[1].metrics.halstead.vocabulary
old: 14.0
new: 18.0
path: .spaces[0].spaces[1].metrics.halstead.N1
old: 16.0
new: 33.0
path: .spaces[0].spaces[1].metrics.halstead.effort
old: 1237.3903496687217
new: 2270.524163285339
path: .spaces[0].spaces[1].metrics.halstead.n1
old: 10.0
new: 6.0
path: .spaces[0].spaces[1].metrics.halstead.time
old: 68.74390831492897
new: 126.14023129362994
path: .spaces[0].spaces[1].metrics.halstead.difficulty
old: 12.5
new: 8.25
path: .spaces[0].spaces[1].metrics.halstead.volume
old: 98.99122797349771
new: 275.2150500951926
path: .spaces[0].spaces[1].metrics.halstead.estimated_program_length
old: 41.219280948873624
new: 58.529325012980806
path: .spaces[0].spaces[1].metrics.halstead.bugs
old: 0.03841933957038396
new: 0.05758324883118524
path: .spaces[0].spaces[1].metrics.halstead.level
old: 0.08
new: 0.12121212121212122
path: .spaces[0].spaces[1].metrics.halstead.purity_ratio
old: 1.5853569595720625
new: 0.8868079547421335
path: .spaces[0].spaces[1].metrics.halstead.length
old: 26.0
new: 66.0
path: .spaces[0].spaces[1].metrics.loc.ploc
old: 7.0
new: 11.0
path: .spaces[0].spaces[1].metrics.loc.lloc
old: 3.0
new: 0.0
path: .spaces[0].spaces[1].metrics.loc.sloc
old: 7.0
new: 11.0
path: .spaces[0].spaces[1].metrics.mi.mi_original
old: 115.12209313792523
new: 102.7128220601356
path: .spaces[0].spaces[1].metrics.mi.mi_sei
old: 90.58886059363832
new: 72.58424688925992
path: .spaces[0].spaces[1].metrics.mi.mi_visual_studio
old: 67.32286148416681
new: 60.065977812944794
path: .spaces[0].spaces[1].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[0].spaces[1].metrics.cognitive.average
old: 1.0
new: 0.0

### Code

      SharedLibrary(const SharedLibrary& aEntry)
          : mStart(aEntry.mStart),
            mEnd(aEntry.mEnd),
            mOffset(aEntry.mOffset),
            mBreakpadId(aEntry.mBreakpadId),
            mModuleName(aEntry.mModuleName),
            mModulePath(aEntry.mModulePath),
            mDebugName(aEntry.mDebugName),
            mDebugPath(aEntry.mDebugPath),
            mVersion(aEntry.mVersion),
            mArch(aEntry.mArch) {}

## Minimal test - lines (24, 112)

path: .spaces[0].metrics.nexits.average
old: 1.3333333333333333
new: 0.875
path: .spaces[0].metrics.nexits.sum
old: 8.0
new: 14.0
path: .spaces[0].metrics.cyclomatic.sum
old: 14.0
new: 27.0
path: .spaces[0].metrics.cyclomatic.average
old: 2.0
new: 1.588235294117647
path: .spaces[0].metrics.nargs.average
old: 0.6666666666666666
new: 0.75
path: .spaces[0].metrics.nargs.sum
old: 4.0
new: 12.0
path: .spaces[0].metrics.halstead.bugs
old: 0.4572345437486816
new: 0.6789514898415978
path: .spaces[0].metrics.halstead.vocabulary
old: 40.0
new: 57.0
path: .spaces[0].metrics.halstead.N1
old: 136.0
new: 251.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.7787257828625879
new: 0.6363408274349011
path: .spaces[0].metrics.halstead.level
old: 0.023255813953488372
new: 0.02842639593908629
path: .spaces[0].metrics.halstead.effort
old: 50803.12559379476
new: 91926.34662323631
path: .spaces[0].metrics.halstead.length
old: 222.0
new: 448.0
path: .spaces[0].metrics.halstead.n2
old: 20.0
new: 42.0
path: .spaces[0].metrics.halstead.time
old: 2822.395866321931
new: 5107.019256846463
path: .spaces[0].metrics.halstead.estimated_program_length
old: 172.8771237954945
new: 285.0806906908357
path: .spaces[0].metrics.halstead.n1
old: 20.0
new: 15.0
path: .spaces[0].metrics.halstead.volume
old: 1181.4680370649944
new: 2613.134726345804
path: .spaces[0].metrics.halstead.difficulty
old: 43.0
new: 35.17857142857143
path: .spaces[0].metrics.halstead.N2
old: 86.0
new: 197.0
path: .spaces[0].metrics.loc.sloc
old: 51.0
new: 89.0
path: .spaces[0].metrics.loc.blank
old: 7.0
new: 9.0
path: .spaces[0].metrics.loc.ploc
old: 42.0
new: 79.0
path: .spaces[0].metrics.loc.lloc
old: 20.0
new: 26.0
path: .spaces[0].metrics.loc.cloc
old: 2.0
new: 1.0
path: .spaces[0].metrics.nom.functions
old: 6.0
new: 16.0
path: .spaces[0].metrics.nom.total
old: 6.0
new: 16.0
path: .spaces[0].metrics.cognitive.sum
old: 8.0
new: 2.0
path: .spaces[0].metrics.cognitive.average
old: 1.3333333333333333
new: 0.125
path: .spaces[0].metrics.mi.mi_original
old: 67.29695692409658
new: 51.158900524412914
path: .spaces[0].metrics.mi.mi_sei
old: 37.91342514952482
new: 9.028832232369844
path: .spaces[0].metrics.mi.mi_visual_studio
old: 39.35494556964712
new: 29.917485686791174

### Code

    class SharedLibrary {
     public:
      SharedLibrary(uintptr_t aStart, uintptr_t aEnd, uintptr_t aOffset,
                    const nsCString& aBreakpadId, const nsString& aModuleName,
                    const nsString& aModulePath, const nsString& aDebugName,
                    const nsString& aDebugPath, const nsCString& aVersion,
                    const char* aArch)
          : mStart(aStart),
            mEnd(aEnd),
            mOffset(aOffset),
            mBreakpadId(aBreakpadId),
            mModuleName(aModuleName),
            mModulePath(aModulePath),
            mDebugName(aDebugName),
            mDebugPath(aDebugPath),
            mVersion(aVersion),
            mArch(aArch) {}

      SharedLibrary(const SharedLibrary& aEntry)
          : mStart(aEntry.mStart),
            mEnd(aEntry.mEnd),
            mOffset(aEntry.mOffset),
            mBreakpadId(aEntry.mBreakpadId),
            mModuleName(aEntry.mModuleName),
            mModulePath(aEntry.mModulePath),
            mDebugName(aEntry.mDebugName),
            mDebugPath(aEntry.mDebugPath),
            mVersion(aEntry.mVersion),
            mArch(aEntry.mArch) {}

      SharedLibrary& operator=(const SharedLibrary& aEntry) {
        // Gracefully handle self assignment
        if (this == &aEntry) return *this;

        mStart = aEntry.mStart;
        mEnd = aEntry.mEnd;
        mOffset = aEntry.mOffset;
        mBreakpadId = aEntry.mBreakpadId;
        mModuleName = aEntry.mModuleName;
        mModulePath = aEntry.mModulePath;
        mDebugName = aEntry.mDebugName;
        mDebugPath = aEntry.mDebugPath;
        mVersion = aEntry.mVersion;
        mArch = aEntry.mArch;
        return *this;
      }

      bool operator==(const SharedLibrary& other) const {
        return (mStart == other.mStart) && (mEnd == other.mEnd) &&
               (mOffset == other.mOffset) && (mModuleName == other.mModuleName) &&
               (mModulePath == other.mModulePath) &&
               (mDebugName == other.mDebugName) &&
               (mDebugPath == other.mDebugPath) &&
               (mBreakpadId == other.mBreakpadId) && (mVersion == other.mVersion) &&
               (mArch == other.mArch);
      }

      uintptr_t GetStart() const { return mStart; }
      uintptr_t GetEnd() const { return mEnd; }
      uintptr_t GetOffset() const { return mOffset; }
      const nsCString& GetBreakpadId() const { return mBreakpadId; }
      const nsString& GetModuleName() const { return mModuleName; }
      const nsString& GetModulePath() const { return mModulePath; }
      const std::string GetNativeDebugPath() const {
        nsAutoCString debugPathStr;

        NS_CopyUnicodeToNative(mDebugPath, debugPathStr);

        return debugPathStr.get();
      }
      const nsString& GetDebugName() const { return mDebugName; }
      const nsString& GetDebugPath() const { return mDebugPath; }
      const nsCString& GetVersion() const { return mVersion; }
      const std::string& GetArch() const { return mArch; }

     private:
      SharedLibrary() : mStart{0}, mEnd{0}, mOffset{0} {}

      uintptr_t mStart;
      uintptr_t mEnd;
      uintptr_t mOffset;
      nsCString mBreakpadId;
      nsString mModuleName;
      nsString mModulePath;
      nsString mDebugName;
      nsString mDebugPath;
      nsCString mVersion;
      std::string mArch;
    };