# Global Metrics

path: .metrics.cognitive.average
old: 1.1428571428571428
new: 0.5
path: .metrics.cognitive.sum
old: 8.0
new: 1.0
path: .metrics.cyclomatic.sum
old: 21.0
new: 8.0
path: .metrics.cyclomatic.average
old: 2.1
new: 1.3333333333333333
path: .metrics.halstead.N2
old: 249.0
new: 29.0
path: .metrics.halstead.difficulty
old: 30.57894736842105
new: 9.886363636363637
path: .metrics.halstead.level
old: 0.03270223752151463
new: 0.10114942528735632
path: .metrics.halstead.n1
old: 28.0
new: 15.0
path: .metrics.halstead.volume
old: 4111.104593715192
new: 448.0129894440897
path: .metrics.halstead.N1
old: 326.0
new: 57.0
path: .metrics.halstead.estimated_program_length
old: 913.5553994323934
new: 156.71085454414833
path: .metrics.halstead.effort
old: 125713.25099729087
new: 4429.219327458614
path: .metrics.halstead.n2
old: 114.0
new: 22.0
path: .metrics.halstead.length
old: 575.0
new: 86.0
path: .metrics.halstead.purity_ratio
old: 1.588791999012858
new: 1.8222192388854457
path: .metrics.halstead.bugs
old: 0.8365003307071908
new: 0.0899007958127901
path: .metrics.halstead.vocabulary
old: 142.0
new: 37.0
path: .metrics.halstead.time
old: 6984.069499849493
new: 246.06774041436745
path: .metrics.mi.mi_visual_studio
old: 26.204628120772693
new: 42.92676969723712
path: .metrics.mi.mi_original
old: 44.8099140865213
new: 73.40477618227547
path: .metrics.mi.mi_sei
old: 6.389017021701942
new: 72.66405799163132
path: .metrics.loc.blank
old: 16.0
new: 7.0
path: .metrics.loc.lloc
old: 42.0
new: 0.0
path: .metrics.loc.ploc
old: 103.0
new: 24.0
path: .metrics.loc.sloc
old: 124.0
new: 52.0
path: .metrics.loc.cloc
old: 5.0
new: 21.0
path: .metrics.nargs.sum
old: 14.0
new: 1.0
path: .metrics.nargs.average
old: 2.0
new: 0.5
path: .metrics.nom.functions
old: 7.0
new: 2.0
path: .metrics.nom.total
old: 7.0
new: 2.0
path: .metrics.nexits.sum
old: 7.0
new: 0.0
path: .metrics.nexits.average
old: 1.0
new: 0.0

# Spaces Data

## Minimal test - lines (13, 28)

path: .spaces[0].metrics.cognitive.sum
old: 8.0
new: 0.0
path: .spaces[0].metrics.cognitive.average
old: 1.1428571428571428
new: 0.0
path: .spaces[0].metrics.cyclomatic.average
old: 2.2222222222222223
new: 1.25
path: .spaces[0].metrics.cyclomatic.sum
old: 20.0
new: 5.0
path: .spaces[0].metrics.mi.mi_original
old: 46.75516199856396
new: 99.09103354192034
path: .spaces[0].metrics.mi.mi_visual_studio
old: 27.34219999916021
new: 57.94797283153236
path: .spaces[0].metrics.mi.mi_sei
old: 1.082123907004508
new: 102.73778351567243
path: .spaces[0].metrics.nom.total
old: 7.0
new: 2.0
path: .spaces[0].metrics.nom.functions
old: 7.0
new: 2.0
path: .spaces[0].metrics.halstead.length
old: 571.0
new: 36.0
path: .spaces[0].metrics.halstead.difficulty
old: 31.181818181818183
new: 7.714285714285714
path: .spaces[0].metrics.halstead.bugs
old: 0.8402788169793765
new: 0.03575341691883204
path: .spaces[0].metrics.halstead.vocabulary
old: 138.0
new: 16.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.5421287325837574
new: 1.3383558185384454
path: .spaces[0].metrics.halstead.volume
old: 4058.9674648203345
new: 144.0
path: .spaces[0].metrics.halstead.n2
old: 110.0
new: 7.0
path: .spaces[0].metrics.halstead.N2
old: 245.0
new: 12.0
path: .spaces[0].metrics.halstead.time
old: 7031.443638552399
new: 61.714285714285715
path: .spaces[0].metrics.halstead.N1
old: 326.0
new: 24.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 880.5555063053255
new: 48.18080946738404
path: .spaces[0].metrics.halstead.n1
old: 28.0
new: 9.0
path: .spaces[0].metrics.halstead.level
old: 0.03206997084548105
new: 0.12962962962962962
path: .spaces[0].metrics.halstead.effort
old: 126565.98549394315
new: 1110.857142857143
path: .spaces[0].metrics.nexits.average
old: 1.0
new: 0.0
path: .spaces[0].metrics.nexits.sum
old: 7.0
new: 0.0
path: .spaces[0].metrics.nargs.sum
old: 14.0
new: 1.0
path: .spaces[0].metrics.nargs.average
old: 2.0
new: 0.5
path: .spaces[0].metrics.loc.lloc
old: 42.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 98.0
new: 9.0
path: .spaces[0].metrics.loc.sloc
old: 112.0
new: 16.0
path: .spaces[0].metrics.loc.blank
old: 13.0
new: 3.0
path: .spaces[0].metrics.loc.cloc
old: 1.0
new: 4.0

