SSH Java Client 1.0.03
-
Home
- Project Documentation Project Reports 10
SpotBugs Bug Detector Report
The following document contains the results of SpotBugs[1]
SpotBugs Version is 4.9.2
Threshold is medium
Effort is default
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
5 | 9 | 0 | 0 |
Files
Class | Bugs |
---|---|
org.metricshub.ssh.SshClient | 3 |
org.metricshub.ssh.SshClient$2 | 2 |
org.metricshub.ssh.SshClient$CommandResult | 4 |
org.metricshub.ssh.SshClient
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.metricshub.ssh.SshClient.interactiveSession(InputStream, OutputStream): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING[2] | 747[3] | High |
Found reliance on default encoding in org.metricshub.ssh.SshClient.readFile(String, Long, Integer): java.io.ByteArrayOutputStream.toString() | I18N | DM_DEFAULT_ENCODING[2] | 544[4] | High |
Integral division result cast to double or float in org.metricshub.ssh.SshClient.executeCommand(String, int) | STYLE | ICAST_IDIV_CAST_TO_DOUBLE[5] | 715[6] | Medium |
org.metricshub.ssh.SshClient$2
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.metricshub.ssh.SshClient$2.run() might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE[7] | 758[8] | Medium |
Found reliance on default encoding in org.metricshub.ssh.SshClient$2.run(): String.getBytes() | I18N | DM_DEFAULT_ENCODING[2] | 755[9] | High |
org.metricshub.ssh.SshClient$CommandResult
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.metricshub.ssh.SshClient$CommandResult.executionTime | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD[10] | 620[11] | Medium |
Unread public/protected field: org.metricshub.ssh.SshClient$CommandResult.exitStatus | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD[10] | 626[12] | Medium |
Unread public/protected field: org.metricshub.ssh.SshClient$CommandResult.result | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD[10] | 631[13] | Medium |
Unread public/protected field: org.metricshub.ssh.SshClient$CommandResult.success | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD[10] | 614[14] | Medium |
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.