{"action":"created","issue":{"url":"https://api.github.com/repos/whitesmith/rubycritic/issues/35","labels_url":"https://api.github.com/repos/whitesmith/rubycritic/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/whitesmith/rubycritic/issues/35/comments","events_url":"https://api.github.com/repos/whitesmith/rubycritic/issues/35/events","html_url":"https://github.com/whitesmith/rubycritic/pull/35","id":61782515,"number":35,"title":"Experiments for adding a global score/rating","user":{"login":"ancorgs","id":3638289,"avatar_url":"https://avatars.githubusercontent.com/u/3638289?v=3","gravatar_id":"","url":"https://api.github.com/users/ancorgs","html_url":"https://github.com/ancorgs","followers_url":"https://api.github.com/users/ancorgs/followers","following_url":"https://api.github.com/users/ancorgs/following{/other_user}","gists_url":"https://api.github.com/users/ancorgs/gists{/gist_id}","starred_url":"https://api.github.com/users/ancorgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancorgs/subscriptions","organizations_url":"https://api.github.com/users/ancorgs/orgs","repos_url":"https://api.github.com/users/ancorgs/repos","events_url":"https://api.github.com/users/ancorgs/events{/privacy}","received_events_url":"https://api.github.com/users/ancorgs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":31,"created_at":"2015-03-15T09:31:38Z","updated_at":"2015-11-23T17:15:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/whitesmith/rubycritic/pulls/35","html_url":"https://github.com/whitesmith/rubycritic/pull/35","diff_url":"https://github.com/whitesmith/rubycritic/pull/35.diff","patch_url":"https://github.com/whitesmith/rubycritic/pull/35.patch"},"body":"In https://github.com/whitesmith/rubycritic/issues/9#issuecomment-77242630 it was suggested to open a pull request to start discussing possible alternatives to implement global rating/scoring for a whole project/repository (ala CodeClimate).\r\n\r\nIt makes sense to me to just use the average cost of all analyzed modules and present that number in some meaningful way, either as a rating or as a number between 5 (perfect) and 0 (crap).\r\n\r\nSince in this PR I want to focus the discussion on the way of turning the average cost into something meaningful I did almost no intrusive changes to the existing code apart from adding some ```puts``` so we can see the values without changing the reports yet.\r\n\r\nAfter preparing this PR, I saw #32. I have not gone through its code yet, but it seems to include a very well though mechanism to achieve the same goal, so maybe we are already close enough to have global ratings in rubycritic and this PR is useless. If it's the case, don't hesitate to close it right away."},"comment":{"url":"https://api.github.com/repos/whitesmith/rubycritic/issues/comments/158999944","html_url":"https://github.com/whitesmith/rubycritic/pull/35#issuecomment-158999944","issue_url":"https://api.github.com/repos/whitesmith/rubycritic/issues/35","id":158999944,"user":{"login":"troessner","id":271109,"avatar_url":"https://avatars.githubusercontent.com/u/271109?v=3","gravatar_id":"","url":"https://api.github.com/users/troessner","html_url":"https://github.com/troessner","followers_url":"https://api.github.com/users/troessner/followers","following_url":"https://api.github.com/users/troessner/following{/other_user}","gists_url":"https://api.github.com/users/troessner/gists{/gist_id}","starred_url":"https://api.github.com/users/troessner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troessner/subscriptions","organizations_url":"https://api.github.com/users/troessner/orgs","repos_url":"https://api.github.com/users/troessner/repos","events_url":"https://api.github.com/users/troessner/events{/privacy}","received_events_url":"https://api.github.com/users/troessner/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T17:15:48Z","updated_at":"2015-11-23T17:15:48Z","body":">> Offenses fixed. Ready for review.\r\n\r\nBut now this is a) nowhere used and b) doesn't have any tests?\r\n\r\n>> Is there anyway we can cut a 1.9 branch that I can maintain? \r\n\r\nThat would be awesome! I'd happily create this branch for you. From which commit would you like to start?\r\nThis one:\r\n\r\n>> 10d8c5c - Update RuboCop so that its Parser version is compatible with Reek 3 (13 days ago) <Guilherme Simoes>"}}