{"action":"created","comment":{"url":"https://api.github.com/repos/checkstyle/checkstyle/pulls/comments/37066110","id":37066110,"diff_hunk":"@@ -1056,6 +1094,81 @@\n     </profile>\n \n     <profile>\n+      <id>jacoco</id>\n+      <build>\n+        <plugins>\n+          <plugin>\n+            <groupId>org.jacoco</groupId>\n+            <artifactId>jacoco-maven-plugin</artifactId>\n+            <version>0.7.5.201505241946</version>\n+            <configuration>\n+              <haltOnFailure>true</haltOnFailure>\n+            </configuration>\n+            <executions>\n+              <execution>\n+                <id>default-instrument</id>\n+                <goals>\n+                  <goal>instrument</goal>\n+                </goals>\n+                <configuration>\n+                  <excludes>\n+                    <exclude>com/puppycrawl/tools/checkstyle/ant/CheckstyleAntTask*.class</exclude>\n+                    <exclude>com/puppycrawl/tools/checkstyle/doclets/*.class</exclude>\n+                    <exclude>com/puppycrawl/tools/checkstyle/grammars/*.class</exclude>\n+                    <exclude>com/puppycrawl/tools/checkstyle/grammars/javadoc/*.class</exclude>\n+                    <exclude>com/puppycrawl/tools/checkstyle/gui/*.class</exclude>\n+                  </excludes>\n+                </configuration>\n+              </execution>\n+              <execution>\n+                <id>default-restore-instrumented-classes</id>\n+                <goals>\n+                  <goal>restore-instrumented-classes</goal>\n+                </goals>\n+              </execution>\n+              <execution>\n+                <id>default-report</id>\n+                <phase>site</phase>\n+                <goals>\n+                  <goal>report</goal>\n+                </goals>\n+                <configuration>\n+                  <dataFile>${basedir}/target/jacoco.exec</dataFile>","path":"pom.xml","position":111,"original_position":111,"commit_id":"bedab9c93f5ec6d56cf485af1dc5972026c6b56d","original_commit_id":"bedab9c93f5ec6d56cf485af1dc5972026c6b56d","user":{"login":"Godin","id":138671,"avatar_url":"https://avatars.githubusercontent.com/u/138671?v=3","gravatar_id":"","url":"https://api.github.com/users/Godin","html_url":"https://github.com/Godin","followers_url":"https://api.github.com/users/Godin/followers","following_url":"https://api.github.com/users/Godin/following{/other_user}","gists_url":"https://api.github.com/users/Godin/gists{/gist_id}","starred_url":"https://api.github.com/users/Godin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godin/subscriptions","organizations_url":"https://api.github.com/users/Godin/orgs","repos_url":"https://api.github.com/users/Godin/repos","events_url":"https://api.github.com/users/Godin/events{/privacy}","received_events_url":"https://api.github.com/users/Godin/received_events","type":"User","site_admin":false},"body":"@MEZk IMO anyway ``${project.build.directory}`` is better than ``${basedir}/target``","created_at":"2015-08-14T10:42:58Z","updated_at":"2015-08-14T10:42:58Z","html_url":"https://github.com/checkstyle/checkstyle/pull/1549#discussion_r37066110","pull_request_url":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1549","_links":{"self":{"href":"https://api.github.com/repos/checkstyle/checkstyle/pulls/comments/37066110"},"html":{"href":"https://github.com/checkstyle/checkstyle/pull/1549#discussion_r37066110"},"pull_request":{"href":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1549"}}},"pull_request":{"url":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1549","id":41506915,"html_url":"https://github.com/checkstyle/checkstyle/pull/1549","diff_url":"https://github.com/checkstyle/checkstyle/pull/1549.diff","patch_url":"https://github.com/checkstyle/checkstyle/pull/1549.patch","issue_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1549","number":1549,"state":"open","locked":false,"title":"Created JaCoCo profile of pom.xml, issue #1173.","user":{"login":"MEZk","id":7242568,"avatar_url":"https://avatars.githubusercontent.com/u/7242568?v=3","gravatar_id":"","url":"https://api.github.com/users/MEZk","html_url":"https://github.com/MEZk","followers_url":"https://api.github.com/users/MEZk/followers","following_url":"https://api.github.com/users/MEZk/following{/other_user}","gists_url":"https://api.github.com/users/MEZk/gists{/gist_id}","starred_url":"https://api.github.com/users/MEZk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MEZk/subscriptions","organizations_url":"https://api.github.com/users/MEZk/orgs","repos_url":"https://api.github.com/users/MEZk/repos","events_url":"https://api.github.com/users/MEZk/events{/privacy}","received_events_url":"https://api.github.com/users/MEZk/received_events","type":"User","site_admin":false},"body":"Created JaCoCo profile of pom.xml, issue #1173.\r\n\r\nDue to the fact that ImportOrderCheck and ImportOrderOption are reported fully uncovered by JaCoCo and according to @Godin's [comment](https://github.com/checkstyle/checkstyle/issues/1173#issuecomment-127411231) we should use ```jacoco:instrument```. See [offline instrumentation](http://www.eclemma.org/jacoco/trunk/doc/offline.html) for more details\r\n\r\nTo use jacoco profile:  mvn -Pjacoco clean site.\r\n\r\nCoverage reports with excludes:\r\n\r\n1) Cobertura:\r\n![cobertura](https://cloud.githubusercontent.com/assets/7242568/9049485/2d42fc0e-3a4b-11e5-8a1d-5e5c86675dbe.png)\r\n\r\n2) Jacoco:\r\n![jacoco](https://cloud.githubusercontent.com/assets/7242568/9049524/8765fb6e-3a4b-11e5-8c95-c7a5e2d65505.png)\r\n\r\n[FULL REPORTS](http://mezk.github.io)\r\n\r\nUnresolved problems: https://github.com/checkstyle/checkstyle/issues/1173#issuecomment-127425818","created_at":"2015-08-03T20:35:19Z","updated_at":"2015-08-14T10:42:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20b8bc91a8f3b4c5e7eb04c6b9aefc2152f9014d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1549/commits","review_comments_url":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1549/comments","review_comment_url":"https://api.github.com/repos/checkstyle/checkstyle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1549/comments","statuses_url":"https://api.github.com/repos/checkstyle/checkstyle/statuses/bedab9c93f5ec6d56cf485af1dc5972026c6b56d","head":{"label":"MEZk:i1173-JaCoCo","ref":"i1173-JaCoCo","sha":"bedab9c93f5ec6d56cf485af1dc5972026c6b56d","user":{"login":"MEZk","id":7242568,"avatar_url":"https://avatars.githubusercontent.com/u/7242568?v=3","gravatar_id":"","url":"https://api.github.com/users/MEZk","html_url":"https://github.com/MEZk","followers_url":"https://api.github.com/users/MEZk/followers","following_url":"https://api.github.com/users/MEZk/following{/other_user}","gists_url":"https://api.github.com/users/MEZk/gists{/gist_id}","starred_url":"https://api.github.com/users/MEZk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MEZk/subscriptions","organizations_url":"https://api.github.com/users/MEZk/orgs","repos_url":"https://api.github.com/users/MEZk/repos","events_url":"https://api.github.com/users/MEZk/events{/privacy}","received_events_url":"https://api.github.com/users/MEZk/received_events","type":"User","site_admin":false},"repo":{"id":38616150,"name":"checkstyle","full_name":"MEZk/checkstyle","owner":{"login":"MEZk","id":7242568,"avatar_url":"https://avatars.githubusercontent.com/u/7242568?v=3","gravatar_id":"","url":"https://api.github.com/users/MEZk","html_url":"https://github.com/MEZk","followers_url":"https://api.github.com/users/MEZk/followers","following_url":"https://api.github.com/users/MEZk/following{/other_user}","gists_url":"https://api.github.com/users/MEZk/gists{/gist_id}","starred_url":"https://api.github.com/users/MEZk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MEZk/subscriptions","organizations_url":"https://api.github.com/users/MEZk/orgs","repos_url":"https://api.github.com/users/MEZk/repos","events_url":"https://api.github.com/users/MEZk/events{/privacy}","received_events_url":"https://api.github.com/users/MEZk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MEZk/checkstyle","description":"Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.","fork":true,"url":"https://api.github.com/repos/MEZk/checkstyle","forks_url":"https://api.github.com/repos/MEZk/checkstyle/forks","keys_url":"https://api.github.com/repos/MEZk/checkstyle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MEZk/checkstyle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MEZk/checkstyle/teams","hooks_url":"https://api.github.com/repos/MEZk/checkstyle/hooks","issue_events_url":"https://api.github.com/repos/MEZk/checkstyle/issues/events{/number}","events_url":"https://api.github.com/repos/MEZk/checkstyle/events","assignees_url":"https://api.github.com/repos/MEZk/checkstyle/assignees{/user}","branches_url":"https://api.github.com/repos/MEZk/checkstyle/branches{/branch}","tags_url":"https://api.github.com/repos/MEZk/checkstyle/tags","blobs_url":"https://api.github.com/repos/MEZk/checkstyle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MEZk/checkstyle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MEZk/checkstyle/git/refs{/sha}","trees_url":"https://api.github.com/repos/MEZk/checkstyle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MEZk/checkstyle/statuses/{sha}","languages_url":"https://api.github.com/repos/MEZk/checkstyle/languages","stargazers_url":"https://api.github.com/repos/MEZk/checkstyle/stargazers","contributors_url":"https://api.github.com/repos/MEZk/checkstyle/contributors","subscribers_url":"https://api.github.com/repos/MEZk/checkstyle/subscribers","subscription_url":"https://api.github.com/repos/MEZk/checkstyle/subscription","commits_url":"https://api.github.com/repos/MEZk/checkstyle/commits{/sha}","git_commits_url":"https://api.github.com/repos/MEZk/checkstyle/git/commits{/sha}","comments_url":"https://api.github.com/repos/MEZk/checkstyle/comments{/number}","issue_comment_url":"https://api.github.com/repos/MEZk/checkstyle/issues/comments{/number}","contents_url":"https://api.github.com/repos/MEZk/checkstyle/contents/{+path}","compare_url":"https://api.github.com/repos/MEZk/checkstyle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MEZk/checkstyle/merges","archive_url":"https://api.github.com/repos/MEZk/checkstyle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MEZk/checkstyle/downloads","issues_url":"https://api.github.com/repos/MEZk/checkstyle/issues{/number}","pulls_url":"https://api.github.com/repos/MEZk/checkstyle/pulls{/number}","milestones_url":"https://api.github.com/repos/MEZk/checkstyle/milestones{/number}","notifications_url":"https://api.github.com/repos/MEZk/checkstyle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MEZk/checkstyle/labels{/name}","releases_url":"https://api.github.com/repos/MEZk/checkstyle/releases{/id}","created_at":"2015-07-06T12:01:38Z","updated_at":"2015-07-06T12:01:41Z","pushed_at":"2015-08-14T08:40:05Z","git_url":"git://github.com/MEZk/checkstyle.git","ssh_url":"git@github.com:MEZk/checkstyle.git","clone_url":"https://github.com/MEZk/checkstyle.git","svn_url":"https://github.com/MEZk/checkstyle","homepage":"http://checkstyle.sourceforge.net/","size":43744,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"checkstyle:master","ref":"master","sha":"aa0f77eb9294588b0d891dbde516bc43a5af4f5a","user":{"login":"checkstyle","id":5179750,"avatar_url":"https://avatars.githubusercontent.com/u/5179750?v=3","gravatar_id":"","url":"https://api.github.com/users/checkstyle","html_url":"https://github.com/checkstyle","followers_url":"https://api.github.com/users/checkstyle/followers","following_url":"https://api.github.com/users/checkstyle/following{/other_user}","gists_url":"https://api.github.com/users/checkstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/checkstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/checkstyle/subscriptions","organizations_url":"https://api.github.com/users/checkstyle/orgs","repos_url":"https://api.github.com/users/checkstyle/repos","events_url":"https://api.github.com/users/checkstyle/events{/privacy}","received_events_url":"https://api.github.com/users/checkstyle/received_events","type":"Organization","site_admin":false},"repo":{"id":12499251,"name":"checkstyle","full_name":"checkstyle/checkstyle","owner":{"login":"checkstyle","id":5179750,"avatar_url":"https://avatars.githubusercontent.com/u/5179750?v=3","gravatar_id":"","url":"https://api.github.com/users/checkstyle","html_url":"https://github.com/checkstyle","followers_url":"https://api.github.com/users/checkstyle/followers","following_url":"https://api.github.com/users/checkstyle/following{/other_user}","gists_url":"https://api.github.com/users/checkstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/checkstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/checkstyle/subscriptions","organizations_url":"https://api.github.com/users/checkstyle/orgs","repos_url":"https://api.github.com/users/checkstyle/repos","events_url":"https://api.github.com/users/checkstyle/events{/privacy}","received_events_url":"https://api.github.com/users/checkstyle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/checkstyle/checkstyle","description":"Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.","fork":false,"url":"https://api.github.com/repos/checkstyle/checkstyle","forks_url":"https://api.github.com/repos/checkstyle/checkstyle/forks","keys_url":"https://api.github.com/repos/checkstyle/checkstyle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/checkstyle/checkstyle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/checkstyle/checkstyle/teams","hooks_url":"https://api.github.com/repos/checkstyle/checkstyle/hooks","issue_events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/events{/number}","events_url":"https://api.github.com/repos/checkstyle/checkstyle/events","assignees_url":"https://api.github.com/repos/checkstyle/checkstyle/assignees{/user}","branches_url":"https://api.github.com/repos/checkstyle/checkstyle/branches{/branch}","tags_url":"https://api.github.com/repos/checkstyle/checkstyle/tags","blobs_url":"https://api.github.com/repos/checkstyle/checkstyle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/checkstyle/checkstyle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/checkstyle/checkstyle/git/refs{/sha}","trees_url":"https://api.github.com/repos/checkstyle/checkstyle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/checkstyle/checkstyle/statuses/{sha}","languages_url":"https://api.github.com/repos/checkstyle/checkstyle/languages","stargazers_url":"https://api.github.com/repos/checkstyle/checkstyle/stargazers","contributors_url":"https://api.github.com/repos/checkstyle/checkstyle/contributors","subscribers_url":"https://api.github.com/repos/checkstyle/checkstyle/subscribers","subscription_url":"https://api.github.com/repos/checkstyle/checkstyle/subscription","commits_url":"https://api.github.com/repos/checkstyle/checkstyle/commits{/sha}","git_commits_url":"https://api.github.com/repos/checkstyle/checkstyle/git/commits{/sha}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/comments{/number}","issue_comment_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/comments{/number}","contents_url":"https://api.github.com/repos/checkstyle/checkstyle/contents/{+path}","compare_url":"https://api.github.com/repos/checkstyle/checkstyle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/checkstyle/checkstyle/merges","archive_url":"https://api.github.com/repos/checkstyle/checkstyle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/checkstyle/checkstyle/downloads","issues_url":"https://api.github.com/repos/checkstyle/checkstyle/issues{/number}","pulls_url":"https://api.github.com/repos/checkstyle/checkstyle/pulls{/number}","milestones_url":"https://api.github.com/repos/checkstyle/checkstyle/milestones{/number}","notifications_url":"https://api.github.com/repos/checkstyle/checkstyle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/labels{/name}","releases_url":"https://api.github.com/repos/checkstyle/checkstyle/releases{/id}","created_at":"2013-08-31T02:05:05Z","updated_at":"2015-08-13T09:37:07Z","pushed_at":"2015-08-14T10:12:24Z","git_url":"git://github.com/checkstyle/checkstyle.git","ssh_url":"git@github.com:checkstyle/checkstyle.git","clone_url":"https://github.com/checkstyle/checkstyle.git","svn_url":"https://github.com/checkstyle/checkstyle","homepage":"http://checkstyle.sourceforge.net/","size":60266,"stargazers_count":451,"watchers_count":451,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":250,"mirror_url":null,"open_issues_count":198,"forks":250,"open_issues":198,"watchers":451,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1549"},"html":{"href":"https://github.com/checkstyle/checkstyle/pull/1549"},"issue":{"href":"https://api.github.com/repos/checkstyle/checkstyle/issues/1549"},"comments":{"href":"https://api.github.com/repos/checkstyle/checkstyle/issues/1549/comments"},"review_comments":{"href":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1549/comments"},"review_comment":{"href":"https://api.github.com/repos/checkstyle/checkstyle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1549/commits"},"statuses":{"href":"https://api.github.com/repos/checkstyle/checkstyle/statuses/bedab9c93f5ec6d56cf485af1dc5972026c6b56d"}}}}