{"action":"created","comment":{"url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/comments/29413933","id":29413933,"diff_hunk":"@@ -74,3 +120,44 @@ public function display() {\n \t\t}\n \t}\n }\n+\n+/**\n+ * CyclomaticComplexity\n+ */\n+// Cyclomatic Complexity = 12\n+class Foo {\n+    public function example()  {\n+        if ($a == $b)  {\n+            if ($a1 == $b1) {\n+                fiddle();\n+            } else if ($a2 == $b2) {\n+                fiddle();\n+            }  else {\n+                fiddle();\n+            }\n+        } else if ($c == $d) {\n+            while ($c == $d) {\n+                fiddle();\n+            }\n+         } else if ($e == $f) {","path":"app/Controller/PagesController.php","position":83,"original_position":83,"commit_id":"92c6cd63643a673b88f846a2933fdd1a5194c479","original_commit_id":"92c6cd63643a673b88f846a2933fdd1a5194c479","user":{"login":"sumyapp","id":491508,"avatar_url":"https://avatars.githubusercontent.com/u/491508?v=3","gravatar_id":"","url":"https://api.github.com/users/sumyapp","html_url":"https://github.com/sumyapp","followers_url":"https://api.github.com/users/sumyapp/followers","following_url":"https://api.github.com/users/sumyapp/following{/other_user}","gists_url":"https://api.github.com/users/sumyapp/gists{/gist_id}","starred_url":"https://api.github.com/users/sumyapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumyapp/subscriptions","organizations_url":"https://api.github.com/users/sumyapp/orgs","repos_url":"https://api.github.com/users/sumyapp/repos","events_url":"https://api.github.com/users/sumyapp/events{/privacy}","received_events_url":"https://api.github.com/users/sumyapp/received_events","type":"User","site_admin":false},"body":"[phpmd] Avoid variables with short names like $e. Configured minimum length is 3.","created_at":"2015-04-30T09:11:14Z","updated_at":"2015-04-30T09:11:14Z","html_url":"https://github.com/actcat/sideci_php_sandbox/pull/26#discussion_r29413933","pull_request_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/comments/29413933"},"html":{"href":"https://github.com/actcat/sideci_php_sandbox/pull/26#discussion_r29413933"},"pull_request":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/26","id":34440981,"html_url":"https://github.com/actcat/sideci_php_sandbox/pull/26","diff_url":"https://github.com/actcat/sideci_php_sandbox/pull/26.diff","patch_url":"https://github.com/actcat/sideci_php_sandbox/pull/26.patch","issue_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/26","number":26,"state":"open","locked":false,"title":"Debug/20150430 service validation 2","user":{"login":"sumyapp","id":491508,"avatar_url":"https://avatars.githubusercontent.com/u/491508?v=3","gravatar_id":"","url":"https://api.github.com/users/sumyapp","html_url":"https://github.com/sumyapp","followers_url":"https://api.github.com/users/sumyapp/followers","following_url":"https://api.github.com/users/sumyapp/following{/other_user}","gists_url":"https://api.github.com/users/sumyapp/gists{/gist_id}","starred_url":"https://api.github.com/users/sumyapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumyapp/subscriptions","organizations_url":"https://api.github.com/users/sumyapp/orgs","repos_url":"https://api.github.com/users/sumyapp/repos","events_url":"https://api.github.com/users/sumyapp/events{/privacy}","received_events_url":"https://api.github.com/users/sumyapp/received_events","type":"User","site_admin":false},"body":"feature/20150427_issue の動作確認のためのPR","created_at":"2015-04-30T09:09:37Z","updated_at":"2015-04-30T09:11:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01d4e1d9309f80bd6362253cee08b12f1f2d45ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/26/commits","review_comments_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/26/comments","review_comment_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/26/comments","statuses_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/statuses/92c6cd63643a673b88f846a2933fdd1a5194c479","head":{"label":"actcat:debug/20150430_service_validation_2","ref":"debug/20150430_service_validation_2","sha":"92c6cd63643a673b88f846a2933fdd1a5194c479","user":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"repo":{"id":31297639,"name":"sideci_php_sandbox","full_name":"actcat/sideci_php_sandbox","owner":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/actcat/sideci_php_sandbox","description":"","fork":false,"url":"https://api.github.com/repos/actcat/sideci_php_sandbox","forks_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/forks","keys_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/teams","hooks_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/hooks","issue_events_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/events","assignees_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/tags","blobs_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/languages","stargazers_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/stargazers","contributors_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/contributors","subscribers_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/subscribers","subscription_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/subscription","commits_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/merges","archive_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/downloads","issues_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/labels{/name}","releases_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/releases{/id}","created_at":"2015-02-25T04:45:36Z","updated_at":"2015-02-25T04:48:53Z","pushed_at":"2015-04-30T09:09:38Z","git_url":"git://github.com/actcat/sideci_php_sandbox.git","ssh_url":"git@github.com:actcat/sideci_php_sandbox.git","clone_url":"https://github.com/actcat/sideci_php_sandbox.git","svn_url":"https://github.com/actcat/sideci_php_sandbox","homepage":null,"size":2124,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"actcat:master","ref":"master","sha":"ec2b17fde1eb9b1a4ec5bb96ef231ed697227234","user":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"repo":{"id":31297639,"name":"sideci_php_sandbox","full_name":"actcat/sideci_php_sandbox","owner":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/actcat/sideci_php_sandbox","description":"","fork":false,"url":"https://api.github.com/repos/actcat/sideci_php_sandbox","forks_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/forks","keys_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/teams","hooks_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/hooks","issue_events_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/events","assignees_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/tags","blobs_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/languages","stargazers_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/stargazers","contributors_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/contributors","subscribers_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/subscribers","subscription_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/subscription","commits_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/merges","archive_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/downloads","issues_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/labels{/name}","releases_url":"https://api.github.com/repos/actcat/sideci_php_sandbox/releases{/id}","created_at":"2015-02-25T04:45:36Z","updated_at":"2015-02-25T04:48:53Z","pushed_at":"2015-04-30T09:09:38Z","git_url":"git://github.com/actcat/sideci_php_sandbox.git","ssh_url":"git@github.com:actcat/sideci_php_sandbox.git","clone_url":"https://github.com/actcat/sideci_php_sandbox.git","svn_url":"https://github.com/actcat/sideci_php_sandbox","homepage":null,"size":2124,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/26"},"html":{"href":"https://github.com/actcat/sideci_php_sandbox/pull/26"},"issue":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/26"},"comments":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/actcat/sideci_php_sandbox/statuses/92c6cd63643a673b88f846a2933fdd1a5194c479"}}}}