# Global Metrics

path: .metrics.halstead.effort
old: 10986268.47057088
new: 864.4436676127684
path: .metrics.halstead.vocabulary
old: 565.0
new: 22.0
path: .metrics.halstead.estimated_program_length
old: 4983.8752616254615
new: 76.63504134881501
path: .metrics.halstead.n2
old: 532.0
new: 13.0
path: .metrics.halstead.length
old: 9499.0
new: 35.0
path: .metrics.halstead.purity_ratio
old: 0.5246736774003012
new: 2.189572609966143
path: .metrics.halstead.bugs
old: 16.473234612127747
new: 0.030248455907386385
path: .metrics.halstead.level
old: 0.007904492336951273
new: 0.18055555555555555
path: .metrics.halstead.volume
old: 86840.87493731691
new: 156.0801066523054
path: .metrics.halstead.N2
old: 4079.0
new: 16.0
path: .metrics.halstead.n1
old: 33.0
new: 9.0
path: .metrics.halstead.N1
old: 5420.0
new: 19.0
path: .metrics.halstead.time
old: 610348.2483650489
new: 48.02464820070936
path: .metrics.halstead.difficulty
old: 126.51033834586468
new: 5.538461538461538
path: .metrics.cyclomatic.average
old: 3.1702127659574466
new: 1.0
path: .metrics.cyclomatic.sum
old: 149.0
new: 5.0
path: .metrics.nargs.average
old: 1.9210526315789471
new: 0.0
path: .metrics.nargs.sum
old: 73.0
new: 0.0
path: .metrics.mi.mi_visual_studio
old: 0.0
new: 50.844828497165096
path: .metrics.mi.mi_original
old: -39.08664141962822
new: 86.94465673015232
path: .metrics.mi.mi_sei
old: -95.8387698369021
new: 80.92155088227196
path: .metrics.cognitive.sum
old: 137.0
new: 0.0
path: .metrics.cognitive.average
old: 3.6052631578947367
new: 0.0
path: .metrics.loc.cloc
old: 106.0
new: 6.0
path: .metrics.loc.ploc
old: 1089.0
new: 20.0
path: .metrics.loc.blank
old: 148.0
new: 7.0
path: .metrics.loc.lloc
old: 458.0
new: 0.0
path: .metrics.loc.sloc
old: 1343.0
new: 33.0
path: .metrics.nexits.sum
old: 4.0
new: 0.0
path: .metrics.nexits.average
old: 0.10526315789473684
new: 0.0
path: .metrics.nom.functions
old: 38.0
new: 1.0
path: .metrics.nom.total
old: 38.0
new: 1.0

# Spaces Data

## Minimal test - lines (13, 31)

path: .spaces[0].metrics.cyclomatic.sum
old: 23.0
new: 4.0
path: .spaces[0].metrics.cyclomatic.average
old: 4.6
new: 1.0
path: .spaces[0].metrics.nexits.average
old: 1.0
new: 0.0
path: .spaces[0].metrics.nexits.sum
old: 3.0
new: 0.0
path: .spaces[0].metrics.cognitive.average
old: 10.333333333333334
new: 0.0
path: .spaces[0].metrics.cognitive.sum
old: 31.0
new: 0.0
path: .spaces[0].metrics.nargs.sum
old: 14.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 4.666666666666667
new: 0.0
path: .spaces[0].metrics.nom.total
old: 3.0
new: 1.0
path: .spaces[0].metrics.nom.functions
old: 3.0
new: 1.0
path: .spaces[0].metrics.loc.blank
old: 5.0
new: 4.0
path: .spaces[0].metrics.loc.ploc
old: 83.0
new: 14.0
path: .spaces[0].metrics.loc.lloc
old: 33.0
new: 0.0
path: .spaces[0].metrics.loc.cloc
old: 5.0
new: 1.0
path: .spaces[0].metrics.loc.sloc
old: 93.0
new: 19.0
path: .spaces[0].metrics.halstead.volume
old: 4137.400590944154
new: 125.09775004326936
path: .spaces[0].metrics.halstead.N2
old: 255.0
new: 11.0
path: .spaces[0].metrics.halstead.vocabulary
old: 83.0
new: 18.0
path: .spaces[0].metrics.halstead.level
old: 0.017194570135746608
new: 0.18181818181818185
path: .spaces[0].metrics.halstead.estimated_program_length
old: 454.6861634790586
new: 57.05865002596162
path: .spaces[0].metrics.halstead.effort
old: 240622.50805227843
new: 688.0376252379815
path: .spaces[0].metrics.halstead.N1
old: 394.0
new: 19.0
path: .spaces[0].metrics.halstead.n1
old: 26.0
new: 9.0
path: .spaces[0].metrics.halstead.time
old: 13367.917114015469
new: 38.22431251322119
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.7005950130648053
new: 1.9019550008653872
path: .spaces[0].metrics.halstead.n2
old: 57.0
new: 9.0
path: .spaces[0].metrics.halstead.bugs
old: 1.289544236488804
new: 0.02597886685363351
path: .spaces[0].metrics.halstead.difficulty
old: 58.1578947368421
new: 5.5
path: .spaces[0].metrics.halstead.length
old: 649.0
new: 30.0
path: .spaces[0].metrics.mi.mi_original
old: 48.97720864711563
new: 97.2687922908671
path: .spaces[0].metrics.mi.mi_sei
old: 14.87694732775694
new: 82.43433870726
path: .spaces[0].metrics.mi.mi_visual_studio
old: 28.641642483693353
new: 56.882334673021695

