The following document contains the results of SpotBugs
SpotBugs Version is 4.2.3
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
89 | 3 | 0 | 0 |
Class | Bugs |
---|---|
org.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase | 2 |
org.eclipse.jgit.transport.sshd.IdentityPasswordProvider$State | 1 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Random object created and used only once in org.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase.createHostKeyLine(Collection, PublicKey, ServerKeyDatabase$Configuration) | BAD_PRACTICE | DMI_RANDOM_USED_ONLY_ONCE | 682 | High |
Redundant nullcheck of newEntry, which is known to be non-null in org.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase.updateKnownHostsFile(Collection, PublicKey, Path, ServerKeyDatabase$Configuration) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 321 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.sshd.IdentityPasswordProvider$State.getPassword() may expose internal representation by returning IdentityPasswordProvider$State.password | MALICIOUS_CODE | EI_EXPOSE_REP | 98 | Medium |