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
13 4 0 0

Files

Class Bugs
org.eclipse.jgit.internal.transport.ssh.jsch.CredentialsProviderUserInfo 1
org.eclipse.jgit.transport.ssh.jsch.JschConfigSessionFactory 2
org.eclipse.jgit.transport.ssh.jsch.JschSession 1

org.eclipse.jgit.internal.transport.ssh.jsch.CredentialsProviderUserInfo

Bug Category Details Line Priority
new org.eclipse.jgit.internal.transport.ssh.jsch.CredentialsProviderUserInfo(Session, CredentialsProvider) may expose internal representation by storing an externally mutable object into CredentialsProviderUserInfo.provider MALICIOUS_CODE EI_EXPOSE_REP2 50 Medium

org.eclipse.jgit.transport.ssh.jsch.JschConfigSessionFactory

Bug Category Details Line Priority
Inconsistent synchronization of org.eclipse.jgit.transport.ssh.jsch.JschConfigSessionFactory.config; locked 80% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 384 Medium
org.eclipse.jgit.transport.ssh.jsch.JschConfigSessionFactory.getSession(URIish, CredentialsProvider, FS, int) calls Thread.sleep() with a lock held MT_CORRECTNESS SWL_SLEEP_WITH_LOCK_HELD 146 Medium

org.eclipse.jgit.transport.ssh.jsch.JschSession

Bug Category Details Line Priority
new org.eclipse.jgit.transport.ssh.jsch.JschSession(Session, URIish) may expose internal representation by storing an externally mutable object into JschSession.sock MALICIOUS_CODE EI_EXPOSE_REP2 67 Medium