danger-rcov 0.0.5 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dad4e0e4d7f72d9ab2b1101baf29b8caeb5c1f7bc2c7385ce96c1f3e521ca82b
4
- data.tar.gz: 4eb8c77f703e1ecf302519187cafd61fc38f0b40a955e5239fa4e910f44834f0
3
+ metadata.gz: c6c6f00ecce50c242151b436565445cd57bcfd479752f117ca835bfabbc0557f
4
+ data.tar.gz: cc71d74bc21b349596ccd6ea42d4ac9b53cff34c7d0bc4e1ba6d97b6fe1907cf
5
5
  SHA512:
6
- metadata.gz: 920081b083ceed32785b1eef71e0cdd3c251fbeced749b78bacac765a6499e38591fc52c69b1c7fbce526484aa67b580bee40bc89b9d89fe945d0d8576ca0c72
7
- data.tar.gz: bb333d40155b44f8cc83943e70cdc344da99a9b4ce8dd9d1d0d29b202d5da5df52d53662530dbc8fa079776e3d557de3d2e508e9575a1620294cd109441f768b
6
+ metadata.gz: 5791df062be027f102623c4845f5318e8521e47bb8fe182db7442713b924bbf8220e8cb8432f8cf23d21c76cb6543532f54e6f8aff8857b613f42b492f02ab30
7
+ data.tar.gz: d7c608e9fb4a245224192f6a587f9e5bf7d0a8e22c0995891aa0139fd82baa7448b1d558f74608de9cefc79b6afcb844dd63c33cf617e29a51d261b7c26af31c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-rcov (0.0.1)
4
+ danger-rcov (1.0.0)
5
5
  danger-plugin-api (~> 1.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # danger-rcov
2
2
 
3
- A description of danger-rcov.
3
+ This plugin will provide an interface similar to codecov.
4
+
5
+ ![Screenshot 2020-06-08 at 22 24 18](https://user-images.githubusercontent.com/756762/84170757-e2b8a700-aa71-11ea-8573-da077ec07267.png)
6
+
7
+
4
8
 
5
9
  ## Installation
6
10
 
@@ -8,13 +12,12 @@ A description of danger-rcov.
8
12
 
9
13
  ## Usage
10
14
 
11
- Methods and attributes from this plugin are available in
12
- your `Dangerfile` under the `rcov` namespace.
13
-
14
- ## Development
15
+ Inside your Dangerfile:
15
16
 
16
- 1. Clone this repo
17
- 2. Run `bundle install` to setup dependencies.
18
- 3. Run `bundle exec rake spec` to run the tests.
19
- 4. Use `bundle exec guard` to automatically have tests run as you make changes.
20
- 5. Make your changes.
17
+ ```
18
+ markdown rcov.report(
19
+ current_url: "https://circleci.com/api/v1.1/project/github/#{ENV['CIRCLE_PROJECT_USERNAME']}/#{ENV['CIRCLE_PROJECT_REPONAME']}/#{ENV['CIRCLE_BUILD_NUM']}/artifacts?circle-token=#{ENV['CIRCLE_TOKEN']}",
20
+ master_url: "https://circleci.com/api/v1.1/project/github/#{ENV['CIRCLE_PROJECT_USERNAME']}/#{ENV['CIRCLE_PROJECT_REPONAME']}/latest/artifacts?circle-token=#{ENV['CIRCLE_TOKEN']}&branch=master",
21
+ warning: true # this will warn when the code coverage decrease!
22
+ )
23
+ ```
@@ -7,10 +7,10 @@ Gem::Specification.new do |spec|
7
7
  spec.name = 'danger-rcov'
8
8
  spec.version = Rcov::VERSION
9
9
  spec.authors = ['Guilherme Pereira']
10
- spec.email = ['guiferrpereira@gmail.com']
10
+ spec.email = ['guilhermepereira@edgepetrol.com']
11
11
  spec.description = %q{Plugin that allows code coverage print}
12
12
  spec.summary = %q{Plugin that allows code coverage print}
13
- spec.homepage = 'https://github.com/guiferrpereira/danger-rcov'
13
+ spec.homepage = 'https://github.com/EdgePetrol/danger-rcov'
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -1,3 +1,3 @@
1
1
  module Rcov
2
- VERSION = "0.0.5".freeze
2
+ VERSION = "1.0.0".freeze
3
3
  end
@@ -9,14 +9,20 @@ module Danger
9
9
 
10
10
  master_report = get_report(url: master_url)
11
11
 
12
- if show_warning && master_report && master_report['metrics']['covered_percent'].round(2) > current_report['metrics']['covered_percent'].round(2)
13
- warn("Code coverage decreased from #{master_report['metrics']['covered_percent'].round(2).to_s}% to #{current_report['metrics']['covered_percent'].round(2)}%")
12
+ @current_report = current_report
13
+
14
+ @master_report = master_report
15
+
16
+ if show_warning && master_report && master_report.dig('metrics', 'covered_percent').round(2) > current_report.dig('metrics', 'covered_percent').round(2)
17
+ warn("Code coverage decreased from #{master_report.dig('metrics', 'covered_percent').round(2).to_s}% to #{current_report.dig('metrics', 'covered_percent').round(2)}%")
14
18
  end
15
19
 
16
20
  # Output the processed report
17
21
  output_report(current_report, master_report)
18
22
  end
19
23
 
24
+ private
25
+
20
26
  def get_report(url:)
21
27
  artifacts = JSON.parse(URI.parse(url).read).map { |a| a['url'] }
22
28
 
@@ -56,8 +62,6 @@ module Danger
56
62
  message << "```"
57
63
  end
58
64
 
59
- private
60
-
61
65
  def separator_line
62
66
  "========================================\n"
63
67
  end
@@ -6,41 +6,51 @@ module Danger
6
6
  expect(Danger::DangerRcov.new(nil)).to be_a Danger::Plugin
7
7
  end
8
8
 
9
- #
10
- # You should test your custom attributes and methods here
11
- #
12
9
  describe "with Dangerfile" do
10
+ let(:current_url) { double('URI::HTTP') }
11
+ let(:master_url) { double('URI::HTTP') }
12
+
13
13
  before do
14
+ ENV['CIRCLE_PULL_REQUEST'] = 'danger-rcov/123'
15
+ ENV['CIRCLE_TOKEN'] = 'circle-token'
16
+
14
17
  @dangerfile = testing_dangerfile
15
- @my_plugin = @dangerfile.rcov
18
+ @rcov_plugin = @dangerfile.rcov
16
19
 
17
- # mock the PR data
18
- # you can then use this, eg. github.pr_author, later in the spec
19
- json = File.read(File.dirname(__FILE__) + '/support/fixtures/github_pr.json') # example json: `curl https://api.github.com/repos/danger/danger-plugin-template/pulls/18 > github_pr.json`
20
- allow(@my_plugin.github).to receive(:pr_json).and_return(json)
21
- end
20
+ @current_circle_ci = File.read(File.dirname(__FILE__) + '/support/fixtures/current_circle_ci.json')
21
+ @master_circle_ci = File.read(File.dirname(__FILE__) + '/support/fixtures/master_circle_ci.json')
22
22
 
23
- # Some examples for writing tests
24
- # You should replace these with your own.
23
+ @current_coverage = File.read(File.dirname(__FILE__) + '/support/fixtures/current_coverage.json')
24
+ @master_coverage = File.read(File.dirname(__FILE__) + '/support/fixtures/master_coverage.json')
25
+ end
25
26
 
26
- it "Warns on a monday" do
27
- monday_date = Date.parse("2016-07-11")
28
- allow(Date).to receive(:today).and_return monday_date
27
+ it "code coverage different" do
28
+ allow(URI).to receive(:parse).with('https://current.dev').and_return(current_url)
29
+ allow(current_url).to receive(:read).and_return(@current_circle_ci)
30
+ allow(URI).to receive(:parse).with('https://current.circle-artifacts.com/0/coverage/coverage.json?circle-token=circle-token').and_return(current_url)
31
+ allow(Net::HTTP).to receive(:get_response).with(current_url).and_return(Struct.new(:body).new(@current_coverage))
29
32
 
30
- @my_plugin.warn_on_mondays
33
+ allow(URI).to receive(:parse).with('https://master.dev').and_return(master_url)
34
+ allow(master_url).to receive(:read).and_return(@master_circle_ci)
35
+ allow(URI).to receive(:parse).with('https://master.circle-artifacts.com/0/coverage/coverage.json?circle-token=circle-token').and_return(master_url)
36
+ allow(Net::HTTP).to receive(:get_response).with(master_url).and_return(Struct.new(:body).new(@master_coverage))
31
37
 
32
- expect(@dangerfile.status_report[:warnings]).to eq(["Trying to merge code on a Monday"])
38
+ expect(@rcov_plugin.report(current_url: 'https://current.dev', master_url: 'https://master.dev')).to eq("```diff\n@@ Coverage Diff @@\n## master #123 +/- ##\n========================================\n+ Coverage 81.62% 79.16% -2.46%\n========================================\n Files 85 85\n+ Lines 1708 1699 -9\n========================================\n+ Misses 314 354 +40\n```")
33
39
  end
34
40
 
35
- it "Does nothing on a tuesday" do
36
- monday_date = Date.parse("2016-07-12")
37
- allow(Date).to receive(:today).and_return monday_date
41
+ it "same code coverage" do
42
+ allow(URI).to receive(:parse).with('https://current.dev').and_return(current_url)
43
+ allow(current_url).to receive(:read).and_return(@current_circle_ci)
44
+ allow(URI).to receive(:parse).with('https://current.circle-artifacts.com/0/coverage/coverage.json?circle-token=circle-token').and_return(current_url)
45
+ allow(Net::HTTP).to receive(:get_response).with(current_url).and_return(Struct.new(:body).new(@current_coverage))
38
46
 
39
- @my_plugin.warn_on_mondays
47
+ allow(URI).to receive(:parse).with('https://master.dev').and_return(master_url)
48
+ allow(master_url).to receive(:read).and_return(@master_circle_ci)
49
+ allow(URI).to receive(:parse).with('https://master.circle-artifacts.com/0/coverage/coverage.json?circle-token=circle-token').and_return(master_url)
50
+ allow(Net::HTTP).to receive(:get_response).with(master_url).and_return(Struct.new(:body).new(@current_coverage))
40
51
 
41
- expect(@dangerfile.status_report[:warnings]).to eq([])
52
+ expect(@rcov_plugin.report(current_url: 'https://current.dev', master_url: 'https://master.dev')).to eq("```diff\n@@ Coverage Diff @@\n## master #123 +/- ##\n========================================\n Coverage 79.16% 79.16%\n========================================\n Files 85 85\n Lines 1699 1699\n========================================\n Misses 354 354\n```")
42
53
  end
43
-
44
54
  end
45
55
  end
46
56
  end
@@ -4,7 +4,6 @@ $:.unshift((ROOT + "lib").to_s)
4
4
  $:.unshift((ROOT + "spec").to_s)
5
5
 
6
6
  require "bundler/setup"
7
- require "pry"
8
7
 
9
8
  require "rspec"
10
9
  require "danger"
@@ -0,0 +1,6 @@
1
+ [ {
2
+ "path" : "coverage/coverage.json",
3
+ "pretty_path" : "coverage/coverage.json",
4
+ "node_index" : 0,
5
+ "url" : "https://current.circle-artifacts.com/0/coverage/coverage.json"
6
+ } ]
@@ -0,0 +1 @@
1
+ {"timestamp":1591664118,"command_name":"RSpec","files":[{"filename":"/home/circleci/project/app/consumers/raw_data_consumer.rb","covered_percent":66.66666666666667,"coverage":{"lines":[1,1,0,null,null]},"covered_strength":0.6666666666666666,"covered_lines":2,"lines_of_code":3},{"filename":"/home/circleci/project/app/controllers/api.rb","covered_percent":0.0,"coverage":{"lines":[0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":2},{"filename":"/home/circleci/project/app/controllers/api/api_controller.rb","covered_percent":0.0,"coverage":{"lines":[0,0,null,null,null,null,null,null,null,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,0,0,null,0,null,0,0,null,null,0,null,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":21},{"filename":"/home/circleci/project/app/controllers/api/v1.rb","covered_percent":0.0,"coverage":{"lines":[0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":2},{"filename":"/home/circleci/project/app/controllers/api/v1/hygiene_service_controller.rb","covered_percent":0.0,"coverage":{"lines":[0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":21},{"filename":"/home/circleci/project/app/controllers/application_controller.rb","covered_percent":0.0,"coverage":{"lines":[0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":2},{"filename":"/home/circleci/project/app/decorators/application_decorator.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/decorators/contract_decorator.rb","covered_percent":0.0,"coverage":{"lines":[0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":18},{"filename":"/home/circleci/project/app/decorators/list_price_decorator.rb","covered_percent":0.0,"coverage":{"lines":[0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":18},{"filename":"/home/circleci/project/app/decorators/pagination_decorator.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,1,1,null]},"covered_strength":1.0,"covered_lines":4,"lines_of_code":4},{"filename":"/home/circleci/project/app/decorators/station_decorator.rb","covered_percent":72.22222222222223,"coverage":{"lines":[null,null,1,1,1,1,null,1,2,null,null,1,1,null,null,1,0,null,null,1,0,null,null,1,0,null,null,1,0,null,null,1,0,null,null]},"covered_strength":0.7777777777777778,"covered_lines":13,"lines_of_code":18},{"filename":"/home/circleci/project/app/helpers/application_helper.rb","covered_percent":100.0,"coverage":{"lines":[1,null]},"covered_strength":1.0,"covered_lines":1,"lines_of_code":1},{"filename":"/home/circleci/project/app/helpers/tests_helper.rb","covered_percent":100.0,"coverage":{"lines":[1,null]},"covered_strength":1.0,"covered_lines":1,"lines_of_code":1},{"filename":"/home/circleci/project/app/mailers/application_mailer.rb","covered_percent":0.0,"coverage":{"lines":[0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":4},{"filename":"/home/circleci/project/app/models/adaptor.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,1,null,null,1,1,1,1,1,1,1,1,1,1,1,1,1,1,null]},"covered_strength":1.0,"covered_lines":15,"lines_of_code":15},{"filename":"/home/circleci/project/app/models/api_client.rb","covered_percent":0.0,"coverage":{"lines":[0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":2},{"filename":"/home/circleci/project/app/models/application_record.rb","covered_percent":100.0,"coverage":{"lines":[1,1,null]},"covered_strength":1.0,"covered_lines":2,"lines_of_code":2},{"filename":"/home/circleci/project/app/models/article.rb","covered_percent":0.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,0,0,null,0,0,0,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":10},{"filename":"/home/circleci/project/app/models/brand.rb","covered_percent":87.5,"coverage":{"lines":[1,1,1,null,1,217,null,null,1,1,0,null,null]},"covered_strength":27.875,"covered_lines":7,"lines_of_code":8},{"filename":"/home/circleci/project/app/models/company.rb","covered_percent":96.55172413793103,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,null,1,1,1,1,1,1,1,1,1,null,1,1,null,1,1,1,1,null,1,null,431,null,1,1,null,null,1,0,null,null,1,null,1,269,25,null,null,null]},"covered_strength":25.862068965517242,"covered_lines":28,"lines_of_code":29},{"filename":"/home/circleci/project/app/models/concerns/catalistable.rb","covered_percent":75.0,"coverage":{"lines":[null,null,1,1,null,1,2,0,null,null,2,null,null,1,0,null,null]},"covered_strength":1.0,"covered_lines":6,"lines_of_code":8},{"filename":"/home/circleci/project/app/models/concerns/deleteable.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,null,1,1246,3,3,null,null,1,1483,null,null,1,2,2,null,null,1,null]},"covered_strength":228.75,"covered_lines":12,"lines_of_code":12},{"filename":"/home/circleci/project/app/models/concerns/identifiable.rb","covered_percent":90.9090909090909,"coverage":{"lines":[null,null,1,1,null,1,2,null,null,1,488,null,null,1,490,null,222,null,268,null,0,null,null,null]},"covered_strength":134.0909090909091,"covered_lines":10,"lines_of_code":11},{"filename":"/home/circleci/project/app/models/concerns/shared_scopes.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,1,1,null,1,1,null,null]},"covered_strength":1.0,"covered_lines":4,"lines_of_code":4},{"filename":"/home/circleci/project/app/models/concerns/stripable.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,null,1,1,null,null,1,null,1,39,null,null]},"covered_strength":6.428571428571429,"covered_lines":7,"lines_of_code":7},{"filename":"/home/circleci/project/app/models/concerns/suspendable.rb","covered_percent":0.0,"coverage":{"lines":[null,null,0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":15},{"filename":"/home/circleci/project/app/models/contract.rb","covered_percent":63.1578947368421,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,null,1,null,null,null,null,null,1,1,1,null,1,null,null,82,82,null,null,1,1,1,1,null,299,71,1,1,null,1,56,null,null,1,0,null,0,null,0,null,null,null,1,null,1,120,1,null,null,null,1,null,null,0,0,0,0,null,null,null,null,null,0,0,0,0,null,null,0,0,0,null,null,null]},"covered_strength":19.157894736842106,"covered_lines":24,"lines_of_code":38},{"filename":"/home/circleci/project/app/models/contract_parameter.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,1,null,1,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null]},"covered_strength":1.0,"covered_lines":4,"lines_of_code":4},{"filename":"/home/circleci/project/app/models/cost_price.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,null,1,null,1,1,1,null,1,null,1,1,1,1,82,null,1,53,25,null,null,null,null,null]},"covered_strength":12.214285714285714,"covered_lines":14,"lines_of_code":14},{"filename":"/home/circleci/project/app/models/dip.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null,1,1,1,1,1,1,1,1,null,1,1,1,null,1,1,1,1,1,1,1,1,null,1,1,1,null,1,null,1,13,null,null,null,null,null,1,13,null,2,2,2,null,null,1,null,null,null,null,1,null,null,null,null,null,null,1,13,1,null,null,null]},"covered_strength":2.054054054054054,"covered_lines":37,"lines_of_code":37},{"filename":"/home/circleci/project/app/models/dry_stock_category.rb","covered_percent":100.0,"coverage":{"lines":[1,2,null,1,null]},"covered_strength":1.3333333333333333,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/dry_stock_transaction.rb","covered_percent":91.66666666666667,"coverage":{"lines":[1,1,1,1,1,1,1,null,1,1,null,1,1,1,1,1,1,1,1,1,1,1,1,1,null,1,1,1,1,null,1,null,1,1,null,0,0,0,null,null,1,1,null,null,1,1,null,null]},"covered_strength":0.9166666666666666,"covered_lines":33,"lines_of_code":36},{"filename":"/home/circleci/project/app/models/fuel_component_type.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null]},"covered_strength":1.0,"covered_lines":2,"lines_of_code":2},{"filename":"/home/circleci/project/app/models/fuel_grade.rb","covered_percent":92.85714285714286,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,1,null,1,null,276,null,1,null,1,4,null,null,null,1,4,4,null,null,null,null,null,0,null,null,null]},"covered_strength":21.214285714285715,"covered_lines":13,"lines_of_code":14},{"filename":"/home/circleci/project/app/models/hygiene/article_rule.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/hygiene/card_payment_method_mapping.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/hygiene/company_mapping.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,1,null,1,1,null,null]},"covered_strength":1.0,"covered_lines":7,"lines_of_code":7},{"filename":"/home/circleci/project/app/models/hygiene/data.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,1,null,1,null,1,365,null,null,1,91,null,null,1,1,9,null,null,null,null,1,null,1,14,69,null,null,null,null]},"covered_strength":37.2,"covered_lines":15,"lines_of_code":15},{"filename":"/home/circleci/project/app/models/hygiene/dip_rule.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,null,32,32,20,null,null,null,null]},"covered_strength":12.571428571428571,"covered_lines":7,"lines_of_code":7},{"filename":"/home/circleci/project/app/models/hygiene/dry_stock_transaction_rule.rb","covered_percent":0.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,0,0,null,0,null,0,null,0,0,null,0,0,0,0,0,0,0,0,null,0,0,0,0,0,null,0,null,0,0,0,0,null,0,0,0,0,0,null,0,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":38},{"filename":"/home/circleci/project/app/models/hygiene/fuel_grade_mapping.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":6,"lines_of_code":6},{"filename":"/home/circleci/project/app/models/hygiene/list_price_rule.rb","covered_percent":45.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,5,5,null,5,null,null,null,null,null,1,0,0,null,0,null,null,null,null,0,null,null,null,0,0,null,null,null,1,0,0,0,0,0,null,null,null]},"covered_strength":1.05,"covered_lines":9,"lines_of_code":20},{"filename":"/home/circleci/project/app/models/hygiene/payment_method_mapping.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":6,"lines_of_code":6},{"filename":"/home/circleci/project/app/models/hygiene/platts_market_price_rule.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,5,null,null,1,null,null,1,null,null,2,null,1,null,5,null,null,1,null,null,1,1,1,1,1,null,null,null,null]},"covered_strength":1.5625,"covered_lines":16,"lines_of_code":16},{"filename":"/home/circleci/project/app/models/hygiene/pole_price_rule.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/hygiene/rule.rb","covered_percent":90.0,"coverage":{"lines":[null,null,1,1,1,null,1,null,91,null,1,null,1,129,129,null,64,null,null,1,152,null,null,null,null,1,null,1,322,263,null,null,263,null,null,8,null,null,null,8,8,null,12,null,11,null,232,null,0,0,null,null,null,1,192,192,192,192,192,null,null,1,204,null,null,1,191,null,null,1,192,null,180,null,180,11,null,169,null,null,null,1,2168,null,null,1,192,null,null,1,561,null,null,1,192,null,null,1,0,null,null,1,null,369,354,null,null,1,369,null,null,1,1992,null,null,1,152,134,null,null,1,216,209,35,9,null,null,null,1,352,null,178,null,17,null,34,null,22,null,null,null,1,119,0,null,null,1,0,0,null,0,0,null,null,null]},"covered_strength":143.4875,"covered_lines":72,"lines_of_code":80},{"filename":"/home/circleci/project/app/models/hygiene/station_mapping.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,null,1,1,null,null]},"covered_strength":1.0,"covered_lines":6,"lines_of_code":6},{"filename":"/home/circleci/project/app/models/hygiene/transaction_rule.rb","covered_percent":96.875,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,null,172,null,172,103,null,null,null,null,103,3,null,100,null,null,null,1,131,null,null,null,null,1,null,1,null,null,null,null,131,null,1,null,130,102,null,null,null,1,88,5,5,null,null,1,5,5,5,null,null,null,null,5,null,null,null,null,1,1,null,null,1,null,null,0,null,null,4,null,null,null]},"covered_strength":40.0625,"covered_lines":31,"lines_of_code":32},{"filename":"/home/circleci/project/app/models/hygiene/uniqueness_rule.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/job.rb","covered_percent":93.33333333333333,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,null,1,null,1,null,1,1,null,null,1,null,1,null,null,null,null,null,null,1,1,null,null,1,1,null,0,null,null]},"covered_strength":0.9333333333333333,"covered_lines":14,"lines_of_code":15},{"filename":"/home/circleci/project/app/models/job_error.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,null]},"covered_strength":1.0,"covered_lines":2,"lines_of_code":2},{"filename":"/home/circleci/project/app/models/list_price.rb","covered_percent":96.15384615384616,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,null,1,1,1,null,1,1,null,55,1,0,null,null,1,1,1,1,null,1,null,1,61,null,null,1,3,null,null,null,null,null,null,null,null,null,null,null,1,3,1,null,null,1,3,null,null,null,null]},"covered_strength":5.576923076923077,"covered_lines":25,"lines_of_code":26},{"filename":"/home/circleci/project/app/models/paper_trail/version.rb","covered_percent":100.0,"coverage":{"lines":[null,1,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":4,"lines_of_code":4},{"filename":"/home/circleci/project/app/models/payment_card_issuer_identification_number.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,40,3,null,259,37,null,null,null]},"covered_strength":56.833333333333336,"covered_lines":6,"lines_of_code":6},{"filename":"/home/circleci/project/app/models/payment_loyalty_method_contract.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,1,1,null,221,216,216,233,233,178,null,1,1,null,null,1,73,55,null,null,null,null,55,17,38,12,26,14,12,12,null,null,55,null,null,null,1,null,1,null,70,null,null,1,null,null]},"covered_strength":58.266666666666666,"covered_lines":30,"lines_of_code":30},{"filename":"/home/circleci/project/app/models/payment_method.rb","covered_percent":92.85714285714286,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,null,1,1,null,1,7,null,null,null,1,7,7,null,null,null,null,0,null,null,null,1,103,null,null]},"covered_strength":9.5,"covered_lines":13,"lines_of_code":14},{"filename":"/home/circleci/project/app/models/platts_market_price.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null,7,null,1,2,null,null,1,2,null,null]},"covered_strength":2.142857142857143,"covered_lines":7,"lines_of_code":7},{"filename":"/home/circleci/project/app/models/pole_price.rb","covered_percent":56.60377358490566,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null,1,1,1,1,null,1,null,1,null,1,1,1,null,1,null,1,1,7,null,1,0,null,null,null,1,0,null,null,null,null,1,1,0,0,0,0,0,null,0,null,null,null,null,null,null,null,null,1,7,7,7,7,7,null,7,null,null,null,null,null,null,null,null,null,null,null,null,null,1,0,null,0,null,null,0,null,null,null,1,2,null,null,1,0,0,0,0,0,0,null,0,0,0,0,0,null,0,null,null,null]},"covered_strength":1.3773584905660377,"covered_lines":30,"lines_of_code":53},{"filename":"/home/circleci/project/app/models/raw_data.rb","covered_percent":94.73684210526316,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,null,null,1,1,4,1,1,1,1,null,null,null,null,null,27,27,null,1,26,26,26,26,null,null,26,null,null,0,null]},"covered_strength":10.421052631578947,"covered_lines":18,"lines_of_code":19},{"filename":"/home/circleci/project/app/models/station.rb","covered_percent":73.10924369747899,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,null,1,1,1,1,null,1,1,1,1,1,1,1,1,1,1,138,1,1,1,1,1,1,1,1,1,1,1,1,1,1,null,1,null,1,1,1,1,1,null,1,1,1,null,1,1,1,null,491,1,1,1,1,0,null,1,3,1,null,1,0,null,null,null,null,null,null,null,null,null,null,1,0,null,null,1,1,1,null,1,null,1,0,null,null,1,0,null,null,1,0,null,null,null,1,0,null,null,null,1,0,null,null,1,0,null,null,1,0,null,null,1,0,0,0,0,null,null,1,0,0,null,null,1,null,1,0,null,0,null,0,null,0,null,0,0,0,null,null,0,null,null,1,25,null,null,1,513,513,513,null,null,1,247,null,null,1,247,null,null,1,494,24,null,null,null,1,24,0,0,0,null,null,1,0,0,null,0,0,null,null,null,1,0,null,null]},"covered_strength":27.789915966386555,"covered_lines":87,"lines_of_code":119},{"filename":"/home/circleci/project/app/models/supplier.rb","covered_percent":85.71428571428571,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,null,1,null,1,0,null,null]},"covered_strength":0.8571428571428571,"covered_lines":6,"lines_of_code":7},{"filename":"/home/circleci/project/app/models/tank.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null,1,1,1,null,1,1,1,1,1,1,1,null,1,84,1,null,1,1,1,null,1,null,1,83,null,83,4,4,null,null,83,null,null]},"covered_strength":14.4,"covered_lines":25,"lines_of_code":25},{"filename":"/home/circleci/project/app/models/tank_version.rb","covered_percent":100.0,"coverage":{"lines":[null,1,1,1,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/tank_volume.rb","covered_percent":80.76923076923077,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,null,1,1,1,1,null,1,null,1,null,1,1,1,1,1,1,1,null,1,0,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,null,null,null,null,null,null,null,null,null,1,0,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,null,null,null,null,null,null,null,null,1,null,1,0,null,null]},"covered_strength":0.8076923076923077,"covered_lines":21,"lines_of_code":26},{"filename":"/home/circleci/project/app/models/transaction.rb","covered_percent":96.29629629629629,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null,1,1,null,1,1,1,1,1,1,1,1,1,null,null,1,1,null,1,1,1,1,1,1,1,4,1,1,1,4,1,1,1,1,1,null,150,null,1,1,1,null,null,1,null,1,0,null,null,1,0,null,null,1,null,1,71,null,null,1,null,null,null,null,1,null,null,null,null,null,null,1,75,1,null,null,null,null,null,null,1,75,null,2,2,2,null,null]},"covered_strength":7.925925925925926,"covered_lines":52,"lines_of_code":54},{"filename":"/home/circleci/project/app/models/vat.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,null,1,4,3,null,null,null,null,null,null,null,3,3,3,null,3,null,null,null,1,82,82,82,null,null]},"covered_strength":20.692307692307693,"covered_lines":13,"lines_of_code":13},{"filename":"/home/circleci/project/app/services/backend/cost_price_service.rb","covered_percent":98.57142857142857,"coverage":{"lines":[null,null,1,1,1,null,1,30,30,null,null,1,29,28,null,null,1,null,1,null,28,27,null,27,null,25,null,3,3,null,20,20,null,2,null,null,null,null,2,null,null,null,1,1,null,null,null,1,1,null,null,27,27,null,null,1,28,3,null,25,null,27,null,null,1,4,4,null,null,1,2,null,null,1,54,54,null,null,null,null,null,null,0,null,null,null,1,6,null,null,1,107,null,null,1,48,null,null,1,86,null,null,1,29,28,28,28,null,null,1,19,20,4,4,null,null,null,null,19,null,null,1,80,null,null,1,81,null,null,1,3,null,null,1,1,null,null,1,2,null,null,null]},"covered_strength":16.4,"covered_lines":69,"lines_of_code":70},{"filename":"/home/circleci/project/app/services/backend/payment_loyalty_method_contract_service.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,null,1,88,88,88,88,88,null,null,1,88,null,null,1,null,1,88,null,null,1,83,null,null,1,81,null,null,1,76,null,null,1,177,null,null,null,null,177,177,177,null,177,null,null]},"covered_strength":70.04,"covered_lines":25,"lines_of_code":25},{"filename":"/home/circleci/project/app/services/backend/payment_method_service.rb","covered_percent":92.3913043478261,"coverage":{"lines":[null,null,1,1,null,1,null,1,101,101,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,50,50,50,null,null,50,null,null,null,50,null,50,50,50,76,76,null,null,null,76,76,76,null,null,76,null,null,76,null,null,76,null,null,36,null,null,null,36,24,24,24,null,null,24,0,0,null,null,0,null,0,null,null,null,null,24,null,null,null,null,24,null,null,null,24,0,null,null,null,24,2,2,null,null,null,null,null,null,76,null,null,null,76,null,null,null,null,76,76,76,4,null,null,null,null,76,null,null,null,76,null,76,null,null,null,null,null,1,null,26,null,26,null,20,null,13,null,null,13,null,32,null,null,66,66,null,null,null,32,32,null,42,null,null,32,null,null,null,10,null,null,1,null,null,1,1296,null,null,1,16,16,16,null,null,16,null,15,null,null,16,null,null,null,1,0,0,null,null,null,null,1,76,null,null,1,80,null,null,80,null,null,15,null,null,15,null,15,null,null,1,15,15,5,null,10,null,null,null,1,82,null,91,null,null]},"covered_strength":47.869565217391305,"covered_lines":85,"lines_of_code":92},{"filename":"/home/circleci/project/app/services/backend/populate_base_service.rb","covered_percent":98.36065573770492,"coverage":{"lines":[null,null,1,1,104,null,104,null,null,98,383,null,268,74,74,74,74,null,20,20,20,20,20,20,null,null,94,null,94,null,null,null,null,1,null,1,null,1,107,null,null,1,104,104,104,null,null,1,94,86,null,null,1,94,92,null,null,1,13,7,null,null,1,13,13,null,null,1,82,72,null,null,null,1,94,77,null,null,1,null,330,null,null,null,null,null,null,null,null,null,1,2240,null,null,1,752,null,null,1,0,null,null,1,10,10,10,10,10,10,null,10,null,null,null,null]},"covered_strength":100.42622950819673,"covered_lines":60,"lines_of_code":61},{"filename":"/home/circleci/project/app/services/backend/populate_full_dry_stock_transaction_service.rb","covered_percent":93.33333333333333,"coverage":{"lines":[null,null,1,1,null,1,7,7,null,null,1,7,7,null,null,1,12,5,null,null,1,null,46,null,null,null,null,null,null,null,null,null,1,0,null,null]},"covered_strength":6.533333333333333,"covered_lines":14,"lines_of_code":15},{"filename":"/home/circleci/project/app/services/backend/populate_full_transaction_service.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,null]},"covered_strength":1.0,"covered_lines":1,"lines_of_code":1},{"filename":"/home/circleci/project/app/services/backend/time_stamp_service.rb","covered_percent":76.0,"coverage":{"lines":[null,null,1,1,null,1,16,null,null,1,null,null,null,16,null,13,null,13,9,4,1,null,1,null,0,null,null,null,3,null,2,null,null,null,13,null,null,1,null,1,0,null,0,0,0,0,null,null,1,5,null,null]},"covered_strength":4.12,"covered_lines":19,"lines_of_code":25},{"filename":"/home/circleci/project/app/services/ingestion/catalist/process_raw_pole_price.rb","covered_percent":92.85714285714286,"coverage":{"lines":[null,null,1,1,10,null,10,10,10,null,0,null,null,null,1,104,null,null,1,null,1,1,null,null,1,2,null,null,1,10,1,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,1,1,1,1,10,null,null,null,null,null,null,null,null,null,null,null,1,0,null,null]},"covered_strength":6.571428571428571,"covered_lines":26,"lines_of_code":28},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_article.rb","covered_percent":0.0,"coverage":{"lines":[null,null,0,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":8},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_data.rb","covered_percent":89.65517241379311,"coverage":{"lines":[null,null,1,1,null,1,null,1,84,84,null,84,null,null,84,null,null,1,422,null,null,null,57,null,null,null,1,264,null,null,1,0,null,null,1,0,null,null,1,null,1,187,null,null,1,417,null,null,1,86,null,null,58,null,null,1,157,292,292,null,null,null,1,376,null,null,1,236,236,null,236,236,null,null,1,84,84,0,0,null,0,0,null,null,null,null,1,1,null,1,73,73,null,null,1,1002,null,null,1,null,1,124,124,null,124,124,124,124,null,null,null]},"covered_strength":102.93103448275862,"covered_lines":52,"lines_of_code":58},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_dip.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,null,1,49,null,null,1,7,null,null,1,14,null,null,1,6,null,null,1,32,6,6,6,6,null,26,null,null,null,1,null,1,null,1,6,null,null,1,null,1,34,34,null,32,32,32,32,null,null,null,null,null]},"covered_strength":13.25,"covered_lines":28,"lines_of_code":28},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_list_price.rb","covered_percent":96.29629629629629,"coverage":{"lines":[null,null,1,1,null,1,12,null,12,null,null,1,126,null,null,1,0,null,null,1,26,null,null,1,104,null,null,null,null,12,null,null,null,1,null,1,1,null,1,12,12,null,null,1,null,1,null,54,null,null,null,1,24,null,null,1,null,12,null,null,null,null,null]},"covered_strength":15.592592592592593,"covered_lines":26,"lines_of_code":27},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_list_prices.rb","covered_percent":87.09677419354838,"coverage":{"lines":[null,null,1,1,null,1,null,1,5,5,null,null,1,5,null,1,null,null,9,null,null,null,1,null,1,6,6,null,null,1,5,null,null,1,10,null,null,1,20,null,null,null,null,null,1,9,5,5,5,0,0,null,5,null,null,null,null,1,0,0,null,null]},"covered_strength":3.6451612903225805,"covered_lines":27,"lines_of_code":31},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_market_price.rb","covered_percent":0.0,"coverage":{"lines":[null,0,null,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":8},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_pole_price.rb","covered_percent":96.0,"coverage":{"lines":[null,null,1,1,0,null,null,1,30,null,null,1,156,null,null,15,3,null,null,15,null,null,null,1,null,1,null,75,null,66,null,null,null,1,null,null,null,null,15,null,null,null,3,null,null,1,27,null,null,null,null,null,null,null,null,null,null,1,3,null,null,null,null,null,null,null,null,null,null,1,30,null,null,1,null,15,null,null,null,null,null,null]},"covered_strength":18.56,"covered_lines":24,"lines_of_code":25},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_transaction.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,238,null,null,1,50,null,null,1,102,null,null,1,152,null,null,1,51,null,null,1,10,null,null,1,131,11,11,11,11,120,10,10,10,10,110,20,20,null,null,null,null,20,20,null,90,null,null,null,1,null,1,1,null,1,40,40,null,null,1,null,1,162,162,11,null,151,120,null,120,120,120,null,null,null,120,null,null,null,null]},"covered_strength":51.02127659574468,"covered_lines":47,"lines_of_code":47},{"filename":"/home/circleci/project/app/workers/hygiene_worker.rb","covered_percent":65.21739130434783,"coverage":{"lines":[null,null,1,1,null,1,1,null,1,null,1,null,1,4,2,2,null,8,null,null,null,null,null,1,2,2,null,2,2,null,null,null,2,null,null,0,0,null,0,null,null,0,0,0,null,2,2,2,2,0,null,null,null,null,null,1,2,null,null,null,null,null,1,0,null,null,1,null,1,2,null,0,null,1,null,0,null,0,null,0,null,0,null,1,null,null,null,1,0,0,null,0,null,null,null]},"covered_strength":1.1521739130434783,"covered_lines":30,"lines_of_code":46},{"filename":"/home/circleci/project/lib/hygiene-service/sidekiq.rb","covered_percent":57.89473684210526,"coverage":{"lines":[null,null,1,1,1,1,1,1,2,null,null,null,null,null,null,null,null,null,null,null,2,null,1,null,null,null,null,0,null,null,1,null,null,null,null,null,null,null,1,null,null,1,1,null,2,null,null,1,null,1,1,null,null,1,2,null,null,null,1,1,null,1,null,0,null,0,null,null,0,0,0,null,null,0,0,0,0,null,null,0,0,0,0,null,null,0,null,null,0,null,null,null,null,null,null,null,null]},"covered_strength":0.6842105263157895,"covered_lines":22,"lines_of_code":38},{"filename":"/home/circleci/project/lib/tasks/generate_api_key.rake","covered_percent":22.22222222222222,"coverage":{"lines":[1,1,0,0,0,0,0,0,0,null]},"covered_strength":0.2222222222222222,"covered_lines":2,"lines_of_code":9}],"metrics":{"covered_percent":79.16421424367275,"covered_strength":29.898175397292526,"covered_lines":1345,"total_lines":1699}}
@@ -0,0 +1,7 @@
1
+ [ {
2
+ "path" : "coverage/coverage.json",
3
+ "pretty_path" : "coverage/coverage.json",
4
+ "node_index" : 0,
5
+ "url" : "https://master.circle-artifacts.com/0/coverage/coverage.json"
6
+ } ]
7
+
@@ -0,0 +1 @@
1
+ {"timestamp":1591012418,"command_name":"RSpec","files":[{"filename":"/home/circleci/project/app/consumers/raw_data_consumer.rb","covered_percent":66.66666666666667,"coverage":{"lines":[1,1,0,null,null]},"covered_strength":0.6666666666666666,"covered_lines":2,"lines_of_code":3},{"filename":"/home/circleci/project/app/controllers/api.rb","covered_percent":100.0,"coverage":{"lines":[1,null]},"covered_strength":1.0,"covered_lines":1,"lines_of_code":1},{"filename":"/home/circleci/project/app/controllers/api/api_controller.rb","covered_percent":68.42105263157895,"coverage":{"lines":[1,1,null,null,null,null,null,null,null,null,1,0,null,null,1,0,null,null,1,4,null,null,1,0,null,null,1,0,null,0,null,null,1,null,1,6,null,null,1,null,1,0,null,null,null,null]},"covered_strength":1.105263157894737,"covered_lines":13,"lines_of_code":19},{"filename":"/home/circleci/project/app/controllers/api/v1.rb","covered_percent":100.0,"coverage":{"lines":[1,null]},"covered_strength":1.0,"covered_lines":1,"lines_of_code":1},{"filename":"/home/circleci/project/app/controllers/api/v1/hygiene_service_controller.rb","covered_percent":100.0,"coverage":{"lines":[1,1,1,null,1,1,null,null,1,2,1,null,1,null,null,null,1,2,1,null,1,null,null,null,1,3,1,null,1,null,null,1,null,null,1,3,1,null,1,null,null,1,null,null,1,null,1,1,1,null,null,1,18,14,null,null,1,7,null,null,1,7,null,null]},"covered_strength":2.411764705882353,"covered_lines":34,"lines_of_code":34},{"filename":"/home/circleci/project/app/controllers/application_controller.rb","covered_percent":0.0,"coverage":{"lines":[0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":2},{"filename":"/home/circleci/project/app/decorators/application_decorator.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/decorators/contract_decorator.rb","covered_percent":0.0,"coverage":{"lines":[0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":18},{"filename":"/home/circleci/project/app/decorators/list_price_decorator.rb","covered_percent":0.0,"coverage":{"lines":[0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":18},{"filename":"/home/circleci/project/app/decorators/pagination_decorator.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,1,1,null]},"covered_strength":1.0,"covered_lines":4,"lines_of_code":4},{"filename":"/home/circleci/project/app/decorators/station_decorator.rb","covered_percent":72.22222222222223,"coverage":{"lines":[null,null,1,1,1,1,null,1,2,null,null,1,1,null,null,1,0,null,null,1,0,null,null,1,0,null,null,1,0,null,null,1,0,null,null]},"covered_strength":0.7777777777777778,"covered_lines":13,"lines_of_code":18},{"filename":"/home/circleci/project/app/helpers/application_helper.rb","covered_percent":100.0,"coverage":{"lines":[1,null]},"covered_strength":1.0,"covered_lines":1,"lines_of_code":1},{"filename":"/home/circleci/project/app/helpers/tests_helper.rb","covered_percent":100.0,"coverage":{"lines":[1,null]},"covered_strength":1.0,"covered_lines":1,"lines_of_code":1},{"filename":"/home/circleci/project/app/mailers/application_mailer.rb","covered_percent":0.0,"coverage":{"lines":[0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":4},{"filename":"/home/circleci/project/app/models/adaptor.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,1,null,null,1,1,1,1,1,1,1,1,1,1,1,1,1,1,null]},"covered_strength":1.0,"covered_lines":15,"lines_of_code":15},{"filename":"/home/circleci/project/app/models/api_client.rb","covered_percent":0.0,"coverage":{"lines":[0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":2},{"filename":"/home/circleci/project/app/models/application_record.rb","covered_percent":100.0,"coverage":{"lines":[1,1,null]},"covered_strength":1.0,"covered_lines":2,"lines_of_code":2},{"filename":"/home/circleci/project/app/models/article.rb","covered_percent":0.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,0,0,null,0,0,0,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":10},{"filename":"/home/circleci/project/app/models/brand.rb","covered_percent":87.5,"coverage":{"lines":[1,1,1,null,1,231,null,null,1,1,0,null,null]},"covered_strength":29.625,"covered_lines":7,"lines_of_code":8},{"filename":"/home/circleci/project/app/models/company.rb","covered_percent":96.55172413793103,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,null,1,1,1,1,1,1,1,1,1,null,1,1,null,1,1,1,1,null,1,null,457,null,1,1,null,null,1,0,null,null,1,null,1,287,25,null,null,null]},"covered_strength":27.379310344827587,"covered_lines":28,"lines_of_code":29},{"filename":"/home/circleci/project/app/models/concerns/catalistable.rb","covered_percent":75.0,"coverage":{"lines":[null,null,1,1,null,1,2,0,null,null,2,null,null,1,0,null,null]},"covered_strength":1.0,"covered_lines":6,"lines_of_code":8},{"filename":"/home/circleci/project/app/models/concerns/deleteable.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,null,1,1322,3,3,null,null,1,1599,null,null,1,2,2,null,null,1,null]},"covered_strength":244.75,"covered_lines":12,"lines_of_code":12},{"filename":"/home/circleci/project/app/models/concerns/identifiable.rb","covered_percent":90.9090909090909,"coverage":{"lines":[null,null,1,1,null,1,2,null,null,1,520,null,null,1,522,null,236,null,286,null,0,null,null,null]},"covered_strength":142.8181818181818,"covered_lines":10,"lines_of_code":11},{"filename":"/home/circleci/project/app/models/concerns/shared_scopes.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,1,1,null,1,1,null,null]},"covered_strength":1.0,"covered_lines":4,"lines_of_code":4},{"filename":"/home/circleci/project/app/models/concerns/stripable.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,null,1,1,null,null,1,null,1,39,null,null]},"covered_strength":6.428571428571429,"covered_lines":7,"lines_of_code":7},{"filename":"/home/circleci/project/app/models/concerns/suspendable.rb","covered_percent":0.0,"coverage":{"lines":[null,null,0,0,null,0,0,0,null,0,0,0,null,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":15},{"filename":"/home/circleci/project/app/models/contract.rb","covered_percent":63.1578947368421,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,null,1,null,null,null,null,null,1,1,1,null,1,null,null,82,82,null,null,1,1,1,1,null,299,71,1,1,null,1,56,null,null,1,0,null,0,null,0,null,null,null,1,null,1,120,1,null,null,null,1,null,null,0,0,0,0,null,null,null,null,null,0,0,0,0,null,null,0,0,0,null,null,null]},"covered_strength":19.157894736842106,"covered_lines":24,"lines_of_code":38},{"filename":"/home/circleci/project/app/models/contract_parameter.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,1,null,1,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null]},"covered_strength":1.0,"covered_lines":4,"lines_of_code":4},{"filename":"/home/circleci/project/app/models/cost_price.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,null,1,null,1,1,1,null,1,null,1,1,1,1,82,null,1,53,25,null,null,null,null,null]},"covered_strength":12.214285714285714,"covered_lines":14,"lines_of_code":14},{"filename":"/home/circleci/project/app/models/dip.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null,1,1,1,1,1,1,1,1,null,1,1,1,null,1,1,1,1,1,1,1,1,null,1,1,1,null,1,null,1,16,null,null,null,null,null,1,16,null,2,2,2,null,null,1,null,null,null,null,1,null,null,null,null,null,null,1,18,1,null,null,null]},"covered_strength":2.3513513513513513,"covered_lines":37,"lines_of_code":37},{"filename":"/home/circleci/project/app/models/dry_stock_category.rb","covered_percent":100.0,"coverage":{"lines":[1,2,null,1,null]},"covered_strength":1.3333333333333333,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/dry_stock_transaction.rb","covered_percent":91.66666666666667,"coverage":{"lines":[1,1,1,1,1,1,1,null,1,1,null,1,1,1,1,1,1,1,1,1,1,1,1,1,null,1,1,1,1,null,1,null,1,1,null,0,0,0,null,null,1,1,null,null,1,1,null,null]},"covered_strength":0.9166666666666666,"covered_lines":33,"lines_of_code":36},{"filename":"/home/circleci/project/app/models/fuel_component_type.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null]},"covered_strength":1.0,"covered_lines":2,"lines_of_code":2},{"filename":"/home/circleci/project/app/models/fuel_grade.rb","covered_percent":92.85714285714286,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,1,null,1,null,285,null,1,null,1,4,null,null,null,1,4,4,null,null,null,null,null,0,null,null,null]},"covered_strength":21.857142857142858,"covered_lines":13,"lines_of_code":14},{"filename":"/home/circleci/project/app/models/hygiene/article_rule.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/hygiene/card_payment_method_mapping.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/hygiene/company_mapping.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,1,null,1,1,null,null]},"covered_strength":1.0,"covered_lines":7,"lines_of_code":7},{"filename":"/home/circleci/project/app/models/hygiene/data.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,1,null,1,null,1,385,null,null,1,91,null,null,1,1,9,null,null,null,null,1,null,1,14,69,null,null,null,null]},"covered_strength":38.53333333333333,"covered_lines":15,"lines_of_code":15},{"filename":"/home/circleci/project/app/models/hygiene/dip_rule.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,null,32,32,20,null,null,null,null]},"covered_strength":12.571428571428571,"covered_lines":7,"lines_of_code":7},{"filename":"/home/circleci/project/app/models/hygiene/dry_stock_transaction_rule.rb","covered_percent":0.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,0,0,null,0,null,0,null,0,0,null,0,0,0,0,0,0,0,0,null,0,0,0,0,0,null,0,null,0,0,0,0,null,0,0,0,0,0,null,0,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":38},{"filename":"/home/circleci/project/app/models/hygiene/fuel_grade_mapping.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":6,"lines_of_code":6},{"filename":"/home/circleci/project/app/models/hygiene/list_price_rule.rb","covered_percent":45.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,5,5,null,5,null,null,null,null,null,1,0,0,null,0,null,null,null,null,0,null,null,null,0,0,null,null,null,1,0,0,0,0,0,null,null,null]},"covered_strength":1.05,"covered_lines":9,"lines_of_code":20},{"filename":"/home/circleci/project/app/models/hygiene/payment_method_mapping.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":6,"lines_of_code":6},{"filename":"/home/circleci/project/app/models/hygiene/platts_market_price_rule.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,5,null,null,1,null,null,1,null,null,2,null,1,null,5,null,null,1,null,null,1,1,1,1,1,null,null,null,null]},"covered_strength":1.5625,"covered_lines":16,"lines_of_code":16},{"filename":"/home/circleci/project/app/models/hygiene/pole_price_rule.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/hygiene/rule.rb","covered_percent":90.0,"coverage":{"lines":[null,null,1,1,1,null,1,null,91,null,1,null,1,129,129,null,64,null,null,1,152,null,null,null,null,1,null,1,322,263,null,null,263,null,null,8,null,null,null,8,8,null,12,null,11,null,232,null,0,0,null,null,null,1,192,192,192,192,192,null,null,1,204,null,null,1,191,null,null,1,192,null,180,null,180,11,null,169,null,null,null,1,2168,null,null,1,192,null,null,1,561,null,null,1,192,null,null,1,0,null,null,1,null,369,354,null,null,1,369,null,null,1,1992,null,null,1,152,134,null,null,1,216,209,35,9,null,null,null,1,352,null,178,null,17,null,34,null,22,null,null,null,1,119,0,null,null,1,0,0,null,0,0,null,null,null]},"covered_strength":143.4875,"covered_lines":72,"lines_of_code":80},{"filename":"/home/circleci/project/app/models/hygiene/station_mapping.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,null,1,1,null,null]},"covered_strength":1.0,"covered_lines":6,"lines_of_code":6},{"filename":"/home/circleci/project/app/models/hygiene/transaction_rule.rb","covered_percent":96.875,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,null,172,null,172,103,null,null,null,null,103,3,null,100,null,null,null,1,131,null,null,null,null,1,null,1,null,null,null,null,131,null,1,null,130,102,null,null,null,1,88,5,5,null,null,1,5,5,5,null,null,null,null,5,null,null,null,null,1,1,null,null,1,null,null,0,null,null,4,null,null,null]},"covered_strength":40.0625,"covered_lines":31,"lines_of_code":32},{"filename":"/home/circleci/project/app/models/hygiene/uniqueness_rule.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/job.rb","covered_percent":93.33333333333333,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,null,1,null,1,null,1,1,null,null,1,null,1,null,null,null,null,null,null,1,1,null,null,1,1,null,0,null,null]},"covered_strength":0.9333333333333333,"covered_lines":14,"lines_of_code":15},{"filename":"/home/circleci/project/app/models/job_error.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,null]},"covered_strength":1.0,"covered_lines":2,"lines_of_code":2},{"filename":"/home/circleci/project/app/models/list_price.rb","covered_percent":96.15384615384616,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,null,1,1,1,null,1,1,null,55,1,0,null,null,1,1,1,1,null,1,null,1,61,null,null,1,3,null,null,null,null,null,null,null,null,null,null,null,1,3,1,null,null,1,3,null,null,null,null]},"covered_strength":5.576923076923077,"covered_lines":25,"lines_of_code":26},{"filename":"/home/circleci/project/app/models/paper_trail/version.rb","covered_percent":100.0,"coverage":{"lines":[null,1,1,1,1,null,null]},"covered_strength":1.0,"covered_lines":4,"lines_of_code":4},{"filename":"/home/circleci/project/app/models/payment_card_issuer_identification_number.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,40,3,null,259,37,null,null,null]},"covered_strength":56.833333333333336,"covered_lines":6,"lines_of_code":6},{"filename":"/home/circleci/project/app/models/payment_loyalty_method_contract.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,1,1,null,221,216,216,233,233,178,null,1,1,null,null,1,73,55,null,null,null,null,55,17,38,12,26,14,12,12,null,null,55,null,null,null,1,null,1,null,70,null,null,1,null,null]},"covered_strength":58.266666666666666,"covered_lines":30,"lines_of_code":30},{"filename":"/home/circleci/project/app/models/payment_method.rb","covered_percent":92.85714285714286,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,null,1,1,null,1,7,null,null,null,1,7,7,null,null,null,null,0,null,null,null,1,108,null,null]},"covered_strength":9.857142857142858,"covered_lines":13,"lines_of_code":14},{"filename":"/home/circleci/project/app/models/platts_market_price.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null,7,null,1,2,null,null,1,2,null,null]},"covered_strength":2.142857142857143,"covered_lines":7,"lines_of_code":7},{"filename":"/home/circleci/project/app/models/pole_price.rb","covered_percent":56.60377358490566,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null,1,1,1,1,null,1,null,1,null,1,1,1,null,1,null,1,1,7,null,1,0,null,null,null,1,0,null,null,null,null,1,1,0,0,0,0,0,null,0,null,null,null,null,null,null,null,null,1,7,7,7,7,7,null,7,null,null,null,null,null,null,null,null,null,null,null,null,null,1,0,null,0,null,null,0,null,null,null,1,2,null,null,1,0,0,0,0,0,0,null,0,0,0,0,0,null,0,null,null,null]},"covered_strength":1.3773584905660377,"covered_lines":30,"lines_of_code":53},{"filename":"/home/circleci/project/app/models/raw_data.rb","covered_percent":94.73684210526316,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,null,null,null,1,1,4,1,1,1,1,null,null,null,null,null,27,27,null,1,26,26,26,26,null,null,26,null,null,0,null]},"covered_strength":10.421052631578947,"covered_lines":18,"lines_of_code":19},{"filename":"/home/circleci/project/app/models/station.rb","covered_percent":73.10924369747899,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,null,1,1,1,1,null,1,1,1,1,1,1,1,1,1,1,138,1,1,1,1,1,1,1,1,1,1,1,1,1,1,null,1,null,1,1,1,1,1,null,1,1,1,null,1,1,1,null,509,1,1,1,1,0,null,1,3,1,null,1,0,null,null,null,null,null,null,null,null,null,null,1,0,null,null,1,1,1,null,1,null,1,0,null,null,1,0,null,null,1,0,null,null,null,1,0,null,null,null,1,0,null,null,1,0,null,null,1,0,null,null,1,0,0,0,0,null,null,1,0,0,null,null,1,null,1,0,null,0,null,0,null,0,null,0,0,0,null,null,0,null,null,1,25,null,null,1,541,541,541,null,null,1,261,null,null,1,261,null,null,1,522,24,null,null,null,1,24,0,0,0,null,null,1,0,0,null,0,0,null,null,null,1,0,null,null]},"covered_strength":29.11764705882353,"covered_lines":87,"lines_of_code":119},{"filename":"/home/circleci/project/app/models/supplier.rb","covered_percent":85.71428571428571,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,1,1,1,null,1,null,1,null,1,0,null,null]},"covered_strength":0.8571428571428571,"covered_lines":6,"lines_of_code":7},{"filename":"/home/circleci/project/app/models/tank.rb","covered_percent":100.0,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null,1,1,1,null,1,1,1,1,1,1,1,null,1,94,1,null,1,1,1,null,1,null,1,93,null,93,4,4,null,null,93,null,null]},"covered_strength":16.0,"covered_lines":25,"lines_of_code":25},{"filename":"/home/circleci/project/app/models/tank_version.rb","covered_percent":100.0,"coverage":{"lines":[null,1,1,1,null]},"covered_strength":1.0,"covered_lines":3,"lines_of_code":3},{"filename":"/home/circleci/project/app/models/tank_volume.rb","covered_percent":80.76923076923077,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,null,1,1,1,1,null,1,null,5,null,1,1,1,1,1,1,1,null,1,0,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,null,null,null,null,null,null,null,null,null,1,0,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,null,null,null,null,null,null,null,null,1,null,1,0,null,null]},"covered_strength":0.9615384615384616,"covered_lines":21,"lines_of_code":26},{"filename":"/home/circleci/project/app/models/transaction.rb","covered_percent":96.29629629629629,"coverage":{"lines":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,null,1,1,null,1,1,1,1,1,1,1,1,1,null,null,1,1,null,1,1,1,1,1,1,1,4,1,1,1,4,1,1,1,1,1,null,158,null,1,1,1,null,null,1,null,1,0,null,null,1,0,null,null,1,null,1,76,null,null,1,null,null,null,null,1,null,null,null,null,null,null,1,80,1,null,null,null,null,null,null,1,78,null,2,2,2,null,null]},"covered_strength":8.314814814814815,"covered_lines":52,"lines_of_code":54},{"filename":"/home/circleci/project/app/models/vat.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,null,1,4,3,null,null,null,null,null,null,null,3,3,3,null,3,null,null,null,1,85,85,85,null,null]},"covered_strength":21.384615384615383,"covered_lines":13,"lines_of_code":13},{"filename":"/home/circleci/project/app/services/backend/cost_price_service.rb","covered_percent":98.57142857142857,"coverage":{"lines":[null,null,1,1,1,null,1,30,30,null,null,1,29,28,null,null,1,null,1,null,28,27,null,27,null,25,null,3,3,null,20,20,null,2,null,null,null,null,2,null,null,null,1,1,null,null,null,1,1,null,null,27,27,null,null,1,28,3,null,25,null,27,null,null,1,4,4,null,null,1,2,null,null,1,54,54,null,null,null,null,null,null,0,null,null,null,1,6,null,null,1,107,null,null,1,48,null,null,1,86,null,null,1,29,28,28,28,null,null,1,19,20,4,4,null,null,null,null,19,null,null,1,80,null,null,1,81,null,null,1,3,null,null,1,1,null,null,1,2,null,null,null]},"covered_strength":16.4,"covered_lines":69,"lines_of_code":70},{"filename":"/home/circleci/project/app/services/backend/payment_loyalty_method_contract_service.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,null,1,88,88,88,88,88,null,null,1,88,null,null,1,null,1,88,null,null,1,83,null,null,1,81,null,null,1,76,null,null,1,177,null,null,null,null,177,177,177,null,177,null,null]},"covered_strength":70.04,"covered_lines":25,"lines_of_code":25},{"filename":"/home/circleci/project/app/services/backend/payment_method_service.rb","covered_percent":92.3913043478261,"coverage":{"lines":[null,null,1,1,null,1,null,1,101,101,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,50,50,50,null,null,50,null,null,null,50,null,50,50,50,76,76,null,null,null,76,76,76,null,null,76,null,null,76,null,null,76,null,null,36,null,null,null,36,24,24,24,null,null,24,0,0,null,null,0,null,0,null,null,null,null,24,null,null,null,null,24,null,null,null,24,0,null,null,null,24,2,2,null,null,null,null,null,null,76,null,null,null,76,null,null,null,null,76,76,76,4,null,null,null,null,76,null,null,null,76,null,76,null,null,null,null,null,1,null,26,null,26,null,20,null,13,null,null,13,null,32,null,null,66,66,null,null,null,32,32,null,42,null,null,32,null,null,null,10,null,null,1,null,null,1,1296,null,null,1,16,16,16,null,null,16,null,15,null,null,16,null,null,null,1,0,0,null,null,null,null,1,76,null,null,1,80,null,null,80,null,null,15,null,null,15,null,15,null,null,1,15,15,5,null,10,null,null,null,1,82,null,91,null,null]},"covered_strength":47.869565217391305,"covered_lines":85,"lines_of_code":92},{"filename":"/home/circleci/project/app/services/backend/populate_base_service.rb","covered_percent":98.36065573770492,"coverage":{"lines":[null,null,1,1,109,null,109,null,null,103,407,null,283,79,79,79,79,null,20,20,20,20,20,20,null,null,99,null,99,null,null,null,null,1,null,1,null,1,112,null,null,1,109,109,109,null,null,1,99,89,null,null,1,99,95,null,null,1,13,7,null,null,1,13,13,null,null,1,87,75,null,null,null,1,99,80,null,null,1,null,350,null,null,null,null,null,null,null,null,null,1,2360,null,null,1,792,null,null,1,0,null,null,1,10,10,10,10,10,10,null,10,null,null,null,null]},"covered_strength":105.60655737704919,"covered_lines":60,"lines_of_code":61},{"filename":"/home/circleci/project/app/services/backend/populate_full_dry_stock_transaction_service.rb","covered_percent":93.33333333333333,"coverage":{"lines":[null,null,1,1,null,1,7,7,null,null,1,7,7,null,null,1,12,5,null,null,1,null,46,null,null,null,null,null,null,null,null,null,1,0,null,null]},"covered_strength":6.533333333333333,"covered_lines":14,"lines_of_code":15},{"filename":"/home/circleci/project/app/services/backend/populate_full_transaction_service.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,null]},"covered_strength":1.0,"covered_lines":1,"lines_of_code":1},{"filename":"/home/circleci/project/app/services/backend/time_stamp_service.rb","covered_percent":76.0,"coverage":{"lines":[null,null,1,1,null,1,16,null,null,1,null,null,null,16,null,13,null,13,9,4,1,null,1,null,0,null,null,null,3,null,2,null,null,null,13,null,null,1,null,1,0,null,0,0,0,0,null,null,1,5,null,null]},"covered_strength":4.12,"covered_lines":19,"lines_of_code":25},{"filename":"/home/circleci/project/app/services/ingestion/catalist/process_raw_pole_price.rb","covered_percent":92.85714285714286,"coverage":{"lines":[null,null,1,1,10,null,10,10,10,null,0,null,null,null,1,104,null,null,1,null,1,1,null,null,1,2,null,null,1,10,1,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,1,1,1,1,10,null,null,null,null,null,null,null,null,null,null,null,1,0,null,null]},"covered_strength":6.571428571428571,"covered_lines":26,"lines_of_code":28},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_article.rb","covered_percent":0.0,"coverage":{"lines":[null,null,0,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":8},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_data.rb","covered_percent":89.65517241379311,"coverage":{"lines":[null,null,1,1,null,1,null,1,84,84,null,84,null,null,84,null,null,1,422,null,null,null,57,null,null,null,1,264,null,null,1,0,null,null,1,0,null,null,1,null,1,187,null,null,1,417,null,null,1,86,null,null,58,null,null,1,157,292,292,null,null,null,1,376,null,null,1,236,236,null,236,236,null,null,1,84,84,0,0,null,0,0,null,null,null,null,1,1,null,1,73,73,null,null,1,1002,null,null,1,null,1,124,124,null,124,124,124,124,null,null,null]},"covered_strength":102.93103448275862,"covered_lines":52,"lines_of_code":58},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_dip.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,null,1,49,null,null,1,7,null,null,1,14,null,null,1,6,null,null,1,32,6,6,6,6,null,26,null,null,null,1,null,1,null,1,6,null,null,1,null,1,34,34,null,32,32,32,32,null,null,null,null,null]},"covered_strength":13.25,"covered_lines":28,"lines_of_code":28},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_list_price.rb","covered_percent":96.29629629629629,"coverage":{"lines":[null,null,1,1,null,1,12,null,12,null,null,1,126,null,null,1,0,null,null,1,26,null,null,1,104,null,null,null,null,12,null,null,null,1,null,1,1,null,1,12,12,null,null,1,null,1,null,54,null,null,null,1,24,null,null,1,null,12,null,null,null,null,null]},"covered_strength":15.592592592592593,"covered_lines":26,"lines_of_code":27},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_list_prices.rb","covered_percent":87.09677419354838,"coverage":{"lines":[null,null,1,1,null,1,null,1,5,5,null,null,1,5,null,1,null,null,9,null,null,null,1,null,1,6,6,null,null,1,5,null,null,1,10,null,null,1,20,null,null,null,null,null,1,9,5,5,5,0,0,null,5,null,null,null,null,1,0,0,null,null]},"covered_strength":3.6451612903225805,"covered_lines":27,"lines_of_code":31},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_market_price.rb","covered_percent":0.0,"coverage":{"lines":[null,0,null,0,0,0,null,0,0,0,0],"branches":{}},"covered_strength":0.0,"covered_lines":0,"lines_of_code":8},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_pole_price.rb","covered_percent":96.0,"coverage":{"lines":[null,null,1,1,0,null,null,1,30,null,null,1,156,null,null,15,3,null,null,15,null,null,null,1,null,1,null,75,null,66,null,null,null,1,null,null,null,null,15,null,null,null,3,null,null,1,27,null,null,null,null,null,null,null,null,null,null,1,3,null,null,null,null,null,null,null,null,null,null,1,30,null,null,1,null,15,null,null,null,null,null,null]},"covered_strength":18.56,"covered_lines":24,"lines_of_code":25},{"filename":"/home/circleci/project/app/services/ingestion/process_raw_transaction.rb","covered_percent":100.0,"coverage":{"lines":[null,null,1,1,238,null,null,1,50,null,null,1,102,null,null,1,152,null,null,1,51,null,null,1,10,null,null,1,131,11,11,11,11,120,10,10,10,10,110,20,20,null,null,null,null,20,20,null,90,null,null,null,1,null,1,1,null,1,40,40,null,null,1,null,1,162,162,11,null,151,120,null,120,120,120,null,null,null,120,null,null,null,null]},"covered_strength":51.02127659574468,"covered_lines":47,"lines_of_code":47},{"filename":"/home/circleci/project/app/workers/hygiene_worker.rb","covered_percent":65.21739130434783,"coverage":{"lines":[null,null,1,1,null,1,1,null,1,null,1,null,1,6,3,3,null,12,null,null,null,null,null,1,3,3,null,3,3,null,null,null,3,null,null,0,0,null,0,null,null,0,0,0,null,3,3,3,3,0,null,null,null,null,null,1,3,null,null,null,null,null,1,0,null,null,1,null,1,3,null,0,null,2,null,0,null,0,null,0,null,0,null,1,null,null,null,1,0,0,null,0,null,null,null]},"covered_strength":1.5869565217391304,"covered_lines":30,"lines_of_code":46},{"filename":"/home/circleci/project/lib/hygiene-service/sidekiq.rb","covered_percent":57.89473684210526,"coverage":{"lines":[null,null,1,1,1,1,1,1,2,null,null,null,null,null,null,null,null,null,null,null,2,null,1,null,null,null,null,0,null,null,1,null,null,null,null,null,null,null,1,null,null,1,1,null,2,null,null,1,null,1,1,null,null,1,2,null,null,null,1,1,null,1,null,0,null,0,null,null,0,0,0,null,null,0,0,0,0,null,null,0,0,0,0,null,null,0,null,null,0,null,null,null,null,null,null,null,null]},"covered_strength":0.6842105263157895,"covered_lines":22,"lines_of_code":38},{"filename":"/home/circleci/project/lib/tasks/generate_api_key.rake","covered_percent":22.22222222222222,"coverage":{"lines":[1,1,0,0,0,0,0,0,0,null]},"covered_strength":0.2222222222222222,"covered_lines":2,"lines_of_code":9}],"metrics":{"covered_percent":81.61592505854802,"covered_strength":30.3635831381733,"covered_lines":1394,"total_lines":1708}}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-rcov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Pereira
@@ -152,7 +152,7 @@ dependencies:
152
152
  version: '0'
