-
Home
- Project Documentation Project Reports 10
SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.4
Threshold is medium
Effort is default
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
5 | 9 | 0 | 0 |
Files
Class | Bugs |
---|---|
org.sentrysoftware.ssh.SshClient | 3 |
org.sentrysoftware.ssh.SshClient$2 | 2 |
org.sentrysoftware.ssh.SshClient$CommandResult | 4 |
org.sentrysoftware.ssh.SshClient
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.sentrysoftware.ssh.SshClient.interactiveSession(InputStream, OutputStream): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 731 | High |
Found reliance on default encoding in org.sentrysoftware.ssh.SshClient.readFile(String, Long, Integer): java.io.ByteArrayOutputStream.toString() | I18N | DM_DEFAULT_ENCODING | 519 | High |
Integral division result cast to double or float in org.sentrysoftware.ssh.SshClient.executeCommand(String, int) | STYLE | ICAST_IDIV_CAST_TO_DOUBLE | 697 | Medium |
org.sentrysoftware.ssh.SshClient$2
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.sentrysoftware.ssh.SshClient$2.run() might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 742 | Medium |
Found reliance on default encoding in org.sentrysoftware.ssh.SshClient$2.run(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 739 | High |
org.sentrysoftware.ssh.SshClient$CommandResult
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.sentrysoftware.ssh.SshClient$CommandResult.executionTime | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 598 | Medium |
Unread public/protected field: org.sentrysoftware.ssh.SshClient$CommandResult.exitStatus | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 604 | Medium |
Unread public/protected field: org.sentrysoftware.ssh.SshClient$CommandResult.result | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 609 | Medium |
Unread public/protected field: org.sentrysoftware.ssh.SshClient$CommandResult.success | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 592 | Medium |
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.