SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.3.0
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
12 |
6 |
0 |
0 |
org.eclipse.jgit.junit.ssh.SshTestGitServer
Bug |
Category |
Details |
Line |
Priority |
org.eclipse.jgit.junit.ssh.SshTestGitServer.getPropertyResolver() may expose internal representation by returning SshTestGitServer.server |
MALICIOUS_CODE |
EI_EXPOSE_REP |
407 |
Medium |
new org.eclipse.jgit.junit.ssh.SshTestGitServer(String, PublicKey, Repository, KeyPair) may expose internal representation by storing an externally mutable object into SshTestGitServer.repository |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
169 |
Medium |
org.eclipse.jgit.junit.ssh.SshTestGitServer$FakeUserAuthGSS
Bug |
Category |
Details |
Line |
Priority |
org.eclipse.jgit.junit.ssh.SshTestGitServer$FakeUserAuthGSS.doAuth(Buffer, boolean) has Boolean return type and returns explicit null |
BAD_PRACTICE |
NP_BOOLEAN_RETURN_NULL |
257 |
Medium |
org.eclipse.jgit.junit.ssh.SshTestHarness$LogEntry
Bug |
Category |
Details |
Line |
Priority |
org.eclipse.jgit.junit.ssh.SshTestHarness$LogEntry.getItems() may expose internal representation by returning SshTestHarness$LogEntry.items |
MALICIOUS_CODE |
EI_EXPOSE_REP |
440 |
Medium |
new org.eclipse.jgit.junit.ssh.SshTestHarness$LogEntry(URIish, List) may expose internal representation by storing an externally mutable object into SshTestHarness$LogEntry.items |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
432 |
Medium |
org.eclipse.jgit.junit.ssh.SshTestHarness$TestCredentialsProvider
Bug |
Category |
Details |
Line |
Priority |
org.eclipse.jgit.junit.ssh.SshTestHarness$TestCredentialsProvider.getLog() may expose internal representation by returning SshTestHarness$TestCredentialsProvider.log |
MALICIOUS_CODE |
EI_EXPOSE_REP |
420 |
Medium |