### Code

    namespace mozilla {

    // This SymbolTable struct, and the CompactSymbolTable struct in the
    // profiler rust module, have the exact same memory layout.
    // nsTArray and ThinVec are FFI-compatible, because the thin-vec crate is
    // being compiled with the "gecko-ffi" feature enabled.
    struct SymbolTable {
      SymbolTable() = default;
      SymbolTable(SymbolTable&& aOther) = default;

      nsTArray mAddrs;
      nsTArray mIndex;
      nsTArray mBuffer;
    };

    }  // namespace mozilla

## Minimal test - lines (21, 21)

path: .spaces[0].spaces[0].spaces[1].metrics.mi.mi_sei
old: 82.90241080549319
new: 147.19610035996175
path: .spaces[0].spaces[0].spaces[1].metrics.mi.mi_original
old: 109.79425213875687
new: 154.35924178123315
path: .spaces[0].spaces[0].spaces[1].metrics.mi.mi_visual_studio
old: 64.20716499342508
new: 90.2685624451656
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.effort
old: 2944.9735379471026
new: 84.22064766172812
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.bugs
old: 0.06848566489423463
new: 0.006404587005238234
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.N2
old: 23.0
new: 3.0
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.purity_ratio
old: 1.748425607666218
new: 1.7012050593046013
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.difficulty
old: 10.678571428571429
new: 3.75
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.N1
old: 35.0
new: 5.0
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.length
old: 58.0
new: 8.0
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.vocabulary
old: 27.0
new: 7.0
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.n2
old: 14.0
new: 2.0
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.n1
old: 13.0
new: 5.0
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.volume
old: 275.7834751254812
new: 22.458839376460833
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.estimated_program_length
old: 101.40868524464064
new: 13.60964047443681
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.level
old: 0.09364548494983276
new: 0.26666666666666666
path: .spaces[0].spaces[0].spaces[1].metrics.halstead.time
old: 163.60964099706126
new: 4.678924870096007
path: .spaces[0].spaces[0].spaces[1].metrics.cognitive.average
old: 1.0
new: 0.0
path: .spaces[0].spaces[0].spaces[1].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[0].spaces[0].spaces[1].metrics.loc.ploc
old: 7.0
new: 1.0
path: .spaces[0].spaces[0].spaces[1].metrics.loc.lloc
old: 3.0
new: 0.0
path: .spaces[0].spaces[0].spaces[1].metrics.loc.sloc
old: 7.0
new: 1.0
path: .spaces[0].spaces[0].spaces[1].metrics.nexits.average
old: 1.0
new: 0.0
path: .spaces[0].spaces[0].spaces[1].metrics.nexits.sum
old: 1.0
new: 0.0

### Code

      SymbolTable(SymbolTable&& aOther) = default;

## Minimal test - lines (19, 26)

