"severity": "HIGH"
}
],
- "severity": "MAJOR",
"component": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
"project": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
"line": 78,
"endOffset": 39
},
"flows": [],
- "status": "CONFIRMED",
- "issueStatus": "CONFIRMED",
+ "issueStatus": "ACCEPTED",
"message": "Provide multiple methods instead of using \"modal\" to determine which action to take.",
"effort": "15min",
"debt": "15min",
],
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
- "type": "CODE_SMELL",
"ruleDescriptionContextKey": "spring"
},
"components": [
"issue": {
"key": "AVibidgv1LF0E-ru2DVv",
"rule": "squid:S2301",
- "severity": "MAJOR",
"cleanCodeAttribute": "CLEAR",
"cleanCodeAttributeCategory": "INTENTIONAL",
"impacts": [
"endOffset": 39
},
"flows": [],
- "status": "CONFIRMED",
- "issueStatus": "CONFIRMED",
+ "issueStatus": "ACCEPTED",
"message": "Provide multiple methods instead of using \"modal\" to determine which action to take.",
"effort": "15min",
"debt": "15min",
],
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
- "type": "CODE_SMELL",
"ruleDescriptionContextKey": "spring"
},
"components": [
"severity": "HIGH"
}
],
- "severity": "MAJOR",
"component": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
"project": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
"line": 78,
"endOffset": 39
},
"flows": [],
- "status": "CONFIRMED",
- "issueStatus": "CONFIRMED",
+ "issueStatus": "ACCEPTED",
"message": "Provide multiple methods instead of using \"modal\" to determine which action to take.",
"effort": "15min",
"debt": "15min",
],
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
- "type": "CODE_SMELL",
"ruleDescriptionContextKey": "spring"
},
"components": [
"severity": "HIGH"
}
],
- "severity": "MAJOR",
"component": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
"project": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
"line": 78,
"endOffset": 39
},
"flows": [],
- "status": "CONFIRMED",
- "issueStatus": "CONFIRMED",
+ "issueStatus": "ACCEPTED",
"message": "Provide multiple methods instead of using \"modal\" to determine which action to take.",
"effort": "15min",
"debt": "15min",
],
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
- "type": "CODE_SMELL",
"ruleDescriptionContextKey": "spring"
},
"components": [
"issue": {
"key": "AVibidgv1LF0E-ru2DVv",
"rule": "squid:S2301",
- "severity": "MAJOR",
"cleanCodeAttribute": "CLEAR",
"cleanCodeAttributeCategory": "INTENTIONAL",
"impacts": [
"endOffset": 39
},
"flows": [],
- "status": "CONFIRMED",
- "issueStatus": "CONFIRMED",
+ "issueStatus": "ACCEPTED",
"message": "Provide multiple methods instead of using \"modal\" to determine which action to take.",
"effort": "15min",
"debt": "15min",
],
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
- "type": "CODE_SMELL",
"ruleDescriptionContextKey": "spring"
},
"components": [
--- /dev/null
+{
+ "paging": {
+ "pageIndex": 1,
+ "pageSize": 100,
+ "total": 1
+ },
+ "issues": [
+ {
+ "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
+ "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
+ "project": "com.github.kevinsawicki:http-request",
+ "rule": "java:S1144",
+ "cleanCodeAttribute": "CLEAR",
+ "cleanCodeAttributeCategory": "INTENTIONAL",
+ "issueStatus": "ACCEPTED",
+ "impacts": [
+ {
+ "softwareQuality": "SECURITY",
+ "severity": "HIGH"
+ }
+ ],
+ "message": "Remove this unused private \"getKee\" method.",
+ "messageFormattings": [
+ {
+ "start": 0,
+ "end": 4,
+ "type": "CODE"
+ }
+ ],
+ "line": 81,
+ "hash": "a227e508d6646b55a086ee11d63b21e9",
+ "author": "Developer 1",
+ "effort": "2h1min",
+ "creationDate": "2013-05-13T17:55:39+0200",
+ "updateDate": "2013-05-13T17:55:39+0200",
+ "tags": [
+ "bug"
+ ],
+ "comments": [
+ {
+ "key": "7d7c56f5-7b5a-41b9-87f8-36fa70caa5ba",
+ "login": "john.smith",
+ "htmlText": "Must be "public"!",
+ "markdown": "Must be \"public\"!",
+ "updatable": false,
+ "createdAt": "2013-05-13T18:08:34+0200"
+ }
+ ],
+ "attr": {
+ "jira-issue-key": "SONAR-1234"
+ },
+ "transitions": [
+ "reopen"
+ ],
+ "actions": [
+ "comment"
+ ],
+ "textRange": {
+ "startLine": 2,
+ "endLine": 2,
+ "startOffset": 0,
+ "endOffset": 204
+ },
+ "flows": [
+ {
+ "locations": [
+ {
+ "textRange": {
+ "startLine": 16,
+ "endLine": 16,
+ "startOffset": 0,
+ "endOffset": 30
+ },
+ "msg": "Expected position: 5",
+ "msgFormattings": [
+ {
+ "start": 0,
+ "end": 4,
+ "type": "CODE"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "locations": [
+ {
+ "textRange": {
+ "startLine": 15,
+ "endLine": 15,
+ "startOffset": 0,
+ "endOffset": 37
+ },
+ "msg": "Expected position: 6",
+ "msgFormattings": []
+ }
+ ]
+ }
+ ],
+ "quickFixAvailable": false,
+ "ruleDescriptionContextKey": "spring",
+ "codeVariants": [
+ "windows",
+ "linux"
+ ]
+ }
+ ],
+ "components": [
+ {
+ "key": "com.github.kevinsawicki:http-request:src/main/java/com/github/kevinsawicki/http/HttpRequest.java",
+ "enabled": true,
+ "qualifier": "FIL",
+ "name": "HttpRequest.java",
+ "longName": "src/main/java/com/github/kevinsawicki/http/HttpRequest.java",
+ "path": "src/main/java/com/github/kevinsawicki/http/HttpRequest.java"
+ },
+ {
+ "key": "com.github.kevinsawicki:http-request",
+ "enabled": true,
+ "qualifier": "TRK",
+ "name": "http-request",
+ "longName": "http-request"
+ }
+ ]
+}
"component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
"project": "com.github.kevinsawicki:http-request",
"rule": "java:S1144",
- "status": "RESOLVED",
- "resolution": "WONTFIX",
- "severity": "MAJOR",
"cleanCodeAttribute": "CLEAR",
"cleanCodeAttributeCategory": "INTENTIONAL",
"issueStatus": "ACCEPTED",
"tags": [
"bug"
],
- "type": "CODE_SMELL",
"comments": [
{
"key": "7d7c56f5-7b5a-41b9-87f8-36fa70caa5ba",
"active": true,
"avatar": "ab0ec6adc38ad44a15105f207394946f"
}
+ ],
+ "facets": [
+ {
+ "property": "cleanCodeAttributeCategories",
+ "values": [
+ {
+ "val": "INTENTIONAL",
+ "count": 6912
+ },
+ {
+ "val": "CONSISTENT",
+ "count": 4950
+ },
+ {
+ "val": "ADAPTABLE",
+ "count": 899
+ },
+ {
+ "val": "RESPONSIBLE",
+ "count": 27
+ }
+ ]
+ },
+ {
+ "property": "impactSeverities",
+ "values": [
+ {
+ "val": "HIGH",
+ "count": 435
+ },
+ {
+ "val": "LOW",
+ "count": 7858
+ },
+ {
+ "val": "MEDIUM",
+ "count": 4495
+ }
+ ]
+ }
]
}
"issue": {
"key": "AVibidgv1LF0E-ru2DVv",
"rule": "squid:S2301",
- "severity": "MAJOR",
"cleanCodeAttribute": "CLEAR",
"cleanCodeAttributeCategory": "INTENTIONAL",
"impacts": [
"endOffset": 39
},
"flows": [],
- "status": "CONFIRMED",
+ "issueStatus": "ACCEPTED",
"message": "Provide multiple methods instead of using \"modal\" to determine which action to take.",
"effort": "15min",
"debt": "15min",
],
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
- "type": "CODE_SMELL",
"ruleDescriptionContextKey": "spring"
},
"components": [