The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
com.kdt.api.KdtApiClient | 2 |
com.kdt.test.KDTApiTest | 4 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.kdt.api.KdtApiClient.buildParamStr(HashMap) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 105 | Medium |
com.kdt.api.KdtApiClient.buildCompleteParams(String, HashMap) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 120 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in com.kdt.test.KDTApiTest.sendGet(): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 40 | High |
Found reliance on default encoding in com.kdt.test.KDTApiTest.sendPost(): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 80 | High |
com.kdt.test.KDTApiTest.sendGet() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 40 | Medium |
com.kdt.test.KDTApiTest.sendPost() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 80 | Medium |