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
42 12 0 0

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 109 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 201-206 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 227 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 321 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 316 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 106 High