{"action":"closed","number":137,"pull_request":{"url":"https://api.github.com/repos/yegor256/jpeek/pulls/137","id":166429040,"html_url":"https://github.com/yegor256/jpeek/pull/137","diff_url":"https://github.com/yegor256/jpeek/pull/137.diff","patch_url":"https://github.com/yegor256/jpeek/pull/137.patch","issue_url":"https://api.github.com/repos/yegor256/jpeek/issues/137","number":137,"state":"closed","locked":false,"title":"(#66) CCM","user":{"login":"llorllale","id":2019896,"avatar_url":"https://avatars1.githubusercontent.com/u/2019896?v=4","gravatar_id":"","url":"https://api.github.com/users/llorllale","html_url":"https://github.com/llorllale","followers_url":"https://api.github.com/users/llorllale/followers","following_url":"https://api.github.com/users/llorllale/following{/other_user}","gists_url":"https://api.github.com/users/llorllale/gists{/gist_id}","starred_url":"https://api.github.com/users/llorllale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llorllale/subscriptions","organizations_url":"https://api.github.com/users/llorllale/orgs","repos_url":"https://api.github.com/users/llorllale/repos","events_url":"https://api.github.com/users/llorllale/events{/privacy}","received_events_url":"https://api.github.com/users/llorllale/received_events","type":"User","site_admin":false},"body":"as per #66 \r\n\r\n**CCM:**\r\n> Class Connection Metric (CCM) is based on the connection\r\n          graph of a class where each node is a method and there exists an\r\n          \"edge\" or connection between nodes if either both nodes access the\r\n          same attribute of a class, or if both call another method of the\r\n          class. The formula is defined as CCM = NC/(NMP x NCC), where\r\n          NC = number of connections according to the previous criteria,\r\n          NMP = maximum number of possible connections (NMP = (N x (N - 1))/2),\r\n          and NCC = number of connected nodes.","created_at":"2018-02-01T02:32:02Z","updated_at":"2018-02-02T15:00:46Z","closed_at":"2018-02-02T15:00:46Z","merged_at":"2018-02-02T15:00:46Z","merge_commit_sha":"faea600f44b8a750701047afee520df9bdbeb3a1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/yegor256/jpeek/pulls/137/commits","review_comments_url":"https://api.github.com/repos/yegor256/jpeek/pulls/137/comments","review_comment_url":"https://api.github.com/repos/yegor256/jpeek/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yegor256/jpeek/issues/137/comments","statuses_url":"https://api.github.com/repos/yegor256/jpeek/statuses/faea600f44b8a750701047afee520df9bdbeb3a1","head":{"label":"llorllale:66","ref":"66","sha":"faea600f44b8a750701047afee520df9bdbeb3a1","user":{"login":"llorllale","id":2019896,"avatar_url":"https://avatars1.githubusercontent.com/u/2019896?v=4","gravatar_id":"","url":"https://api.github.com/users/llorllale","html_url":"https://github.com/llorllale","followers_url":"https://api.github.com/users/llorllale/followers","following_url":"https://api.github.com/users/llorllale/following{/other_user}","gists_url":"https://api.github.com/users/llorllale/gists{/gist_id}","starred_url":"https://api.github.com/users/llorllale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llorllale/subscriptions","organizations_url":"https://api.github.com/users/llorllale/orgs","repos_url":"https://api.github.com/users/llorllale/repos","events_url":"https://api.github.com/users/llorllale/events{/privacy}","received_events_url":"https://api.github.com/users/llorllale/received_events","type":"User","site_admin":false},"repo":{"id":117741495,"name":"jpeek","full_name":"llorllale/jpeek","owner":{"login":"llorllale","id":2019896,"avatar_url":"https://avatars1.githubusercontent.com/u/2019896?v=4","gravatar_id":"","url":"https://api.github.com/users/llorllale","html_url":"https://github.com/llorllale","followers_url":"https://api.github.com/users/llorllale/followers","following_url":"https://api.github.com/users/llorllale/following{/other_user}","gists_url":"https://api.github.com/users/llorllale/gists{/gist_id}","starred_url":"https://api.github.com/users/llorllale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llorllale/subscriptions","organizations_url":"https://api.github.com/users/llorllale/orgs","repos_url":"https://api.github.com/users/llorllale/repos","events_url":"https://api.github.com/users/llorllale/events{/privacy}","received_events_url":"https://api.github.com/users/llorllale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/llorllale/jpeek","description":"Java Code Static Metrics (Cohesion, Coupling, etc.)","fork":true,"url":"https://api.github.com/repos/llorllale/jpeek","forks_url":"https://api.github.com/repos/llorllale/jpeek/forks","keys_url":"https://api.github.com/repos/llorllale/jpeek/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llorllale/jpeek/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llorllale/jpeek/teams","hooks_url":"https://api.github.com/repos/llorllale/jpeek/hooks","issue_events_url":"https://api.github.com/repos/llorllale/jpeek/issues/events{/number}","events_url":"https://api.github.com/repos/llorllale/jpeek/events","assignees_url":"https://api.github.com/repos/llorllale/jpeek/assignees{/user}","branches_url":"https://api.github.com/repos/llorllale/jpeek/branches{/branch}","tags_url":"https://api.github.com/repos/llorllale/jpeek/tags","blobs_url":"https://api.github.com/repos/llorllale/jpeek/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llorllale/jpeek/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llorllale/jpeek/git/refs{/sha}","trees_url":"https://api.github.com/repos/llorllale/jpeek/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llorllale/jpeek/statuses/{sha}","languages_url":"https://api.github.com/repos/llorllale/jpeek/languages","stargazers_url":"https://api.github.com/repos/llorllale/jpeek/stargazers","contributors_url":"https://api.github.com/repos/llorllale/jpeek/contributors","subscribers_url":"https://api.github.com/repos/llorllale/jpeek/subscribers","subscription_url":"https://api.github.com/repos/llorllale/jpeek/subscription","commits_url":"https://api.github.com/repos/llorllale/jpeek/commits{/sha}","git_commits_url":"https://api.github.com/repos/llorllale/jpeek/git/commits{/sha}","comments_url":"https://api.github.com/repos/llorllale/jpeek/comments{/number}","issue_comment_url":"https://api.github.com/repos/llorllale/jpeek/issues/comments{/number}","contents_url":"https://api.github.com/repos/llorllale/jpeek/contents/{+path}","compare_url":"https://api.github.com/repos/llorllale/jpeek/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llorllale/jpeek/merges","archive_url":"https://api.github.com/repos/llorllale/jpeek/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llorllale/jpeek/downloads","issues_url":"https://api.github.com/repos/llorllale/jpeek/issues{/number}","pulls_url":"https://api.github.com/repos/llorllale/jpeek/pulls{/number}","milestones_url":"https://api.github.com/repos/llorllale/jpeek/milestones{/number}","notifications_url":"https://api.github.com/repos/llorllale/jpeek/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llorllale/jpeek/labels{/name}","releases_url":"https://api.github.com/repos/llorllale/jpeek/releases{/id}","deployments_url":"https://api.github.com/repos/llorllale/jpeek/deployments","created_at":"2018-01-16T21:02:14Z","updated_at":"2018-01-16T21:02:17Z","pushed_at":"2018-02-01T20:32:57Z","git_url":"git://github.com/llorllale/jpeek.git","ssh_url":"git@github.com:llorllale/jpeek.git","clone_url":"https://github.com/llorllale/jpeek.git","svn_url":"https://github.com/llorllale/jpeek","homepage":"http://i.jpeek.org","size":8818,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yegor256:master","ref":"master","sha":"6fb7f028b1daed1d927f22e36b95dfdb70cb117b","user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars3.githubusercontent.com/u/526301?v=4","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"repo":{"id":107155405,"name":"jpeek","full_name":"yegor256/jpeek","owner":{"login":"yegor256","id":526301,"avatar_url":"https://avatars3.githubusercontent.com/u/526301?v=4","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yegor256/jpeek","description":"Java Code Static Metrics (Cohesion, Coupling, etc.)","fork":false,"url":"https://api.github.com/repos/yegor256/jpeek","forks_url":"https://api.github.com/repos/yegor256/jpeek/forks","keys_url":"https://api.github.com/repos/yegor256/jpeek/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yegor256/jpeek/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yegor256/jpeek/teams","hooks_url":"https://api.github.com/repos/yegor256/jpeek/hooks","issue_events_url":"https://api.github.com/repos/yegor256/jpeek/issues/events{/number}","events_url":"https://api.github.com/repos/yegor256/jpeek/events","assignees_url":"https://api.github.com/repos/yegor256/jpeek/assignees{/user}","branches_url":"https://api.github.com/repos/yegor256/jpeek/branches{/branch}","tags_url":"https://api.github.com/repos/yegor256/jpeek/tags","blobs_url":"https://api.github.com/repos/yegor256/jpeek/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yegor256/jpeek/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yegor256/jpeek/git/refs{/sha}","trees_url":"https://api.github.com/repos/yegor256/jpeek/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yegor256/jpeek/statuses/{sha}","languages_url":"https://api.github.com/repos/yegor256/jpeek/languages","stargazers_url":"https://api.github.com/repos/yegor256/jpeek/stargazers","contributors_url":"https://api.github.com/repos/yegor256/jpeek/contributors","subscribers_url":"https://api.github.com/repos/yegor256/jpeek/subscribers","subscription_url":"https://api.github.com/repos/yegor256/jpeek/subscription","commits_url":"https://api.github.com/repos/yegor256/jpeek/commits{/sha}","git_commits_url":"https://api.github.com/repos/yegor256/jpeek/git/commits{/sha}","comments_url":"https://api.github.com/repos/yegor256/jpeek/comments{/number}","issue_comment_url":"https://api.github.com/repos/yegor256/jpeek/issues/comments{/number}","contents_url":"https://api.github.com/repos/yegor256/jpeek/contents/{+path}","compare_url":"https://api.github.com/repos/yegor256/jpeek/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yegor256/jpeek/merges","archive_url":"https://api.github.com/repos/yegor256/jpeek/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yegor256/jpeek/downloads","issues_url":"https://api.github.com/repos/yegor256/jpeek/issues{/number}","pulls_url":"https://api.github.com/repos/yegor256/jpeek/pulls{/number}","milestones_url":"https://api.github.com/repos/yegor256/jpeek/milestones{/number}","notifications_url":"https://api.github.com/repos/yegor256/jpeek/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yegor256/jpeek/labels{/name}","releases_url":"https://api.github.com/repos/yegor256/jpeek/releases{/id}","deployments_url":"https://api.github.com/repos/yegor256/jpeek/deployments","created_at":"2017-10-16T16:42:26Z","updated_at":"2018-02-02T04:06:13Z","pushed_at":"2018-02-02T15:00:46Z","git_url":"git://github.com/yegor256/jpeek.git","ssh_url":"git@github.com:yegor256/jpeek.git","clone_url":"https://github.com/yegor256/jpeek.git","svn_url":"https://github.com/yegor256/jpeek","homepage":"http://i.jpeek.org","size":4899,"stargazers_count":61,"watchers_count":61,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":16,"open_issues":39,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yegor256/jpeek/pulls/137"},"html":{"href":"https://github.com/yegor256/jpeek/pull/137"},"issue":{"href":"https://api.github.com/repos/yegor256/jpeek/issues/137"},"comments":{"href":"https://api.github.com/repos/yegor256/jpeek/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/yegor256/jpeek/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/yegor256/jpeek/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yegor256/jpeek/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/yegor256/jpeek/statuses/faea600f44b8a750701047afee520df9bdbeb3a1"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"rultor","id":8086956,"avatar_url":"https://avatars1.githubusercontent.com/u/8086956?v=4","gravatar_id":"","url":"https://api.github.com/users/rultor","html_url":"https://github.com/rultor","followers_url":"https://api.github.com/users/rultor/followers","following_url":"https://api.github.com/users/rultor/following{/other_user}","gists_url":"https://api.github.com/users/rultor/gists{/gist_id}","starred_url":"https://api.github.com/users/rultor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rultor/subscriptions","organizations_url":"https://api.github.com/users/rultor/orgs","repos_url":"https://api.github.com/users/rultor/repos","events_url":"https://api.github.com/users/rultor/events{/privacy}","received_events_url":"https://api.github.com/users/rultor/received_events","type":"User","site_admin":false},"comments":13,"review_comments":4,"maintainer_can_modify":false,"commits":5,"additions":129,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"rultor"}}