{"action":"created","issue":{"url":"https://api.github.com/repos/cogneco/ooc-kean/issues/446","labels_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/446/comments","events_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/446/events","html_url":"https://github.com/cogneco/ooc-kean/issues/446","id":108608214,"number":446,"title":"Code coverage in tests","user":{"login":"davidhesselbom","id":4319680,"avatar_url":"https://avatars.githubusercontent.com/u/4319680?v=3","gravatar_id":"","url":"https://api.github.com/users/davidhesselbom","html_url":"https://github.com/davidhesselbom","followers_url":"https://api.github.com/users/davidhesselbom/followers","following_url":"https://api.github.com/users/davidhesselbom/following{/other_user}","gists_url":"https://api.github.com/users/davidhesselbom/gists{/gist_id}","starred_url":"https://api.github.com/users/davidhesselbom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidhesselbom/subscriptions","organizations_url":"https://api.github.com/users/davidhesselbom/orgs","repos_url":"https://api.github.com/users/davidhesselbom/repos","events_url":"https://api.github.com/users/davidhesselbom/events{/privacy}","received_events_url":"https://api.github.com/users/davidhesselbom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cogneco/ooc-kean/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/cogneco/ooc-kean/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/cogneco/ooc-kean/labels/tools","name":"tools","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-28T08:12:22Z","updated_at":"2015-10-01T07:27:15Z","closed_at":null,"body":"E.g. `FloatBox2DTest` doesn't test any of the functions `union`, `intersection`, `bounds`, `createAround`, `adaptTo`... \r\n\r\nIs there any way we can detect this kind of thing automatically? A list of functions and properties in cover/class should be easy to extract from an `ooc` file, and at the very least, a tool for code coverage should be able to detect when any of those functions/properties are not used a single once in a test for that cover/class, especially when the test file is named after the cover/class itself. Would this be a suitable task for magic?"},"comment":{"url":"https://api.github.com/repos/cogneco/ooc-kean/issues/comments/144642751","html_url":"https://github.com/cogneco/ooc-kean/issues/446#issuecomment-144642751","issue_url":"https://api.github.com/repos/cogneco/ooc-kean/issues/446","id":144642751,"user":{"login":"sebastianbaginski","id":13517893,"avatar_url":"https://avatars.githubusercontent.com/u/13517893?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianbaginski","html_url":"https://github.com/sebastianbaginski","followers_url":"https://api.github.com/users/sebastianbaginski/followers","following_url":"https://api.github.com/users/sebastianbaginski/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbaginski/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbaginski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbaginski/subscriptions","organizations_url":"https://api.github.com/users/sebastianbaginski/orgs","repos_url":"https://api.github.com/users/sebastianbaginski/repos","events_url":"https://api.github.com/users/sebastianbaginski/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbaginski/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T07:27:14Z","updated_at":"2015-10-01T07:27:14Z","body":"Yeah it kinda does that. That's why I used the html reports to read the output, here it is http://linux.die.net/man/1/lcov . Example output https://subhoworld.files.wordpress.com/2015/01/screenshot-from-2015-01-09-143047.png"}}