Module: CodeClimate
- Defined in:
- app/models/code_climate/coverage_report.rb
Overview
CodeClimate::CoverageReport
Publishes code coverage information to Code Climate. Based on the gem ‘codeclimate-test-reporter’ which is a SimpleCov formatter that sends coverage results to Code Climate.
* Uses CodeClimate::TestReporter::Client from the
gem to publish the coverage report
* Generates a coverage report:
a JSON object structured according to the API inferred
from CodeClimate::TestReporter::Formatter, v0.0.7
Differences from CodeClimate::TestReporter::Formatter:
* source_files/filename does not replace SimpleCov.root with '.'
* source_files/blob_id is read from git rather than calculated
* environment/pwd is absent
* environment/rails_root is absent
* environment/simplecov_root is absent
Defined Under Namespace
Classes: CoverageReport