### Code

    namespace mozilla {
    namespace widget {

    class HeadlessClipboard final : public nsIClipboard {
     public:
      NS_DECL_ISUPPORTS
      NS_DECL_NSICLIPBOARD

      HeadlessClipboard();

     protected:
      ~HeadlessClipboard() = default;

     private:
      UniquePtr mClipboard;
    };

    }  // namespace widget
    }  // namespace mozilla

## Minimal test - lines (14, 30)

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.cyclomatic.sum
old: 4.0
new: 3.0
path: .spaces[0].spaces[0].metrics.cyclomatic.average
old: 4.0
new: 1.0
path: .spaces[0].spaces[0].metrics.cognitive.sum
old: 4.0
new: 0.0
path: .spaces[0].spaces[0].metrics.cognitive.average
old: 4.0
new: 0.0
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 55.01179814175714
new: 58.34109547223668
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 94.07017482240472
new: 99.76327325752472
path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 60.42100215744618
new: 68.53258717768213
path: .spaces[0].spaces[0].metrics.loc.ploc
old: 15.0
new: 12.0
path: .spaces[0].spaces[0].metrics.loc.sloc
old: 15.0
new: 17.0
path: .spaces[0].spaces[0].metrics.loc.blank
old: 0.0
new: 5.0
path: .spaces[0].spaces[0].metrics.loc.lloc
old: 4.0
new: 0.0
path: .spaces[0].spaces[0].metrics.nargs.sum
old: 2.0
new: 0.0
path: .spaces[0].spaces[0].metrics.nargs.average
old: 2.0
new: 0.0
path: .spaces[0].spaces[0].metrics.halstead.effort
old: 9243.28404969671
new: 643.7753974969285
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.463775263431175
new: 1.8760473218921716
path: .spaces[0].spaces[0].metrics.halstead.n2
old: 16.0
new: 8.0
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 483.3089699187822
new: 114.4489595550095
path: .spaces[0].spaces[0].metrics.halstead.length
old: 95.0
new: 28.0
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 19.125
new: 5.625
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.05228758169934641
new: 0.17777777777777778
path: .spaces[0].spaces[0].metrics.halstead.time
old: 513.515780538706
new: 35.76529986094047
path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 139.0586500259616
new: 52.529325012980806
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 34.0
new: 10.0
path: .spaces[0].spaces[0].metrics.halstead.n1
old: 18.0
new: 9.0
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.14681246980489812
new: 0.024852399661774834
path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 34.0
new: 17.0
path: .spaces[0].spaces[0].metrics.halstead.N1
old: 61.0
new: 18.0

### Code

    namespace widget {

    class HeadlessClipboard final : public nsIClipboard {
     public:
      NS_DECL_ISUPPORTS
      NS_DECL_NSICLIPBOARD

      HeadlessClipboard();

     protected:
      ~HeadlessClipboard() = default;

     private:
      UniquePtr mClipboard;
    };

    }  // namespace widget