# Global Metrics

path: .metrics.nexits.sum
old: 7.0
new: 0.0
path: .metrics.nexits.average
old: 1.0
new: null
path: .metrics.nargs.average
old: 0.0
new: null
path: .metrics.nom.functions
old: 7.0
new: 0.0
path: .metrics.nom.total
old: 7.0
new: 0.0
path: .metrics.halstead.level
old: 0.045037531276063386
new: 0.23214285714285715
path: .metrics.halstead.length
old: 541.0
new: 39.0
path: .metrics.halstead.N2
old: 218.0
new: 16.0
path: .metrics.halstead.purity_ratio
old: 1.5298250385280503
new: 1.7373641228266006
path: .metrics.halstead.difficulty
old: 22.203703703703702
new: 4.3076923076923075
path: .metrics.halstead.effort
old: 84354.11265243008
new: 726.0839199410768
path: .metrics.halstead.time
old: 4686.339591801671
new: 40.337995552282045
path: .metrics.halstead.n2
old: 108.0
new: 13.0
path: .metrics.halstead.volume
old: 3799.100986848394
new: 168.55519570060713
path: .metrics.halstead.estimated_program_length
old: 827.6353458436752
new: 67.75720079023742
path: .metrics.halstead.n1
old: 22.0
new: 7.0
path: .metrics.halstead.vocabulary
old: 130.0
new: 20.0
path: .metrics.halstead.bugs
old: 0.6411351478978734
new: 0.02692794993506071
path: .metrics.halstead.N1
old: 323.0
new: 23.0
path: .metrics.cognitive.average
old: 0.14285714285714285
new: null
path: .metrics.cognitive.sum
old: 1.0
new: 0.0
path: .metrics.loc.sloc
old: 250.0
new: 35.0
path: .metrics.loc.blank
old: 48.0
new: 7.0
path: .metrics.loc.cloc
old: 74.0
new: 9.0
path: .metrics.loc.lloc
old: 11.0
new: 0.0
path: .metrics.loc.ploc
old: 128.0
new: 19.0
path: .metrics.cyclomatic.sum
old: 15.0
new: 4.0
path: .metrics.cyclomatic.average
old: 1.25
new: 1.0
path: .metrics.mi.mi_original
old: 35.24123050698776
new: 85.82159241507496
path: .metrics.mi.mi_sei
old: 13.995989021134797
new: 83.8827362998382
path: .metrics.mi.mi_visual_studio
old: 20.60890672923261
new: 50.188065739809915

# Spaces Data

## Minimal test - lines (13, 33)

path: .spaces[0].metrics.loc.blank
old: 48.0
new: 5.0
path: .spaces[0].metrics.loc.sloc
old: 222.0
new: 21.0
path: .spaces[0].metrics.loc.cloc
old: 61.0
new: 1.0
path: .spaces[0].metrics.loc.lloc
old: 11.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 113.0
new: 15.0
path: .spaces[0].metrics.halstead.vocabulary
old: 120.0
new: 18.0
path: .spaces[0].metrics.halstead.length
old: 530.0
new: 36.0
path: .spaces[0].metrics.halstead.n1
old: 22.0
new: 7.0
path: .spaces[0].metrics.halstead.volume
old: 3660.652015672515
new: 150.11730005192322
path: .spaces[0].metrics.halstead.effort
old: 85054.12897639099
new: 620.9397411238643
path: .spaces[0].metrics.halstead.N1
old: 323.0
new: 23.0
path: .spaces[0].metrics.halstead.bugs
old: 0.6446772522924793
new: 0.024261168611675182
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.4082057742137943
new: 1.6029231183170414
path: .spaces[0].metrics.halstead.N2
old: 207.0
new: 13.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 746.349060333311
new: 57.70523225941349
path: .spaces[0].metrics.halstead.time
old: 4725.2293875772775
new: 34.49665228465913
path: .spaces[0].metrics.halstead.level
old: 0.043039086517347384
new: 0.24175824175824173
path: .spaces[0].metrics.halstead.n2
old: 98.0
new: 11.0
path: .spaces[0].metrics.halstead.difficulty
old: 23.23469387755102
new: 4.136363636363637
path: .spaces[0].metrics.cyclomatic.average
old: 1.2727272727272727
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 14.0
new: 3.0
path: .spaces[0].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[0].metrics.cognitive.average
old: 0.14285714285714285
new: null
path: .spaces[0].metrics.nargs.average
old: 0.0
new: null
path: .spaces[0].metrics.nom.functions
old: 7.0
new: 0.0
path: .spaces[0].metrics.nom.total
old: 7.0
new: 0.0
path: .spaces[0].metrics.nexits.average
old: 1.0
new: null
path: .spaces[0].metrics.nexits.sum
old: 7.0
new: 0.0
path: .spaces[0].metrics.mi.mi_original
old: 37.58856431785229
new: 94.9293681669154
path: .spaces[0].metrics.mi.mi_sei
old: 16.239143128856405
new: 78.14169263756907
path: .spaces[0].metrics.mi.mi_visual_studio
old: 21.981616560147536
new: 55.514250390009