path: .spaces[0].spaces[0].metrics.nom.functions
old: 5.0
new: 2.0
path: .spaces[0].spaces[0].metrics.nom.total
old: 5.0
new: 2.0
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 30.481588216691563
new: 64.98535103788835
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 52.123515850542574
new: 111.12495027478909
path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 9.494842234709614
new: 85.02584212607593
path: .spaces[0].spaces[0].metrics.cognitive.average
old: 1.6
new: 0.0
path: .spaces[0].spaces[0].metrics.cognitive.sum
old: 8.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.ploc
old: 76.0
new: 7.0
path: .spaces[0].spaces[0].metrics.loc.cloc
old: 1.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.blank
old: 10.0
new: 1.0
path: .spaces[0].spaces[0].metrics.loc.lloc
old: 40.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.sloc
old: 87.0
new: 8.0
path: .spaces[0].spaces[0].metrics.nexits.sum
old: 7.0
new: 0.0
path: .spaces[0].spaces[0].metrics.nexits.average
old: 1.4
new: 0.0
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 3626.117562694472
new: 128.92738965508113
path: .spaces[0].spaces[0].metrics.halstead.length
old: 525.0
new: 33.0
path: .spaces[0].spaces[0].metrics.halstead.n1
old: 28.0
new: 9.0
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.814759714994256
new: 0.03473320323101372
path: .spaces[0].spaces[0].metrics.halstead.N1
old: 306.0
new: 22.0
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 219.0
new: 11.0
path: .spaces[0].spaces[0].metrics.halstead.effort
old: 120844.30920892666
new: 1063.650964654419
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.3995688338568726
new: 1.334518182342659
path: .spaces[0].spaces[0].metrics.halstead.n2
old: 92.0
new: 6.0
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 33.32608695652174
new: 8.25
path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 734.7736377748581
new: 44.039100017307746
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.030006523157208087
new: 0.12121212121212122
path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 120.0
new: 15.0
path: .spaces[0].spaces[0].metrics.halstead.time
old: 6713.572733829259
new: 59.09172025857885
path: .spaces[0].spaces[0].metrics.cyclomatic.average
old: 2.8333333333333335
new: 1.3333333333333333
path: .spaces[0].spaces[0].metrics.cyclomatic.sum
old: 17.0
new: 4.0
path: .spaces[0].spaces[0].metrics.nargs.sum
old: 10.0
new: 1.0
path: .spaces[0].spaces[0].metrics.nargs.average
old: 2.0
new: 0.5

### Code

    struct SymbolTable {
      SymbolTable() = default;
      SymbolTable(SymbolTable&& aOther) = default;

      nsTArray mAddrs;
      nsTArray mIndex;
      nsTArray mBuffer;
    };

## Minimal test - lines (20, 20)

path: .spaces[0].spaces[0].spaces[0].metrics.nargs.average
old: 1.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.nargs.sum
old: 1.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.nexits.average
old: 4.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.nexits.sum
old: 4.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.cognitive.average
old: 3.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.cognitive.sum
old: 3.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.cyclomatic.average
old: 4.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.cyclomatic.sum
old: 4.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.6972127135121615
new: 1.6
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.bugs
old: 0.02453686739714586
new: 0.002712967490108627
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.vocabulary
old: 18.0
new: 5.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.volume
old: 141.7774500490386
new: 11.60964047443681
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.n2
old: 11.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.N2
old: 14.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 57.70523225941349
new: 8.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.effort
old: 631.5540956729901
new: 23.21928094887362
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.difficulty
old: 4.454545454545454
new: 2.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.length
old: 34.0
new: 5.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.n1
old: 7.0
new: 4.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.level
old: 0.22448979591836735
new: 0.5
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.time
old: 35.08633864849945
new: 1.289960052715201
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.N1
old: 20.0
new: 4.0
path: .spaces[0].spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 67.4218432798293
new: 92.40962204246613
path: .spaces[0].spaces[0].spaces[0].metrics.mi.mi_sei
old: 91.03668924566358
new: 152.37629276875444
path: .spaces[0].spaces[0].spaces[0].metrics.mi.mi_original
old: 115.29135200850811
new: 158.02045369261705
path: .spaces[0].spaces[0].spaces[0].metrics.loc.ploc
old: 6.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.loc.lloc
old: 7.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.loc.sloc
old: 6.0
new: 1.0

### Code

      SymbolTable() = default;