SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 3.1.12

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
73 3 0 0

Files

Class Bugs
org.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase 2
org.eclipse.jgit.transport.sshd.IdentityPasswordProvider$State 1

org.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase

Bug Category Details Line Priority
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 353 Medium
Nullcheck of oldLine at line 382 of value previously dereferenced in org.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase.updateModifiedServerKey(PublicKey, KnownHostsServerKeyVerifier$HostEntryPair, Path) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 382 Medium

org.eclipse.jgit.transport.sshd.IdentityPasswordProvider$State

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 130 Medium