### Code

    namespace mozilla {
    namespace widget {

    class PuppetBidiKeyboard final : public nsIBidiKeyboard {
     public:
      NS_DECL_ISUPPORTS
      NS_DECL_NSIBIDIKEYBOARD

      PuppetBidiKeyboard();

      void SetBidiKeyboardInfo(bool aIsLangRTL, bool aHaveBidiKeyboards);

     private:
      ~PuppetBidiKeyboard();

      bool mIsLangRTL;
      bool mHaveBidiKeyboards;
    };

    }  // namespace widget
    }  // namespace mozilla

## Minimal test - lines (14, 32)

path: .spaces[0].spaces[0].metrics.nom.functions
old: 7.0
new: 0.0
path: .spaces[0].spaces[0].metrics.nom.total
old: 7.0
new: 0.0
path: .spaces[0].spaces[0].metrics.nargs.average
old: 0.0
new: null
path: .spaces[0].spaces[0].metrics.halstead.N1
old: 321.0
new: 22.0
path: .spaces[0].spaces[0].metrics.halstead.N2
old: 206.0
new: 12.0
path: .spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.4009469474424516
new: 1.555022511861084
path: .spaces[0].spaces[0].metrics.halstead.volume
old: 3633.5689612632864
new: 138.97373660251154
path: .spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 738.299041302172
new: 52.87076540327685
path: .spaces[0].spaces[0].metrics.halstead.length
old: 527.0
new: 34.0
path: .spaces[0].spaces[0].metrics.halstead.n1
old: 22.0
new: 7.0
path: .spaces[0].spaces[0].metrics.halstead.difficulty
old: 23.36082474226804
new: 4.2
path: .spaces[0].spaces[0].metrics.halstead.vocabulary
old: 119.0
new: 17.0
path: .spaces[0].spaces[0].metrics.halstead.level
old: 0.04280670785525155
new: 0.23809523809523808
path: .spaces[0].spaces[0].metrics.halstead.time
old: 4715.73153850092
new: 32.42720520725269
path: .spaces[0].spaces[0].metrics.halstead.effort
old: 84883.16769301656
new: 583.6896937305485
path: .spaces[0].spaces[0].metrics.halstead.bugs
old: 0.643813082559034
new: 0.023280917684102193
path: .spaces[0].spaces[0].metrics.halstead.n2
old: 97.0
new: 10.0
path: .spaces[0].spaces[0].metrics.nexits.average
old: 1.0
new: null
path: .spaces[0].spaces[0].metrics.nexits.sum
old: 7.0
new: 0.0
path: .spaces[0].spaces[0].metrics.cyclomatic.average
old: 1.3
new: 1.0
path: .spaces[0].spaces[0].metrics.cyclomatic.sum
old: 13.0
new: 2.0
path: .spaces[0].spaces[0].metrics.cognitive.average
old: 0.14285714285714285
new: null
path: .spaces[0].spaces[0].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[0].spaces[0].metrics.mi.mi_original
old: 38.1517327111318
new: 97.18180669364612
path: .spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 22.31095480183146
new: 56.83146590271703
path: .spaces[0].spaces[0].metrics.mi.mi_sei
old: 17.203923832218116
new: 64.7064983083493
path: .spaces[0].spaces[0].metrics.loc.ploc
old: 111.0
new: 13.0
path: .spaces[0].spaces[0].metrics.loc.blank
old: 46.0
new: 6.0
path: .spaces[0].spaces[0].metrics.loc.lloc
old: 11.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.cloc
old: 61.0
new: 0.0
path: .spaces[0].spaces[0].metrics.loc.sloc
old: 218.0
new: 19.0

