{"action":"opened","number":511,"pull_request":{"url":"https://api.github.com/repos/pmd/pmd/pulls/511","id":132058799,"html_url":"https://github.com/pmd/pmd/pull/511","diff_url":"https://github.com/pmd/pmd/pull/511.diff","patch_url":"https://github.com/pmd/pmd/pull/511.patch","issue_url":"https://api.github.com/repos/pmd/pmd/issues/511","number":511,"state":"open","locked":false,"title":"[core] Prepare abstraction of the metrics framework","user":{"login":"oowekyala","id":24524930,"avatar_url":"https://avatars0.githubusercontent.com/u/24524930?v=4","gravatar_id":"","url":"https://api.github.com/users/oowekyala","html_url":"https://github.com/oowekyala","followers_url":"https://api.github.com/users/oowekyala/followers","following_url":"https://api.github.com/users/oowekyala/following{/other_user}","gists_url":"https://api.github.com/users/oowekyala/gists{/gist_id}","starred_url":"https://api.github.com/users/oowekyala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oowekyala/subscriptions","organizations_url":"https://api.github.com/users/oowekyala/orgs","repos_url":"https://api.github.com/users/oowekyala/repos","events_url":"https://api.github.com/users/oowekyala/events{/privacy}","received_events_url":"https://api.github.com/users/oowekyala/received_events","type":"User","site_admin":false},"body":"This commit introduces a new package layout for the metrics framework to prepare its abstraction into `pmd-core`.\r\n* The most generic interfaces were moved to `n.s.pmd.lang.metrics`, in `pmd-core`\r\n* Some class names were prefixed with `Java` to reflect their java specific nature. They'll eventually implement language agnostic interfaces, though I've yet to design that part\r\n* The package `n.s.pmd.lang.java.oom` was renamed to `metrics` for several reasons:\r\n  * The name was obscure\r\n  * The framework is not solely concerned with object oriented metrics\r\n  * The only reason I named it that way in the beginning was to avoid naming the implementation package `metrics.metrics` which was poor judgment. I don't mind naming it that way anymore, but if some of you do we can always name it `metrics.impl` or whatever\r\n\r\nThe rest of the changes is just updates in import statements and such\r\n","created_at":"2017-07-24T14:07:41Z","updated_at":"2017-07-24T14:07:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/pmd/pmd/pulls/511/commits","review_comments_url":"https://api.github.com/repos/pmd/pmd/pulls/511/comments","review_comment_url":"https://api.github.com/repos/pmd/pmd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pmd/pmd/issues/511/comments","statuses_url":"https://api.github.com/repos/pmd/pmd/statuses/ac89e1420c49ff256a2f483b20b143321e7c5216","head":{"label":"oowekyala:metrics","ref":"metrics","sha":"ac89e1420c49ff256a2f483b20b143321e7c5216","user":{"login":"oowekyala","id":24524930,"avatar_url":"https://avatars0.githubusercontent.com/u/24524930?v=4","gravatar_id":"","url":"https://api.github.com/users/oowekyala","html_url":"https://github.com/oowekyala","followers_url":"https://api.github.com/users/oowekyala/followers","following_url":"https://api.github.com/users/oowekyala/following{/other_user}","gists_url":"https://api.github.com/users/oowekyala/gists{/gist_id}","starred_url":"https://api.github.com/users/oowekyala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oowekyala/subscriptions","organizations_url":"https://api.github.com/users/oowekyala/orgs","repos_url":"https://api.github.com/users/oowekyala/repos","events_url":"https://api.github.com/users/oowekyala/events{/privacy}","received_events_url":"https://api.github.com/users/oowekyala/received_events","type":"User","site_admin":false},"repo":{"id":84992686,"name":"pmd","full_name":"oowekyala/pmd","owner":{"login":"oowekyala","id":24524930,"avatar_url":"https://avatars0.githubusercontent.com/u/24524930?v=4","gravatar_id":"","url":"https://api.github.com/users/oowekyala","html_url":"https://github.com/oowekyala","followers_url":"https://api.github.com/users/oowekyala/followers","following_url":"https://api.github.com/users/oowekyala/following{/other_user}","gists_url":"https://api.github.com/users/oowekyala/gists{/gist_id}","starred_url":"https://api.github.com/users/oowekyala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oowekyala/subscriptions","organizations_url":"https://api.github.com/users/oowekyala/orgs","repos_url":"https://api.github.com/users/oowekyala/repos","events_url":"https://api.github.com/users/oowekyala/events{/privacy}","received_events_url":"https://api.github.com/users/oowekyala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oowekyala/pmd","description":null,"fork":true,"url":"https://api.github.com/repos/oowekyala/pmd","forks_url":"https://api.github.com/repos/oowekyala/pmd/forks","keys_url":"https://api.github.com/repos/oowekyala/pmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oowekyala/pmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oowekyala/pmd/teams","hooks_url":"https://api.github.com/repos/oowekyala/pmd/hooks","issue_events_url":"https://api.github.com/repos/oowekyala/pmd/issues/events{/number}","events_url":"https://api.github.com/repos/oowekyala/pmd/events","assignees_url":"https://api.github.com/repos/oowekyala/pmd/assignees{/user}","branches_url":"https://api.github.com/repos/oowekyala/pmd/branches{/branch}","tags_url":"https://api.github.com/repos/oowekyala/pmd/tags","blobs_url":"https://api.github.com/repos/oowekyala/pmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oowekyala/pmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oowekyala/pmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/oowekyala/pmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oowekyala/pmd/statuses/{sha}","languages_url":"https://api.github.com/repos/oowekyala/pmd/languages","stargazers_url":"https://api.github.com/repos/oowekyala/pmd/stargazers","contributors_url":"https://api.github.com/repos/oowekyala/pmd/contributors","subscribers_url":"https://api.github.com/repos/oowekyala/pmd/subscribers","subscription_url":"https://api.github.com/repos/oowekyala/pmd/subscription","commits_url":"https://api.github.com/repos/oowekyala/pmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/oowekyala/pmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/oowekyala/pmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/oowekyala/pmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/oowekyala/pmd/contents/{+path}","compare_url":"https://api.github.com/repos/oowekyala/pmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oowekyala/pmd/merges","archive_url":"https://api.github.com/repos/oowekyala/pmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oowekyala/pmd/downloads","issues_url":"https://api.github.com/repos/oowekyala/pmd/issues{/number}","pulls_url":"https://api.github.com/repos/oowekyala/pmd/pulls{/number}","milestones_url":"https://api.github.com/repos/oowekyala/pmd/milestones{/number}","notifications_url":"https://api.github.com/repos/oowekyala/pmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oowekyala/pmd/labels{/name}","releases_url":"https://api.github.com/repos/oowekyala/pmd/releases{/id}","deployments_url":"https://api.github.com/repos/oowekyala/pmd/deployments","created_at":"2017-03-14T20:11:44Z","updated_at":"2017-05-06T21:02:10Z","pushed_at":"2017-07-24T14:03:42Z","git_url":"git://github.com/oowekyala/pmd.git","ssh_url":"git@github.com:oowekyala/pmd.git","clone_url":"https://github.com/oowekyala/pmd.git","svn_url":"https://github.com/oowekyala/pmd","homepage":"https://pmd.github.io","size":231327,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_projects":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":1,"default_branch":"master"}},"base":{"label":"pmd:master","ref":"master","sha":"0265a0c9f1d34e95e742270609c017584c033dc3","user":{"login":"pmd","id":1958157,"avatar_url":"https://avatars0.githubusercontent.com/u/1958157?v=4","gravatar_id":"","url":"https://api.github.com/users/pmd","html_url":"https://github.com/pmd","followers_url":"https://api.github.com/users/pmd/followers","following_url":"https://api.github.com/users/pmd/following{/other_user}","gists_url":"https://api.github.com/users/pmd/gists{/gist_id}","starred_url":"https://api.github.com/users/pmd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmd/subscriptions","organizations_url":"https://api.github.com/users/pmd/orgs","repos_url":"https://api.github.com/users/pmd/repos","events_url":"https://api.github.com/users/pmd/events{/privacy}","received_events_url":"https://api.github.com/users/pmd/received_events","type":"Organization","site_admin":false},"repo":{"id":4992906,"name":"pmd","full_name":"pmd/pmd","owner":{"login":"pmd","id":1958157,"avatar_url":"https://avatars0.githubusercontent.com/u/1958157?v=4","gravatar_id":"","url":"https://api.github.com/users/pmd","html_url":"https://github.com/pmd","followers_url":"https://api.github.com/users/pmd/followers","following_url":"https://api.github.com/users/pmd/following{/other_user}","gists_url":"https://api.github.com/users/pmd/gists{/gist_id}","starred_url":"https://api.github.com/users/pmd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmd/subscriptions","organizations_url":"https://api.github.com/users/pmd/orgs","repos_url":"https://api.github.com/users/pmd/repos","events_url":"https://api.github.com/users/pmd/events{/privacy}","received_events_url":"https://api.github.com/users/pmd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pmd/pmd","description":"An extensible cross-language static code analyzer.","fork":false,"url":"https://api.github.com/repos/pmd/pmd","forks_url":"https://api.github.com/repos/pmd/pmd/forks","keys_url":"https://api.github.com/repos/pmd/pmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmd/pmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmd/pmd/teams","hooks_url":"https://api.github.com/repos/pmd/pmd/hooks","issue_events_url":"https://api.github.com/repos/pmd/pmd/issues/events{/number}","events_url":"https://api.github.com/repos/pmd/pmd/events","assignees_url":"https://api.github.com/repos/pmd/pmd/assignees{/user}","branches_url":"https://api.github.com/repos/pmd/pmd/branches{/branch}","tags_url":"https://api.github.com/repos/pmd/pmd/tags","blobs_url":"https://api.github.com/repos/pmd/pmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmd/pmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmd/pmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmd/pmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmd/pmd/statuses/{sha}","languages_url":"https://api.github.com/repos/pmd/pmd/languages","stargazers_url":"https://api.github.com/repos/pmd/pmd/stargazers","contributors_url":"https://api.github.com/repos/pmd/pmd/contributors","subscribers_url":"https://api.github.com/repos/pmd/pmd/subscribers","subscription_url":"https://api.github.com/repos/pmd/pmd/subscription","commits_url":"https://api.github.com/repos/pmd/pmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmd/pmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmd/pmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmd/pmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/pmd/pmd/contents/{+path}","compare_url":"https://api.github.com/repos/pmd/pmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmd/pmd/merges","archive_url":"https://api.github.com/repos/pmd/pmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmd/pmd/downloads","issues_url":"https://api.github.com/repos/pmd/pmd/issues{/number}","pulls_url":"https://api.github.com/repos/pmd/pmd/pulls{/number}","milestones_url":"https://api.github.com/repos/pmd/pmd/milestones{/number}","notifications_url":"https://api.github.com/repos/pmd/pmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmd/pmd/labels{/name}","releases_url":"https://api.github.com/repos/pmd/pmd/releases{/id}","deployments_url":"https://api.github.com/repos/pmd/pmd/deployments","created_at":"2012-07-11T18:03:00Z","updated_at":"2017-07-24T11:30:31Z","pushed_at":"2017-07-24T13:44:04Z","git_url":"git://github.com/pmd/pmd.git","ssh_url":"git@github.com:pmd/pmd.git","clone_url":"https://github.com/pmd/pmd.git","svn_url":"https://github.com/pmd/pmd","homepage":"https://pmd.github.io","size":228127,"stargazers_count":1055,"watchers_count":1055,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":380,"mirror_url":null,"open_issues_count":62,"forks":380,"open_issues":62,"watchers":1055,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pmd/pmd/pulls/511"},"html":{"href":"https://github.com/pmd/pmd/pull/511"},"issue":{"href":"https://api.github.com/repos/pmd/pmd/issues/511"},"comments":{"href":"https://api.github.com/repos/pmd/pmd/issues/511/comments"},"review_comments":{"href":"https://api.github.com/repos/pmd/pmd/pulls/511/comments"},"review_comment":{"href":"https://api.github.com/repos/pmd/pmd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pmd/pmd/pulls/511/commits"},"statuses":{"href":"https://api.github.com/repos/pmd/pmd/statuses/ac89e1420c49ff256a2f483b20b143321e7c5216"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":362,"deletions":352,"changed_files":60}}
{"actor":{"display_login":"oowekyala"}}