{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxJava/issues/3100","repository_url":"https://api.github.com/repos/ReactiveX/RxJava","labels_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/3100/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/3100/comments","events_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/3100/events","html_url":"https://github.com/ReactiveX/RxJava/issues/3100","id":96804496,"number":3100,"title":"Enforce min code coverage level in the project","user":{"login":"artem-zinnatullin","id":967132,"avatar_url":"https://avatars.githubusercontent.com/u/967132?v=3","gravatar_id":"","url":"https://api.github.com/users/artem-zinnatullin","html_url":"https://github.com/artem-zinnatullin","followers_url":"https://api.github.com/users/artem-zinnatullin/followers","following_url":"https://api.github.com/users/artem-zinnatullin/following{/other_user}","gists_url":"https://api.github.com/users/artem-zinnatullin/gists{/gist_id}","starred_url":"https://api.github.com/users/artem-zinnatullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artem-zinnatullin/subscriptions","organizations_url":"https://api.github.com/users/artem-zinnatullin/orgs","repos_url":"https://api.github.com/users/artem-zinnatullin/repos","events_url":"https://api.github.com/users/artem-zinnatullin/events{/privacy}","received_events_url":"https://api.github.com/users/artem-zinnatullin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ReactiveX/RxJava/labels/Question","name":"Question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-23T12:40:09Z","updated_at":"2016-06-22T14:23:52Z","closed_at":"2016-06-22T14:03:26Z","body":"Recently @davidmoten submitted PR with code coverage tool Jacoco #3089.\r\n\r\nI'd like to submit another PR on top of his PR (after merge of #3089) **to enforce minimal code coverage level in RxJava** and **fail builds on CI** if level of code coverage will be smaller than desired value.\r\n\r\nYou can take a look at current level of code coverage via running `./gradlew clean build jacocoTestReport` on PR #3089, unfortunately, I found completely untested branches of code and even fully untested classes.\r\n\r\nSome screenshots:\r\n\r\n**Root**:\r\n<img width=\"1041\" alt=\"screen shot 2015-07-23 at 15 28 40\" src=\"https://cloud.githubusercontent.com/assets/967132/8850288/8fcfa020-314f-11e5-8b8e-6dd5c3f6b7a5.png\">\r\n\r\n**rx.internal.operators**:\r\n<img width=\"1372\" alt=\"screen shot 2015-07-23 at 15 29 17\" src=\"https://cloud.githubusercontent.com/assets/967132/8850292/9ec21298-314f-11e5-8987-121d731ff606.png\">\r\n\r\nI'd set some min level of code coverage for the whole project in the initial PR, for example — 60% and maybe add some tests, then we can add more and more tests and increase min coverage level.\r\n\r\nI hope you'll find this useful for new PRs and for finding old bugs.\r\n\r\nI think it's possible to have 100% coverage in RxJava, that would be awesome."},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxJava/issues/comments/227760254","html_url":"https://github.com/ReactiveX/RxJava/issues/3100#issuecomment-227760254","issue_url":"https://api.github.com/repos/ReactiveX/RxJava/issues/3100","id":227760254,"user":{"login":"akarnokd","id":1269832,"avatar_url":"https://avatars.githubusercontent.com/u/1269832?v=3","gravatar_id":"","url":"https://api.github.com/users/akarnokd","html_url":"https://github.com/akarnokd","followers_url":"https://api.github.com/users/akarnokd/followers","following_url":"https://api.github.com/users/akarnokd/following{/other_user}","gists_url":"https://api.github.com/users/akarnokd/gists{/gist_id}","starred_url":"https://api.github.com/users/akarnokd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akarnokd/subscriptions","organizations_url":"https://api.github.com/users/akarnokd/orgs","repos_url":"https://api.github.com/users/akarnokd/repos","events_url":"https://api.github.com/users/akarnokd/events{/privacy}","received_events_url":"https://api.github.com/users/akarnokd/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T14:23:52Z","updated_at":"2016-06-22T14:23:52Z","body":"Sure."}}
{"actor":{"display_login":"akarnokd"}}