Showing 1 of 2 files from the diff.
Other files ignored by Codecov

@@ -168,7 +168,10 @@
Loading
168 168
      params[:commit] = ENV['CODEBUILD_RESOLVED_SOURCE_VERSION']
169 169
      params[:job] = ENV['CODEBUILD_BUILD_ID']
170 170
      params[:slug] = ENV['CODEBUILD_SOURCE_REPO_URL'].match(/.*github.com\/(?<slug>.*).git/)['slug']
171 -
      params[:pr] = ENV['CODEBUILD_SOURCE_VERSION'].match(/pr\/(?<pr>.*)/)['pr'] if ENV['CODEBUILD_SOURCE_VERSION']
171 +
      params[:pr] = if ENV['CODEBUILD_SOURCE_VERSION']
172 +
                      matched = ENV['CODEBUILD_SOURCE_VERSION'].match(%r{pr/(?<pr>.*)})
173 +
                      matched.nil? ? ENV['CODEBUILD_SOURCE_VERSION'] : matched['pr']
174 +
                    end
172 175
    when CODESHIP
173 176
      # https://www.codeship.io/documentation/continuous-integration/set-environment-variables/
174 177
      params[:service] = 'codeship'
Files Coverage
lib/codecov.rb 91.85%
Project Totals (1 files) 91.85%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading