# Global Metrics

path: .metrics.nargs.average
old: 2.0
new: 0.0
path: .metrics.nargs.sum
old: 4.0
new: 0.0
path: .metrics.halstead.n2
old: 71.0
new: 40.0
path: .metrics.halstead.n1
old: 14.0
new: 13.0
path: .metrics.halstead.purity_ratio
old: 0.6594010960883431
new: 0.9559810993821564
path: .metrics.halstead.length
old: 743.0
new: 273.0
path: .metrics.halstead.estimated_program_length
old: 489.9350143936389
new: 260.9828401313287
path: .metrics.halstead.difficulty
old: 33.91549295774648
new: 20.8
path: .metrics.halstead.time
old: 8972.8664609117
new: 1806.9679727328703
path: .metrics.halstead.bugs
old: 0.9885862179895772
new: 0.3396466890793326
path: .metrics.halstead.vocabulary
old: 85.0
new: 53.0
path: .metrics.halstead.N1
old: 399.0
new: 145.0
path: .metrics.halstead.effort
old: 161511.5962964106
new: 32525.42350919167
path: .metrics.halstead.level
old: 0.02948504983388704
new: 0.04807692307692307
path: .metrics.halstead.N2
old: 344.0
new: 128.0
path: .metrics.halstead.volume
old: 4762.177465550312
new: 1563.7222840957534
path: .metrics.cyclomatic.sum
old: 21.0
new: 4.0
path: .metrics.mi.mi_sei
old: 9.451814584705836
new: 41.9714860895804
path: .metrics.mi.mi_original
old: 43.155809838603645
new: 66.05573667350046
path: .metrics.mi.mi_visual_studio
old: 25.23731569508985
new: 38.629085773976875
path: .metrics.loc.lloc
old: 49.0
new: 0.0
path: .metrics.loc.cloc
old: 10.0
new: 5.0
path: .metrics.loc.sloc
old: 131.0
new: 58.0
path: .metrics.loc.ploc
old: 93.0
new: 46.0
path: .metrics.loc.blank
old: 28.0
new: 7.0
path: .metrics.nexits.average
old: 0.5
new: 0.0
path: .metrics.nexits.sum
old: 1.0
new: 0.0

# Spaces Data

## Minimal test - lines (12, 56)

path: .spaces[0].metrics.cognitive.average
old: null
new: 0.0
path: .spaces[0].metrics.nexits.average
old: null
new: 0.0
path: .spaces[0].metrics.nargs.average
old: null
new: 0.0
path: .spaces[0].metrics.nom.functions
old: 0.0
new: 2.0
path: .spaces[0].metrics.nom.total
old: 0.0
new: 2.0
path: .spaces[0].metrics.halstead.length
old: 7.0
new: 269.0
path: .spaces[0].metrics.halstead.level
old: 0.6666666666666666
new: 0.04676923076923077
path: .spaces[0].metrics.halstead.N1
old: 4.0
new: 144.0
path: .spaces[0].metrics.halstead.n1
old: 3.0
new: 13.0
path: .spaces[0].metrics.halstead.n2
old: 3.0
new: 38.0
path: .spaces[0].metrics.halstead.volume
old: 18.094737505048094
new: 1525.882416990332
path: .spaces[0].metrics.halstead.N2
old: 3.0
new: 125.0
path: .spaces[0].metrics.halstead.bugs
old: 0.003010517177243676
new: 0.3403449463899745
path: .spaces[0].metrics.halstead.difficulty
old: 1.5
new: 21.38157894736842
path: .spaces[0].metrics.halstead.estimated_program_length
old: 9.509775004326936
new: 247.52696184669043
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.3585392863324195
new: 0.9201745793557264
path: .spaces[0].metrics.halstead.vocabulary
old: 6.0
new: 51.0
path: .spaces[0].metrics.halstead.effort
old: 27.14210625757214
new: 32625.77536328013
path: .spaces[0].metrics.halstead.time
old: 1.5078947920873411
new: 1812.5430757377849
path: .spaces[0].metrics.loc.ploc
old: 4.0
new: 42.0
path: .spaces[0].metrics.loc.sloc
old: 4.0
new: 45.0
path: .spaces[0].metrics.loc.blank
old: 0.0
new: 3.0
path: .spaces[0].metrics.cyclomatic.sum
old: 1.0
new: 3.0
path: .spaces[0].metrics.mi.mi_original
old: 133.25480136767567
new: 70.52436125561606
path: .spaces[0].metrics.mi.mi_visual_studio
old: 77.92678442554133
new: 41.24231652375208
path: .spaces[0].metrics.mi.mi_sei
old: 116.64700897518124
new: 26.349753831539672

### Code

    class nsNativeBasicThemeWin : public nsNativeBasicTheme {
     public:
      nsNativeBasicThemeWin() = default;

      Transparency GetWidgetTransparency(nsIFrame* aFrame,
                                         StyleAppearance aAppearance) override;

     protected:
      virtual ~nsNativeBasicThemeWin() = default;

      std::pair ComputeCheckboxColors(
          const EventStates& aState, StyleAppearance aAppearance) override;
      sRGBColor ComputeCheckmarkColor(const EventStates& aState) override;
      std::pair ComputeRadioCheckmarkColors(
          const EventStates& aState) override;
      sRGBColor ComputeBorderColor(const EventStates& aState) override;
      std::pair ComputeButtonColors(
          const EventStates& aState, nsIFrame* aFrame = nullptr) override;
      std::pair ComputeTextfieldColors(
          const EventStates& aState) override;
      std::pair ComputeRangeProgressColors(
          const EventStates& aState) override;
      std::pair ComputeRangeTrackColors(
          const EventStates& aState) override;
      std::pair ComputeRangeThumbColors(
          const EventStates& aState) override;
      std::pair ComputeProgressColors() override;
      std::pair ComputeProgressTrackColors() override;
      std::pair ComputeMeterchunkColors(
          const EventStates& aMeterState) override;
      std::pair ComputeMeterTrackColors() override;
      sRGBColor ComputeMenulistArrowButtonColor(const EventStates& aState) override;
      std::array ComputeFocusRectColors() override;
      std::pair ComputeScrollbarColors(
          nsIFrame* aFrame, const ComputedStyle& aStyle,
          const EventStates& aDocumentState) override;
      sRGBColor ComputeScrollbarThumbColor(
          nsIFrame* aFrame, const ComputedStyle& aStyle,
          const EventStates& aElementState,
          const EventStates& aDocumentState) override;
      std::array ComputeScrollbarButtonColors(
          nsIFrame* aFrame, StyleAppearance aAppearance,
          const ComputedStyle& aStyle, const EventStates& aElementState,
          const EventStates& aDocumentState) override;
    };