153
153
  description: Plugin that allows code coverage print
154
154
  email:
155
- - guiferrpereira@gmail.com
155
+ - guilhermepereira@edgepetrol.com
156
156
  executables: []
157
157
  extensions: []
158
158
  extra_rdoc_files: []
@@ -173,7 +173,11 @@ files:
173
173
  - lib/rcov/plugin.rb
174
174
  - spec/rcov_spec.rb
175
175
  - spec/spec_helper.rb
176
- homepage: https://github.com/guiferrpereira/danger-rcov
176
+ - spec/support/fixtures/current_circle_ci.json
177
+ - spec/support/fixtures/current_coverage.json
178
+ - spec/support/fixtures/master_circle_ci.json
179
+ - spec/support/fixtures/master_coverage.json
180
+ homepage: https://github.com/EdgePetrol/danger-rcov
177
181
  licenses:
178
182
  - MIT
179
183
  metadata: {}
@@ -199,3 +203,7 @@ summary: Plugin that allows code coverage print
199
203
  test_files:
200
204
  - spec/rcov_spec.rb
201
205
  - spec/spec_helper.rb
206
+ - spec/support/fixtures/current_circle_ci.json
207
+ - spec/support/fixtures/current_coverage.json
208
+ - spec/support/fixtures/master_circle_ci.json
209
+ - spec/support/fixtures/master_coverage.json