{"action":"created","issue":{"url":"https://api.github.com/repos/SonarSource/sonarqube/issues/801","repository_url":"https://api.github.com/repos/SonarSource/sonarqube","labels_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/801/labels{/name}","comments_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/801/comments","events_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/801/events","html_url":"https://github.com/SonarSource/sonarqube/pull/801","id":137640781,"number":801,"title":"Add type on rules","user":{"login":"julienlancelot","id":370769,"avatar_url":"https://avatars.githubusercontent.com/u/370769?v=3","gravatar_id":"","url":"https://api.github.com/users/julienlancelot","html_url":"https://github.com/julienlancelot","followers_url":"https://api.github.com/users/julienlancelot/followers","following_url":"https://api.github.com/users/julienlancelot/following{/other_user}","gists_url":"https://api.github.com/users/julienlancelot/gists{/gist_id}","starred_url":"https://api.github.com/users/julienlancelot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienlancelot/subscriptions","organizations_url":"https://api.github.com/users/julienlancelot/orgs","repos_url":"https://api.github.com/users/julienlancelot/repos","events_url":"https://api.github.com/users/julienlancelot/events{/privacy}","received_events_url":"https://api.github.com/users/julienlancelot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-01T17:44:46Z","updated_at":"2016-03-02T07:43:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SonarSource/sonarqube/pulls/801","html_url":"https://github.com/SonarSource/sonarqube/pull/801","diff_url":"https://github.com/SonarSource/sonarqube/pull/801.diff","patch_url":"https://github.com/SonarSource/sonarqube/pull/801.patch"},"body":"- Feed RULES.RULE_TYPE\n- Add type in DTO / DOC / WS\n- Synchronize type from plugins\n- Clean up remaining code on characteristic"},"comment":{"url":"https://api.github.com/repos/SonarSource/sonarqube/issues/comments/191113983","html_url":"https://github.com/SonarSource/sonarqube/pull/801#issuecomment-191113983","issue_url":"https://api.github.com/repos/SonarSource/sonarqube/issues/801","id":191113983,"user":{"login":"SonarTech","id":1842438,"avatar_url":"https://avatars.githubusercontent.com/u/1842438?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarTech","html_url":"https://github.com/SonarTech","followers_url":"https://api.github.com/users/SonarTech/followers","following_url":"https://api.github.com/users/SonarTech/following{/other_user}","gists_url":"https://api.github.com/users/SonarTech/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarTech/subscriptions","organizations_url":"https://api.github.com/users/SonarTech/orgs","repos_url":"https://api.github.com/users/SonarTech/repos","events_url":"https://api.github.com/users/SonarTech/events{/privacy}","received_events_url":"https://api.github.com/users/SonarTech/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T07:43:29Z","updated_at":"2016-03-02T07:43:29Z","body":"SonarQube analysis reported 6 issues:\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) 5 major\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) 1 minor\n\nWatch the comments in this conversation to review them.\nNote: the following issues could not be reported as comments because they are located on lines that are not displayed in this pull request:\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Add a 'package-info.java' file to document the 'rule' package (org.sonarsource.sonarqube:sonar-core:src/main/java/org/sonar/core/rule) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://dory.sonarsource.com/coding_rules#rule_key=squid%3AS1228)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Remove this unused \"ruleFinder\" private field.](https://github.com/SonarSource/sonarqube/blob/2e15c607dfd1bf218e041d359eca2586da90b2fe/server/sonar-server/src/main/java/org/sonar/server/issue/IssueService.java#L80) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://dory.sonarsource.com/coding_rules#rule_key=squid%3AS1068)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [The Cyclomatic Complexity of this method \"addDefaultFacets\" is 12 which is greater than 10 authorized.](https://github.com/SonarSource/sonarqube/blob/2e15c607dfd1bf218e041d359eca2586da90b2fe/server/sonar-server/src/main/java/org/sonar/server/rule/index/RuleIndex.java#L355) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://dory.sonarsource.com/coding_rules#rule_key=squid%3AMethodCyclomaticComplexity)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [This method has 105 lines, which is greater than the 100 lines authorized. Split it into smaller methods.](https://github.com/SonarSource/sonarqube/blob/2e15c607dfd1bf218e041d359eca2586da90b2fe/server/sonar-server/src/main/java/org/sonar/server/rule/index/RuleIndex.java#L213) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://dory.sonarsource.com/coding_rules#rule_key=squid%3AS138)\n"}}