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+
- Host: GitHub
- URL: https://github.com/codeclimate-community/simplecov_json_formatter
- Owner: codeclimate-community
- License: mit
- Created: 2020-08-26T20:29:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-15T20:20:09.000Z (almost 2 years ago)
- Last Synced: 2025-12-20T22:06:35.544Z (4 days ago)
- Topics: code-quality, coverage, coverage-library, coverage-report, rails, ruby, test-coverage
- Language: Ruby
- Homepage: https://github.com/fede-moya/simplecov_json_formatter
- Size: 32.2 KB
- Stars: 21
- Watchers: 2
- Forks: 13
- Open Issues: 3
- Releases: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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
SimpleCovto run withbranchcoverage 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
- Name: codeclimate-community
- Login: codeclimate-community
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/12756364?v=4
- Repositories: 15
- Last ynced at: 2023-08-06T23:40:35.010Z
- Profile URL: https://github.com/codeclimate-community
GitHub Events
Total
- Issues event: 1
- Watch event: 1
- Issue comment event: 8
- Pull request review event: 1
- Pull request event: 2
- Fork event: 3
Last Year
- Issues event: 1
- Issue comment event: 6
- Pull request review event: 1
- Pull request event: 2
- Fork event: 3
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 | 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:
- rorsvort.com: 1
- yahoo.co.jp: 1
- wyeworks.com: 1
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
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
- byebug >= 0 development
- rake ~> 12.0 development
- rspec ~> 3.2 development
- rubocop >= 0 development
- simplecov ~> 0.18 development
- 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
- ruby 2.5 build
Score: 4.969813299576001