# Global Metrics

path: .metrics.nexits.average
old: 0.0
new: 0.6666666666666666
path: .metrics.nexits.sum
old: 0.0
new: 2.0
path: .metrics.nom.total
old: 1.0
new: 3.0
path: .metrics.nom.functions
old: 1.0
new: 3.0
path: .metrics.loc.sloc
old: 37.0
new: 33.0
path: .metrics.loc.blank
old: 7.0
new: 5.0
path: .metrics.loc.cloc
old: 10.0
new: 5.0
path: .metrics.loc.lloc
old: 9.0
new: 2.0
path: .metrics.loc.ploc
old: 20.0
new: 23.0
path: .metrics.mi.mi_original
old: 79.06565119138483
new: 81.342919716841
path: .metrics.mi.mi_visual_studio
old: 46.2372229189385
new: 47.56895889873743
path: .metrics.mi.mi_sei
old: 74.62536098189365
new: 70.51800534895972
path: .metrics.cyclomatic.sum
old: 2.0
new: 5.0
path: .metrics.halstead.volume
old: 567.8304168535556
new: 458.34698093619465
path: .metrics.halstead.n2
old: 28.0
new: 30.0
path: .metrics.halstead.bugs
old: 0.07770290219754336
new: 0.07926260107115281
path: .metrics.halstead.vocabulary
old: 37.0
new: 42.0
path: .metrics.halstead.effort
old: 3559.0799342071073
new: 3666.775847489557
path: .metrics.halstead.estimated_program_length
old: 163.13526283059372
new: 190.22626787690945
path: .metrics.halstead.N1
old: 70.0
new: 45.0
path: .metrics.halstead.level
old: 0.15954415954415954
new: 0.125
path: .metrics.halstead.N2
old: 39.0
new: 40.0
path: .metrics.halstead.difficulty
old: 6.267857142857143
new: 8.0
path: .metrics.halstead.length
old: 109.0
new: 85.0
path: .metrics.halstead.n1
old: 9.0
new: 12.0
path: .metrics.halstead.time
old: 197.72666301150596
new: 203.7097693049754
path: .metrics.halstead.purity_ratio
old: 1.4966537874366397
new: 2.237956092669523

# Spaces Data

## Minimal test - lines (11, 32)

path: .spaces[0].metrics.loc.sloc
old: 5.0
new: 22.0
path: .spaces[0].metrics.loc.ploc
old: 5.0
new: 18.0
path: .spaces[0].metrics.loc.blank
old: 0.0
new: 4.0
path: .spaces[0].metrics.loc.lloc
old: 0.0
new: 2.0
path: .spaces[0].metrics.cyclomatic.sum
old: 1.0
new: 4.0
path: .spaces[0].metrics.halstead.level
old: 0.4
new: 0.125
path: .spaces[0].metrics.halstead.n2
old: 9.0
new: 27.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 40.13896548741762
new: 171.40151256706753
path: .spaces[0].metrics.halstead.volume
old: 72.33974351909448
new: 422.8321775089799
path: .spaces[0].metrics.halstead.length
old: 19.0
new: 80.0
path: .spaces[0].metrics.halstead.N2
old: 9.0
new: 36.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 2.112577130916717
new: 2.142518907088344
path: .spaces[0].metrics.halstead.bugs
old: 0.010659988286733852
new: 0.0751134004056129
path: .spaces[0].metrics.halstead.time
old: 10.047186599874234
new: 187.9254122262133
path: .spaces[0].metrics.halstead.difficulty
old: 2.5
new: 8.0
path: .spaces[0].metrics.halstead.effort
old: 180.84935879773624
new: 3382.657420071839
path: .spaces[0].metrics.halstead.n1
old: 5.0
new: 12.0
path: .spaces[0].metrics.halstead.vocabulary
old: 14.0
new: 39.0
path: .spaces[0].metrics.halstead.N1
old: 10.0
new: 44.0
path: .spaces[0].metrics.mi.mi_sei
old: 101.0358386582233
new: 52.47271270764462
path: .spaces[0].metrics.mi.mi_original
old: 122.43396267723514
new: 88.56084040000039
path: .spaces[0].metrics.mi.mi_visual_studio
old: 71.59880858317844
new: 51.78996514619905
path: .spaces[0].metrics.nom.total
old: 1.0
new: 3.0
path: .spaces[0].metrics.nom.functions
old: 1.0
new: 3.0
path: .spaces[0].metrics.nexits.average
old: 0.0
new: 0.6666666666666666
path: .spaces[0].metrics.nexits.sum
old: 0.0
new: 2.0

### Code

    class nsDeviceContextSpecAndroid final : public nsIDeviceContextSpec {
     private:
      ~nsDeviceContextSpecAndroid() {}

     public:
      NS_DECL_ISUPPORTS

      already_AddRefed MakePrintTarget() final;

      NS_IMETHOD Init(nsIWidget* aWidget, nsIPrintSettings* aPS,
                      bool aIsPrintPreview) override;
      NS_IMETHOD BeginDocument(const nsAString& aTitle,
                               const nsAString& aPrintToFileName,
                               int32_t aStartPage, int32_t aEndPage) override;
      NS_IMETHOD EndDocument() override;
      NS_IMETHOD BeginPage() override { return NS_OK; }
      NS_IMETHOD EndPage() override { return NS_OK; }

     private:
      nsCOMPtr mPrintSettings;
      nsCOMPtr mTempFile;
    };