The following document contains the results of SpotBugs
SpotBugs Version is 4.3.0
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
41 | 21 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lfs.InstallBuiltinLfsCommand.setRepository(Repository) may expose internal representation by storing an externally mutable object into InstallBuiltinLfsCommand.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 96 | Medium |
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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lfs.LfsPointer.getOid() may expose internal representation by returning LfsPointer.oid | MALICIOUS_CODE | EI_EXPOSE_REP | 92 | Medium |
new org.eclipse.jgit.lfs.LfsPointer(AnyLongObjectId, long) may expose internal representation by storing an externally mutable object into LfsPointer.oid | MALICIOUS_CODE | EI_EXPOSE_REP2 | 82 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lfs.LfsPrePushHook.setRefs(Collection) may expose internal representation by storing an externally mutable object into LfsPrePushHook.refs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 93 | Medium |
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 | 201 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lfs.errors.CorruptLongObjectException.getContentHash() may expose internal representation by returning CorruptLongObjectException.contentHash | MALICIOUS_CODE | EI_EXPOSE_REP | 64 | Medium |
org.eclipse.jgit.lfs.errors.CorruptLongObjectException.getId() may expose internal representation by returning CorruptLongObjectException.id | MALICIOUS_CODE | EI_EXPOSE_REP | 53 | Medium |
new org.eclipse.jgit.lfs.errors.CorruptLongObjectException(AnyLongObjectId, AnyLongObjectId, String) may expose internal representation by storing an externally mutable object into CorruptLongObjectException.contentHash | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
new org.eclipse.jgit.lfs.errors.CorruptLongObjectException(AnyLongObjectId, AnyLongObjectId, String) may expose internal representation by storing an externally mutable object into CorruptLongObjectException.id | MALICIOUS_CODE | EI_EXPOSE_REP2 | 42 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lfs.internal.AtomicObjectOutputStream.getId() may expose internal representation by returning AtomicObjectOutputStream.id | MALICIOUS_CODE | EI_EXPOSE_REP | 78 | Medium |
new org.eclipse.jgit.lfs.internal.AtomicObjectOutputStream(Path, AnyLongObjectId) may expose internal representation by storing an externally mutable object into AtomicObjectOutputStream.id | MALICIOUS_CODE | EI_EXPOSE_REP2 | 53 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.lfs.internal.LfsConfig(Repository) may expose internal representation by storing an externally mutable object into LfsConfig.db | MALICIOUS_CODE | EI_EXPOSE_REP2 | 65 | Medium |
Bug | Category | Details | Line | Priority |
---|
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 | 75 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Public static org.eclipse.jgit.lfs.lib.LongObjectId.zeroId() may expose internal representation by returning LongObjectId.ZEROID | MALICIOUS_CODE | MS_EXPOSE_REP | 47 | Medium |