{"action":"created","comment":{"url":"https://api.github.com/repos/coala/coala/pulls/comments/86568071","pull_request_review_id":7221682,"id":86568071,"diff_hunk":"@@ -0,0 +1,247 @@\n+from coalib.bearlib.aspects import (\n+    Aspect, AspectDocumentation, AspectSettng, Root)\n+\n+\n+Root.new_subaspect(\n+    'Redundancy',\n+    doc=AspectDocumentation(\n+            definition=\"This aspect describes redundancy in your source code.\",\n+            cause=\"Redundancies are often caused by forgetting to remove \"\n+                  \"code during refactorings.\",\n+            importance_reason=\"Redundant code makes your code harder to read\n+                              \"and understand.\",\n+            fix_suggestions=\"Redundant code can usually be removed without \"\n+                            \"consequences.\"\n+        )\n+    )\n+\n+Root.Redundancy.new_subaspect(\n+    'Clone',\n+    doc=AspectDocumentation(\n+            definition=\"\"\"\n+            Code clones are multiple pieces of source code in your\n+            codebase that are very similar.\n+            \"\"\",\n+            cause=\"\"\"\n+            Clones usually result out of copy and pasting.\n+            \"\"\",\n+            example_language='python',\n+            importance_reason=\"\"\"\n+            Small differences between clones can be indications of missed fault\n+            fixes leading to the hypothesis that such clones are related to\n+            faults.","path":"coalib/bearlib/aspects/Redundancy.py","position":32,"original_position":32,"commit_id":"21484a53efb48d8eaa8c16ee502e442d198191cb","original_commit_id":"21484a53efb48d8eaa8c16ee502e442d198191cb","user":{"login":"sils","id":5716520,"avatar_url":"https://avatars.githubusercontent.com/u/5716520?v=3","gravatar_id":"","url":"https://api.github.com/users/sils","html_url":"https://github.com/sils","followers_url":"https://api.github.com/users/sils/followers","following_url":"https://api.github.com/users/sils/following{/other_user}","gists_url":"https://api.github.com/users/sils/gists{/gist_id}","starred_url":"https://api.github.com/users/sils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sils/subscriptions","organizations_url":"https://api.github.com/users/sils/orgs","repos_url":"https://api.github.com/users/sils/repos","events_url":"https://api.github.com/users/sils/events{/privacy}","received_events_url":"https://api.github.com/users/sils/received_events","type":"User","site_admin":false},"body":"I find this hard to understand, also there's more reasons: it's bad for maintainability, blows up code and what you mean seems to be that bugs may appear in both versions just fixed in one or so","created_at":"2016-11-04T15:22:43Z","updated_at":"2016-11-04T15:22:43Z","html_url":"https://github.com/coala/coala/pull/2887#discussion_r86568071","pull_request_url":"https://api.github.com/repos/coala/coala/pulls/2887","_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/comments/86568071"},"html":{"href":"https://github.com/coala/coala/pull/2887#discussion_r86568071"},"pull_request":{"href":"https://api.github.com/repos/coala/coala/pulls/2887"}}},"pull_request":{"url":"https://api.github.com/repos/coala/coala/pulls/2887","id":90477495,"html_url":"https://github.com/coala/coala/pull/2887","diff_url":"https://github.com/coala/coala/pull/2887.diff","patch_url":"https://github.com/coala/coala/pull/2887.patch","issue_url":"https://api.github.com/repos/coala/coala/issues/2887","number":2887,"state":"open","locked":false,"title":"bearlib: Add aspects","user":{"login":"Asnelchristian","id":10449314,"avatar_url":"https://avatars.githubusercontent.com/u/10449314?v=3","gravatar_id":"","url":"https://api.github.com/users/Asnelchristian","html_url":"https://github.com/Asnelchristian","followers_url":"https://api.github.com/users/Asnelchristian/followers","following_url":"https://api.github.com/users/Asnelchristian/following{/other_user}","gists_url":"https://api.github.com/users/Asnelchristian/gists{/gist_id}","starred_url":"https://api.github.com/users/Asnelchristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asnelchristian/subscriptions","organizations_url":"https://api.github.com/users/Asnelchristian/orgs","repos_url":"https://api.github.com/users/Asnelchristian/repos","events_url":"https://api.github.com/users/Asnelchristian/events{/privacy}","received_events_url":"https://api.github.com/users/Asnelchristian/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-22T10:18:28Z","updated_at":"2016-11-04T15:22:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c5e4dd8ae58ddf8593f744bf4965ce963e0e7b0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/coala/coala/pulls/2887/commits","review_comments_url":"https://api.github.com/repos/coala/coala/pulls/2887/comments","review_comment_url":"https://api.github.com/repos/coala/coala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coala/coala/issues/2887/comments","statuses_url":"https://api.github.com/repos/coala/coala/statuses/21484a53efb48d8eaa8c16ee502e442d198191cb","head":{"label":"Asnelchristian:sem","ref":"sem","sha":"21484a53efb48d8eaa8c16ee502e442d198191cb","user":{"login":"Asnelchristian","id":10449314,"avatar_url":"https://avatars.githubusercontent.com/u/10449314?v=3","gravatar_id":"","url":"https://api.github.com/users/Asnelchristian","html_url":"https://github.com/Asnelchristian","followers_url":"https://api.github.com/users/Asnelchristian/followers","following_url":"https://api.github.com/users/Asnelchristian/following{/other_user}","gists_url":"https://api.github.com/users/Asnelchristian/gists{/gist_id}","starred_url":"https://api.github.com/users/Asnelchristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asnelchristian/subscriptions","organizations_url":"https://api.github.com/users/Asnelchristian/orgs","repos_url":"https://api.github.com/users/Asnelchristian/repos","events_url":"https://api.github.com/users/Asnelchristian/events{/privacy}","received_events_url":"https://api.github.com/users/Asnelchristian/received_events","type":"User","site_admin":false},"repo":{"id":59472985,"name":"coala","full_name":"Asnelchristian/coala","owner":{"login":"Asnelchristian","id":10449314,"avatar_url":"https://avatars.githubusercontent.com/u/10449314?v=3","gravatar_id":"","url":"https://api.github.com/users/Asnelchristian","html_url":"https://github.com/Asnelchristian","followers_url":"https://api.github.com/users/Asnelchristian/followers","following_url":"https://api.github.com/users/Asnelchristian/following{/other_user}","gists_url":"https://api.github.com/users/Asnelchristian/gists{/gist_id}","starred_url":"https://api.github.com/users/Asnelchristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asnelchristian/subscriptions","organizations_url":"https://api.github.com/users/Asnelchristian/orgs","repos_url":"https://api.github.com/users/Asnelchristian/repos","events_url":"https://api.github.com/users/Asnelchristian/events{/privacy}","received_events_url":"https://api.github.com/users/Asnelchristian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Asnelchristian/coala","description":"Easy to use code analysis framework/application - yes! For all languages!","fork":true,"url":"https://api.github.com/repos/Asnelchristian/coala","forks_url":"https://api.github.com/repos/Asnelchristian/coala/forks","keys_url":"https://api.github.com/repos/Asnelchristian/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Asnelchristian/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Asnelchristian/coala/teams","hooks_url":"https://api.github.com/repos/Asnelchristian/coala/hooks","issue_events_url":"https://api.github.com/repos/Asnelchristian/coala/issues/events{/number}","events_url":"https://api.github.com/repos/Asnelchristian/coala/events","assignees_url":"https://api.github.com/repos/Asnelchristian/coala/assignees{/user}","branches_url":"https://api.github.com/repos/Asnelchristian/coala/branches{/branch}","tags_url":"https://api.github.com/repos/Asnelchristian/coala/tags","blobs_url":"https://api.github.com/repos/Asnelchristian/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Asnelchristian/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Asnelchristian/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/Asnelchristian/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Asnelchristian/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/Asnelchristian/coala/languages","stargazers_url":"https://api.github.com/repos/Asnelchristian/coala/stargazers","contributors_url":"https://api.github.com/repos/Asnelchristian/coala/contributors","subscribers_url":"https://api.github.com/repos/Asnelchristian/coala/subscribers","subscription_url":"https://api.github.com/repos/Asnelchristian/coala/subscription","commits_url":"https://api.github.com/repos/Asnelchristian/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/Asnelchristian/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/Asnelchristian/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/Asnelchristian/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/Asnelchristian/coala/contents/{+path}","compare_url":"https://api.github.com/repos/Asnelchristian/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Asnelchristian/coala/merges","archive_url":"https://api.github.com/repos/Asnelchristian/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Asnelchristian/coala/downloads","issues_url":"https://api.github.com/repos/Asnelchristian/coala/issues{/number}","pulls_url":"https://api.github.com/repos/Asnelchristian/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/Asnelchristian/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/Asnelchristian/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Asnelchristian/coala/labels{/name}","releases_url":"https://api.github.com/repos/Asnelchristian/coala/releases{/id}","deployments_url":"https://api.github.com/repos/Asnelchristian/coala/deployments","created_at":"2016-05-23T10:16:30Z","updated_at":"2016-05-23T10:16:31Z","pushed_at":"2016-11-04T15:05:05Z","git_url":"git://github.com/Asnelchristian/coala.git","ssh_url":"git@github.com:Asnelchristian/coala.git","clone_url":"https://github.com/Asnelchristian/coala.git","svn_url":"https://github.com/Asnelchristian/coala","homepage":"http://coala-analyzer.org/","size":10096,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"coala:master","ref":"master","sha":"a4ce520348f78d7009ecab094134bf406986556c","user":{"login":"coala","id":10620750,"avatar_url":"https://avatars.githubusercontent.com/u/10620750?v=3","gravatar_id":"","url":"https://api.github.com/users/coala","html_url":"https://github.com/coala","followers_url":"https://api.github.com/users/coala/followers","following_url":"https://api.github.com/users/coala/following{/other_user}","gists_url":"https://api.github.com/users/coala/gists{/gist_id}","starred_url":"https://api.github.com/users/coala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala/subscriptions","organizations_url":"https://api.github.com/users/coala/orgs","repos_url":"https://api.github.com/users/coala/repos","events_url":"https://api.github.com/users/coala/events{/privacy}","received_events_url":"https://api.github.com/users/coala/received_events","type":"Organization","site_admin":false},"repo":{"id":19816973,"name":"coala","full_name":"coala/coala","owner":{"login":"coala","id":10620750,"avatar_url":"https://avatars.githubusercontent.com/u/10620750?v=3","gravatar_id":"","url":"https://api.github.com/users/coala","html_url":"https://github.com/coala","followers_url":"https://api.github.com/users/coala/followers","following_url":"https://api.github.com/users/coala/following{/other_user}","gists_url":"https://api.github.com/users/coala/gists{/gist_id}","starred_url":"https://api.github.com/users/coala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala/subscriptions","organizations_url":"https://api.github.com/users/coala/orgs","repos_url":"https://api.github.com/users/coala/repos","events_url":"https://api.github.com/users/coala/events{/privacy}","received_events_url":"https://api.github.com/users/coala/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coala/coala","description":"coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.","fork":false,"url":"https://api.github.com/repos/coala/coala","forks_url":"https://api.github.com/repos/coala/coala/forks","keys_url":"https://api.github.com/repos/coala/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coala/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coala/coala/teams","hooks_url":"https://api.github.com/repos/coala/coala/hooks","issue_events_url":"https://api.github.com/repos/coala/coala/issues/events{/number}","events_url":"https://api.github.com/repos/coala/coala/events","assignees_url":"https://api.github.com/repos/coala/coala/assignees{/user}","branches_url":"https://api.github.com/repos/coala/coala/branches{/branch}","tags_url":"https://api.github.com/repos/coala/coala/tags","blobs_url":"https://api.github.com/repos/coala/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coala/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coala/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/coala/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coala/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/coala/coala/languages","stargazers_url":"https://api.github.com/repos/coala/coala/stargazers","contributors_url":"https://api.github.com/repos/coala/coala/contributors","subscribers_url":"https://api.github.com/repos/coala/coala/subscribers","subscription_url":"https://api.github.com/repos/coala/coala/subscription","commits_url":"https://api.github.com/repos/coala/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/coala/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/coala/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/coala/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/coala/coala/contents/{+path}","compare_url":"https://api.github.com/repos/coala/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coala/coala/merges","archive_url":"https://api.github.com/repos/coala/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coala/coala/downloads","issues_url":"https://api.github.com/repos/coala/coala/issues{/number}","pulls_url":"https://api.github.com/repos/coala/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/coala/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/coala/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coala/coala/labels{/name}","releases_url":"https://api.github.com/repos/coala/coala/releases{/id}","deployments_url":"https://api.github.com/repos/coala/coala/deployments","created_at":"2014-05-15T11:35:34Z","updated_at":"2016-11-03T17:39:49Z","pushed_at":"2016-11-04T15:20:55Z","git_url":"git://github.com/coala/coala.git","ssh_url":"git@github.com:coala/coala.git","clone_url":"https://github.com/coala/coala.git","svn_url":"https://github.com/coala/coala","homepage":"https://coala.io/","size":12432,"stargazers_count":769,"watchers_count":769,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":295,"mirror_url":null,"open_issues_count":265,"forks":295,"open_issues":265,"watchers":769,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/2887"},"html":{"href":"https://github.com/coala/coala/pull/2887"},"issue":{"href":"https://api.github.com/repos/coala/coala/issues/2887"},"comments":{"href":"https://api.github.com/repos/coala/coala/issues/2887/comments"},"review_comments":{"href":"https://api.github.com/repos/coala/coala/pulls/2887/comments"},"review_comment":{"href":"https://api.github.com/repos/coala/coala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coala/coala/pulls/2887/commits"},"statuses":{"href":"https://api.github.com/repos/coala/coala/statuses/21484a53efb48d8eaa8c16ee502e442d198191cb"}}}}
{"actor":{"display_login":"sils"}}