A summary of data about the Ruby ecosystem.

https://github.com/codeclimate-community/simplecov_json_formatter

JSON formatter for SimpleCov code coverage tool for ruby 2.4+
https://github.com/codeclimate-community/simplecov_json_formatter

Keywords

code-quality coverage coverage-library coverage-report rails ruby test-coverage

Keywords from Contributors

rubygem

Last synced: about 22 hours ago
JSON representation

Repository metadata

JSON formatter for SimpleCov code coverage tool for ruby 2.4+

README.md

JSON formatter for SimpleCov

Note: To learn more about SimpleCov, check out the main repo at SimpleCov

Generates a formatted JSON report of your SimpleCov ruby code coverage results on ruby 2.4+. Originally intended to add simplecov's results reading capacity to CI tools.

Overview

You can expect for this gem to produce a coverage.json file, located at the coverage folder.

Depending on your SimpleCoV's settings you will experiment different outcomes. Particularly depending on which type of coverage are you running SimpleCov with:

  • If you configure SimpleCov to run with branch coverage you should expect an output formatted like sample_with_branch.json
  • Otherwise you should expect an output formatted like sample.json

Development

We encourage you to use docker for common operations like running tests, or debugging your code. Running make sh will start a new container instance based on the Dockerfile provided at root, finally a shell prompt will be displayed on your terminal. Also, syncronization with your local files will be already set.

Tests

make test will trigger the excution of both running tests and running rubocop as linter, by simply running rake, this actions will be run inside a new container but using your local files.

Format

make format will run rubocop -a which stands for autocorrect and format your code according to the .rubocop.yml config file.

Copyright

See License


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 25
Total Committers: 6
Avg Commits per committer: 4.167
Development Distribution Score (DDS): 0.2

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Federico Moya f****a@w****m 20
eggplants w****w@y****p 1
Tobias Pfeiffer p****b@g****m 1
Peter Boling p****g@g****m 1
Mike Dalessio m****o@g****m 1
Boris Rorsvort b****s@r****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 11 days ago

Total issues: 3
Total pull requests: 13
Average time to close issues: about 1 month
Average time to close pull requests: 7 months
Total issue authors: 3
Total pull request authors: 8
Average comments per issue: 1.33
Average comments per pull request: 3.85
Merged pull request: 8
Bot issues: 0
Bot pull requests: 0

Past year issues: 1
Past year pull requests: 3
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 1
Past year pull request authors: 2
Past year average comments per issue: 0.0
Past year average comments per pull request: 1.33
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/codeclimate-community/simplecov_json_formatter

Top Issue Authors

  • jcoyne (1)
  • eggplants (1)
  • Segaja (1)

Top Pull Request Authors

  • shetty-tejas (4)
  • eggplants (2)
  • pboling (2)
  • borisrorsvort (1)
  • flavorjones (1)
  • fede-moya (1)
  • simi (1)
  • PragTob (1)

Top Issue Labels

Top Pull Request Labels


Dependencies

Gemfile rubygems
  • byebug >= 0 development
  • rake ~> 12.0 development
  • rspec ~> 3.2 development
  • rubocop >= 0 development
  • simplecov ~> 0.18 development
Gemfile.lock rubygems
  • ast 2.4.1
  • byebug 11.1.3
  • diff-lcs 1.4.4
  • docile 1.4.0
  • parallel 1.19.2
  • parser 2.7.1.4
  • rainbow 3.0.0
  • rake 12.3.3
  • regexp_parser 1.7.1
  • rexml 3.2.4
  • rspec 3.9.0
  • rspec-core 3.9.2
  • rspec-expectations 3.9.2
  • rspec-mocks 3.9.1
  • rspec-support 3.9.3
  • rubocop 0.89.1
  • rubocop-ast 0.3.0
  • ruby-progressbar 1.10.1
  • simplecov 0.21.2
  • simplecov-html 0.12.3
  • simplecov_json_formatter 0.1.3
  • unicode-display_width 1.7.0
Dockerfile docker
  • ruby 2.5 build
simplecov_json_formatter.gemspec rubygems

Score: 4.969813299576001