SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.0.4

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
40 12 0 0

Files

Class Bugs
org.eclipse.jgit.lfs.LfsBlobLoader 1
org.eclipse.jgit.lfs.LfsPointer 1
org.eclipse.jgit.lfs.LfsPrePushHook 1
org.eclipse.jgit.lfs.SmudgeFilter 3
org.eclipse.jgit.lfs.internal.LfsConnectionFactory 3
org.eclipse.jgit.lfs.internal.LfsConnectionFactory$AuthCache 2
org.eclipse.jgit.lfs.lib.LfsPointerFilter 1

org.eclipse.jgit.lfs.LfsBlobLoader

Bug Category Details Line Priority
org.eclipse.jgit.lfs.LfsBlobLoader.getCachedBytes() may expose internal representation by returning LfsBlobLoader.cached MALICIOUS_CODE EI_EXPOSE_REP 76 Medium

org.eclipse.jgit.lfs.LfsPointer

Bug Category Details Line Priority
org.eclipse.jgit.lfs.LfsPointer defines compareTo(LfsPointer) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 166-171 Medium

org.eclipse.jgit.lfs.LfsPrePushHook

Bug Category Details Line Priority

org.eclipse.jgit.lfs.SmudgeFilter

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jgit.lfs.SmudgeFilter.downloadLfsResource(Lfs, Repository, LfsPointer[]) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 189 Medium

org.eclipse.jgit.lfs.internal.LfsConnectionFactory

Bug Category Details Line Priority

org.eclipse.jgit.lfs.internal.LfsConnectionFactory$AuthCache

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in new org.eclipse.jgit.lfs.internal.LfsConnectionFactory$AuthCache(Protocol$ExpiringAction) STYLE REC_CATCH_EXCEPTION 286 Medium
Call to method of static java.text.DateFormat in new org.eclipse.jgit.lfs.internal.LfsConnectionFactory$AuthCache(Protocol$ExpiringAction) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 281 Medium

org.eclipse.jgit.lfs.lib.LfsPointerFilter

Bug Category Details Line Priority
org.eclipse.jgit.lfs.lib.LfsPointerFilter defines clone() but doesn't implement Cloneable BAD_PRACTICE CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE 73 High