{"action":"created","comment":{"url":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/comments/30087289","id":30087289,"diff_hunk":"@@ -0,0 +1,17 @@\n+class StatisticsController < ApplicationController\n+  def count_metric","path":"app/controllers/statistics_controller.rb","position":2,"original_position":2,"commit_id":"782a6acfbb8d111c3594e4cb66c14786df4a58da","original_commit_id":"782a6acfbb8d111c3594e4cb66c14786df4a58da","user":{"login":"rafamanzo","id":288884,"avatar_url":"https://avatars.githubusercontent.com/u/288884?v=3","gravatar_id":"","url":"https://api.github.com/users/rafamanzo","html_url":"https://github.com/rafamanzo","followers_url":"https://api.github.com/users/rafamanzo/followers","following_url":"https://api.github.com/users/rafamanzo/following{/other_user}","gists_url":"https://api.github.com/users/rafamanzo/gists{/gist_id}","starred_url":"https://api.github.com/users/rafamanzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafamanzo/subscriptions","organizations_url":"https://api.github.com/users/rafamanzo/orgs","repos_url":"https://api.github.com/users/rafamanzo/repos","events_url":"https://api.github.com/users/rafamanzo/events{/privacy}","received_events_url":"https://api.github.com/users/rafamanzo/received_events","type":"User","site_admin":false},"body":"Why have you named the method name `count` and no `metric_percentage`?","created_at":"2015-05-11T22:02:45Z","updated_at":"2015-05-11T22:02:45Z","html_url":"https://github.com/mezuro/kalibro_configurations/pull/38#discussion_r30087289","pull_request_url":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/comments/30087289"},"html":{"href":"https://github.com/mezuro/kalibro_configurations/pull/38#discussion_r30087289"},"pull_request":{"href":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/38","id":34952690,"html_url":"https://github.com/mezuro/kalibro_configurations/pull/38","diff_url":"https://github.com/mezuro/kalibro_configurations/pull/38.diff","patch_url":"https://github.com/mezuro/kalibro_configurations/pull/38.patch","issue_url":"https://api.github.com/repos/mezuro/kalibro_configurations/issues/38","number":38,"state":"open","locked":false,"title":"Add metric counter and its tests","user":{"login":"ParleyMartins","id":6959616,"avatar_url":"https://avatars.githubusercontent.com/u/6959616?v=3","gravatar_id":"","url":"https://api.github.com/users/ParleyMartins","html_url":"https://github.com/ParleyMartins","followers_url":"https://api.github.com/users/ParleyMartins/followers","following_url":"https://api.github.com/users/ParleyMartins/following{/other_user}","gists_url":"https://api.github.com/users/ParleyMartins/gists{/gist_id}","starred_url":"https://api.github.com/users/ParleyMartins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParleyMartins/subscriptions","organizations_url":"https://api.github.com/users/ParleyMartins/orgs","repos_url":"https://api.github.com/users/ParleyMartins/repos","events_url":"https://api.github.com/users/ParleyMartins/events{/privacy}","received_events_url":"https://api.github.com/users/ParleyMartins/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-07T20:02:48Z","updated_at":"2015-05-11T22:02:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c253584cc6b9ded8d536c6855894221ea00d3f17","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/38/commits","review_comments_url":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/38/comments","review_comment_url":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mezuro/kalibro_configurations/issues/38/comments","statuses_url":"https://api.github.com/repos/mezuro/kalibro_configurations/statuses/782a6acfbb8d111c3594e4cb66c14786df4a58da","head":{"label":"MezuroUNB20151:issue#8","ref":"issue#8","sha":"782a6acfbb8d111c3594e4cb66c14786df4a58da","user":{"login":"MezuroUNB20151","id":11525593,"avatar_url":"https://avatars.githubusercontent.com/u/11525593?v=3","gravatar_id":"","url":"https://api.github.com/users/MezuroUNB20151","html_url":"https://github.com/MezuroUNB20151","followers_url":"https://api.github.com/users/MezuroUNB20151/followers","following_url":"https://api.github.com/users/MezuroUNB20151/following{/other_user}","gists_url":"https://api.github.com/users/MezuroUNB20151/gists{/gist_id}","starred_url":"https://api.github.com/users/MezuroUNB20151/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MezuroUNB20151/subscriptions","organizations_url":"https://api.github.com/users/MezuroUNB20151/orgs","repos_url":"https://api.github.com/users/MezuroUNB20151/repos","events_url":"https://api.github.com/users/MezuroUNB20151/events{/privacy}","received_events_url":"https://api.github.com/users/MezuroUNB20151/received_events","type":"Organization","site_admin":false},"repo":{"id":32413053,"name":"kalibro_configurations","full_name":"MezuroUNB20151/kalibro_configurations","owner":{"login":"MezuroUNB20151","id":11525593,"avatar_url":"https://avatars.githubusercontent.com/u/11525593?v=3","gravatar_id":"","url":"https://api.github.com/users/MezuroUNB20151","html_url":"https://github.com/MezuroUNB20151","followers_url":"https://api.github.com/users/MezuroUNB20151/followers","following_url":"https://api.github.com/users/MezuroUNB20151/following{/other_user}","gists_url":"https://api.github.com/users/MezuroUNB20151/gists{/gist_id}","starred_url":"https://api.github.com/users/MezuroUNB20151/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MezuroUNB20151/subscriptions","organizations_url":"https://api.github.com/users/MezuroUNB20151/orgs","repos_url":"https://api.github.com/users/MezuroUNB20151/repos","events_url":"https://api.github.com/users/MezuroUNB20151/events{/privacy}","received_events_url":"https://api.github.com/users/MezuroUNB20151/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MezuroUNB20151/kalibro_configurations","description":"Web service for managing code analysis configurations","fork":true,"url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations","forks_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/forks","keys_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/teams","hooks_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/hooks","issue_events_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/issues/events{/number}","events_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/events","assignees_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/assignees{/user}","branches_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/branches{/branch}","tags_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/tags","blobs_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/git/refs{/sha}","trees_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/statuses/{sha}","languages_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/languages","stargazers_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/stargazers","contributors_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/contributors","subscribers_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/subscribers","subscription_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/subscription","commits_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/commits{/sha}","git_commits_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/git/commits{/sha}","comments_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/comments{/number}","issue_comment_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/issues/comments{/number}","contents_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/contents/{+path}","compare_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/merges","archive_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/downloads","issues_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/issues{/number}","pulls_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/pulls{/number}","milestones_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/milestones{/number}","notifications_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/labels{/name}","releases_url":"https://api.github.com/repos/MezuroUNB20151/kalibro_configurations/releases{/id}","created_at":"2015-03-17T18:43:32Z","updated_at":"2015-05-07T19:48:51Z","pushed_at":"2015-05-07T20:01:55Z","git_url":"git://github.com/MezuroUNB20151/kalibro_configurations.git","ssh_url":"git@github.com:MezuroUNB20151/kalibro_configurations.git","clone_url":"https://github.com/MezuroUNB20151/kalibro_configurations.git","svn_url":"https://github.com/MezuroUNB20151/kalibro_configurations","homepage":null,"size":401,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mezuro:master","ref":"master","sha":"66c117c40061f0f142142c3bf31eafde6d7641d1","user":{"login":"mezuro","id":4100201,"avatar_url":"https://avatars.githubusercontent.com/u/4100201?v=3","gravatar_id":"","url":"https://api.github.com/users/mezuro","html_url":"https://github.com/mezuro","followers_url":"https://api.github.com/users/mezuro/followers","following_url":"https://api.github.com/users/mezuro/following{/other_user}","gists_url":"https://api.github.com/users/mezuro/gists{/gist_id}","starred_url":"https://api.github.com/users/mezuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mezuro/subscriptions","organizations_url":"https://api.github.com/users/mezuro/orgs","repos_url":"https://api.github.com/users/mezuro/repos","events_url":"https://api.github.com/users/mezuro/events{/privacy}","received_events_url":"https://api.github.com/users/mezuro/received_events","type":"Organization","site_admin":false},"repo":{"id":25267447,"name":"kalibro_configurations","full_name":"mezuro/kalibro_configurations","owner":{"login":"mezuro","id":4100201,"avatar_url":"https://avatars.githubusercontent.com/u/4100201?v=3","gravatar_id":"","url":"https://api.github.com/users/mezuro","html_url":"https://github.com/mezuro","followers_url":"https://api.github.com/users/mezuro/followers","following_url":"https://api.github.com/users/mezuro/following{/other_user}","gists_url":"https://api.github.com/users/mezuro/gists{/gist_id}","starred_url":"https://api.github.com/users/mezuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mezuro/subscriptions","organizations_url":"https://api.github.com/users/mezuro/orgs","repos_url":"https://api.github.com/users/mezuro/repos","events_url":"https://api.github.com/users/mezuro/events{/privacy}","received_events_url":"https://api.github.com/users/mezuro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mezuro/kalibro_configurations","description":"Web service for managing code analysis configurations","fork":false,"url":"https://api.github.com/repos/mezuro/kalibro_configurations","forks_url":"https://api.github.com/repos/mezuro/kalibro_configurations/forks","keys_url":"https://api.github.com/repos/mezuro/kalibro_configurations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mezuro/kalibro_configurations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mezuro/kalibro_configurations/teams","hooks_url":"https://api.github.com/repos/mezuro/kalibro_configurations/hooks","issue_events_url":"https://api.github.com/repos/mezuro/kalibro_configurations/issues/events{/number}","events_url":"https://api.github.com/repos/mezuro/kalibro_configurations/events","assignees_url":"https://api.github.com/repos/mezuro/kalibro_configurations/assignees{/user}","branches_url":"https://api.github.com/repos/mezuro/kalibro_configurations/branches{/branch}","tags_url":"https://api.github.com/repos/mezuro/kalibro_configurations/tags","blobs_url":"https://api.github.com/repos/mezuro/kalibro_configurations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mezuro/kalibro_configurations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mezuro/kalibro_configurations/git/refs{/sha}","trees_url":"https://api.github.com/repos/mezuro/kalibro_configurations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mezuro/kalibro_configurations/statuses/{sha}","languages_url":"https://api.github.com/repos/mezuro/kalibro_configurations/languages","stargazers_url":"https://api.github.com/repos/mezuro/kalibro_configurations/stargazers","contributors_url":"https://api.github.com/repos/mezuro/kalibro_configurations/contributors","subscribers_url":"https://api.github.com/repos/mezuro/kalibro_configurations/subscribers","subscription_url":"https://api.github.com/repos/mezuro/kalibro_configurations/subscription","commits_url":"https://api.github.com/repos/mezuro/kalibro_configurations/commits{/sha}","git_commits_url":"https://api.github.com/repos/mezuro/kalibro_configurations/git/commits{/sha}","comments_url":"https://api.github.com/repos/mezuro/kalibro_configurations/comments{/number}","issue_comment_url":"https://api.github.com/repos/mezuro/kalibro_configurations/issues/comments{/number}","contents_url":"https://api.github.com/repos/mezuro/kalibro_configurations/contents/{+path}","compare_url":"https://api.github.com/repos/mezuro/kalibro_configurations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mezuro/kalibro_configurations/merges","archive_url":"https://api.github.com/repos/mezuro/kalibro_configurations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mezuro/kalibro_configurations/downloads","issues_url":"https://api.github.com/repos/mezuro/kalibro_configurations/issues{/number}","pulls_url":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls{/number}","milestones_url":"https://api.github.com/repos/mezuro/kalibro_configurations/milestones{/number}","notifications_url":"https://api.github.com/repos/mezuro/kalibro_configurations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mezuro/kalibro_configurations/labels{/name}","releases_url":"https://api.github.com/repos/mezuro/kalibro_configurations/releases{/id}","created_at":"2014-10-15T18:20:22Z","updated_at":"2015-05-04T18:55:33Z","pushed_at":"2015-05-08T11:54:25Z","git_url":"git://github.com/mezuro/kalibro_configurations.git","ssh_url":"git@github.com:mezuro/kalibro_configurations.git","clone_url":"https://github.com/mezuro/kalibro_configurations.git","svn_url":"https://github.com/mezuro/kalibro_configurations","homepage":null,"size":1274,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/38"},"html":{"href":"https://github.com/mezuro/kalibro_configurations/pull/38"},"issue":{"href":"https://api.github.com/repos/mezuro/kalibro_configurations/issues/38"},"comments":{"href":"https://api.github.com/repos/mezuro/kalibro_configurations/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mezuro/kalibro_configurations/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/mezuro/kalibro_configurations/statuses/782a6acfbb8d111c3594e4cb66c14786df4a58da"}}}}