### Code

    namespace widget {

    class PuppetBidiKeyboard final : public nsIBidiKeyboard {
     public:
      NS_DECL_ISUPPORTS
      NS_DECL_NSIBIDIKEYBOARD

      PuppetBidiKeyboard();

      void SetBidiKeyboardInfo(bool aIsLangRTL, bool aHaveBidiKeyboards);

     private:
      ~PuppetBidiKeyboard();

      bool mIsLangRTL;
      bool mHaveBidiKeyboards;
    };

    }  // namespace widget

## Minimal test - lines (16, 30)

path: .spaces[0].spaces[0].spaces[0].metrics.halstead.time
old: 2316.0405493571698
new: 29.469135802469136
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.n2
old: 47.0
new: 9.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.level
old: 0.03956228956228956
new: 0.23376623376623376
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.purity_ratio
old: 1.3302710060698868
new: 1.5542196602381948
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.vocabulary
old: 69.0
new: 16.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.N1
old: 162.0
new: 20.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.n1
old: 22.0
new: 7.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.length
old: 270.0
new: 31.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.difficulty
old: 25.27659574468085
new: 4.277777777777778
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.volume
old: 1649.3016033301058
new: 124.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.estimated_program_length
old: 359.17317163886946
new: 48.18080946738404
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.N2
old: 108.0
new: 11.0
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.bugs
old: 0.4007662933720618
new: 0.02184265110366452
path: .spaces[0].spaces[0].spaces[0].metrics.halstead.effort
old: 41688.72988842906
new: 530.4444444444445
path: .spaces[0].spaces[0].spaces[0].metrics.loc.lloc
old: 11.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.loc.blank
old: 17.0
new: 4.0
path: .spaces[0].spaces[0].spaces[0].metrics.loc.cloc
old: 16.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.loc.sloc
old: 92.0
new: 15.0
path: .spaces[0].spaces[0].spaces[0].metrics.loc.ploc
old: 59.0
new: 11.0
path: .spaces[0].spaces[0].spaces[0].metrics.nargs.average
old: 0.0
new: null
path: .spaces[0].spaces[0].spaces[0].metrics.cognitive.average
old: 0.14285714285714285
new: null
path: .spaces[0].spaces[0].spaces[0].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.nom.total
old: 7.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.nom.functions
old: 7.0
new: 0.0
path: .spaces[0].spaces[0].spaces[0].metrics.mi.mi_original
old: 56.46486757758298
new: 101.834122600998
path: .spaces[0].spaces[0].spaces[0].metrics.mi.mi_visual_studio
old: 33.02039039624736
new: 59.55211848011579
path: .spaces[0].spaces[0].spaces[0].metrics.mi.mi_sei
old: 37.08475950804956
new: 71.31655153713027
path: .spaces[0].spaces[0].spaces[0].metrics.cyclomatic.sum
old: 12.0
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.cyclomatic.average
old: 1.3333333333333333
new: 1.0
path: .spaces[0].spaces[0].spaces[0].metrics.nexits.average
old: 1.0
new: null
path: .spaces[0].spaces[0].spaces[0].metrics.nexits.sum
old: 7.0
new: 0.0

### Code

    class PuppetBidiKeyboard final : public nsIBidiKeyboard {
     public:
      NS_DECL_ISUPPORTS
      NS_DECL_NSIBIDIKEYBOARD

      PuppetBidiKeyboard();

      void SetBidiKeyboardInfo(bool aIsLangRTL, bool aHaveBidiKeyboards);

     private:
      ~PuppetBidiKeyboard();

      bool mIsLangRTL;
      bool mHaveBidiKeyboards;
    };