SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 3.1.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
42 13 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
Possible null pointer dereference in org.eclipse.jgit.lfs.SmudgeFilter.downloadLfsResource(Lfs, Repository, LfsPointer[]) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 225 Medium
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 225 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 320 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 315 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