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 |
---|---|---|---|
1515 | 556 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.AddCommand.setWorkingTreeIterator(WorkingTreeIterator) may expose internal representation by storing an externally mutable object into AddCommand.workingTreeIterator | MALICIOUS_CODE | EI_EXPOSE_REP2 | 99 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.AddNoteCommand.setObjectId(RevObject) may expose internal representation by storing an externally mutable object into AddNoteCommand.id | MALICIOUS_CODE | EI_EXPOSE_REP2 | 87 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.ApplyCommand.applyBinary(Repository, String, File, FileHeader, ApplyCommand$StreamSupplier, ObjectId, DirCacheCheckout$CheckoutMetadata) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 474 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.ApplyResult.getUpdatedFiles() may expose internal representation by returning ApplyResult.updatedFiles | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.ArchiveCommand.setFormatOptions(Map) may expose internal representation by storing an externally mutable object into ArchiveCommand.formatOptions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 489 | Medium |
org.eclipse.jgit.api.ArchiveCommand.setOutputStream(OutputStream) may expose internal representation by storing an externally mutable object into ArchiveCommand.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 463 | Medium |
org.eclipse.jgit.api.ArchiveCommand.setTree(ObjectId) may expose internal representation by storing an externally mutable object into ArchiveCommand.tree | MALICIOUS_CODE | EI_EXPOSE_REP2 | 416 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.CheckoutCommand.setStartPoint(RevCommit) may expose internal representation by storing an externally mutable object into CheckoutCommand.startCommit | MALICIOUS_CODE | EI_EXPOSE_REP2 | 734 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.CheckoutResult.getConflictList() may expose internal representation by returning CheckoutResult.conflictList | MALICIOUS_CODE | EI_EXPOSE_REP | 153 | Medium |
org.eclipse.jgit.api.CheckoutResult.getModifiedList() may expose internal representation by returning CheckoutResult.modifiedList | MALICIOUS_CODE | EI_EXPOSE_REP | 175 | Medium |
org.eclipse.jgit.api.CheckoutResult.getRemovedList() may expose internal representation by returning CheckoutResult.removedList | MALICIOUS_CODE | EI_EXPOSE_REP | 186 | Medium |
org.eclipse.jgit.api.CheckoutResult.getUndeletedList() may expose internal representation by returning CheckoutResult.undeletedList | MALICIOUS_CODE | EI_EXPOSE_REP | 164 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.CherryPickResult.getCherryPickedRefs() may expose internal representation by returning CherryPickResult.cherryPickedRefs | MALICIOUS_CODE | EI_EXPOSE_REP | 131 | Medium |
org.eclipse.jgit.api.CherryPickResult.getFailingPaths() may expose internal representation by returning CherryPickResult.failingPaths | MALICIOUS_CODE | EI_EXPOSE_REP | 143 | Medium |
org.eclipse.jgit.api.CherryPickResult.getNewHead() may expose internal representation by returning CherryPickResult.newHead | MALICIOUS_CODE | EI_EXPOSE_REP | 120 | Medium |
new org.eclipse.jgit.api.CherryPickResult(Map) may expose internal representation by storing an externally mutable object into CherryPickResult.failingPaths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 86 | Medium |
new org.eclipse.jgit.api.CherryPickResult(RevCommit, List) may expose internal representation by storing an externally mutable object into CherryPickResult.cherryPickedRefs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 70 | Medium |
new org.eclipse.jgit.api.CherryPickResult(RevCommit, List) may expose internal representation by storing an externally mutable object into CherryPickResult.newHead | MALICIOUS_CODE | EI_EXPOSE_REP2 | 69 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.CleanCommand.setPaths(Set) may expose internal representation by storing an externally mutable object into CleanCommand.paths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 204 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.CloneCommand.setBranchesToClone(Collection) may expose internal representation by storing an externally mutable object into CloneCommand.branchesToClone | MALICIOUS_CODE | EI_EXPOSE_REP2 | 685 | Medium |
org.eclipse.jgit.api.CloneCommand.setFs(FS) may expose internal representation by storing an externally mutable object into CloneCommand.fs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 559 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.CommitCommand.getAuthor() may expose internal representation by returning CommitCommand.author | MALICIOUS_CODE | EI_EXPOSE_REP | 851 | Medium |
org.eclipse.jgit.api.CommitCommand.getCommitter() may expose internal representation by returning CommitCommand.committer | MALICIOUS_CODE | EI_EXPOSE_REP | 807 | Medium |
org.eclipse.jgit.api.CommitCommand.setAuthor(PersonIdent) may expose internal representation by storing an externally mutable object into CommitCommand.author | MALICIOUS_CODE | EI_EXPOSE_REP2 | 822 | Medium |
org.eclipse.jgit.api.CommitCommand.setCommitter(PersonIdent) may expose internal representation by storing an externally mutable object into CommitCommand.committer | MALICIOUS_CODE | EI_EXPOSE_REP2 | 778 | Medium |
org.eclipse.jgit.api.CommitCommand.setCredentialsProvider(CredentialsProvider) may expose internal representation by storing an externally mutable object into CommitCommand.credentialsProvider | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1127 | Medium |
org.eclipse.jgit.api.CommitCommand.setGpgSigner(GpgSigner) may expose internal representation by storing an externally mutable object into CommitCommand.gpgSigner | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1096 | Medium |
Return value of org.eclipse.jgit.revwalk.RevCommit.getTree() ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 302 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.CreateBranchCommand.setStartPoint(RevCommit) may expose internal representation by storing an externally mutable object into CreateBranchCommand.startCommit | MALICIOUS_CODE | EI_EXPOSE_REP2 | 333 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.DiffCommand.setNewTree(AbstractTreeIterator) may expose internal representation by storing an externally mutable object into DiffCommand.newTree | MALICIOUS_CODE | EI_EXPOSE_REP2 | 181 | Medium |
org.eclipse.jgit.api.DiffCommand.setOldTree(AbstractTreeIterator) may expose internal representation by storing an externally mutable object into DiffCommand.oldTree | MALICIOUS_CODE | EI_EXPOSE_REP2 | 169 | Medium |
org.eclipse.jgit.api.DiffCommand.setOutputStream(OutputStream) may expose internal representation by storing an externally mutable object into DiffCommand.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 205 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.FetchCommand.getRefSpecs() may expose internal representation by returning FetchCommand.refSpecs | MALICIOUS_CODE | EI_EXPOSE_REP | 392 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.GarbageCollectCommand.setExpire(Date) may expose internal representation by storing an externally mutable object into GarbageCollectCommand.expire | MALICIOUS_CODE | EI_EXPOSE_REP2 | 101 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.Git.getRepository() may expose internal representation by returning Git.repo | MALICIOUS_CODE | EI_EXPOSE_REP | 792 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.GitCommand.getRepository() may expose internal representation by returning GitCommand.repo | MALICIOUS_CODE | EI_EXPOSE_REP | 97 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.InitCommand.setFs(FS) may expose internal representation by storing an externally mutable object into InitCommand.fs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 195 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.LogCommand.call() may expose internal representation by returning LogCommand.walk | MALICIOUS_CODE | EI_EXPOSE_REP | 148 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.MergeResult.getBase() may expose internal representation by returning MergeResult.base | MALICIOUS_CODE | EI_EXPOSE_REP | 364 | Medium |
org.eclipse.jgit.api.MergeResult.getCheckoutConflicts() may expose internal representation by returning MergeResult.checkoutConflicts | MALICIOUS_CODE | EI_EXPOSE_REP | 516 | Medium |
org.eclipse.jgit.api.MergeResult.getConflicts() may expose internal representation by returning MergeResult.conflicts | MALICIOUS_CODE | EI_EXPOSE_REP | 495 | Medium |
org.eclipse.jgit.api.MergeResult.getFailingPaths() may expose internal representation by returning MergeResult.failingPaths | MALICIOUS_CODE | EI_EXPOSE_REP | 506 | Medium |
org.eclipse.jgit.api.MergeResult.getMergedCommits() may expose internal representation by returning MergeResult.mergedCommits | MALICIOUS_CODE | EI_EXPOSE_REP | 353 | Medium |
org.eclipse.jgit.api.MergeResult.getNewHead() may expose internal representation by returning MergeResult.newHead | MALICIOUS_CODE | EI_EXPOSE_REP | 335 | Medium |
new org.eclipse.jgit.api.MergeResult(List) may expose internal representation by storing an externally mutable object into MergeResult.checkoutConflicts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 325 | Medium |
new org.eclipse.jgit.api.MergeResult(ObjectId, ObjectId, ObjectId[], MergeResult$MergeStatus, MergeStrategy, Map, Map, String) may expose internal representation by storing an externally mutable object into MergeResult.base | MALICIOUS_CODE | EI_EXPOSE_REP2 | 306 | Medium |
new org.eclipse.jgit.api.MergeResult(ObjectId, ObjectId, ObjectId[], MergeResult$MergeStatus, MergeStrategy, Map, Map, String) may expose internal representation by storing an externally mutable object into MergeResult.failingPaths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 310 | Medium |
new org.eclipse.jgit.api.MergeResult(ObjectId, ObjectId, ObjectId[], MergeResult$MergeStatus, MergeStrategy, Map, Map, String) may expose internal representation by storing an externally mutable object into MergeResult.mergedCommits | MALICIOUS_CODE | EI_EXPOSE_REP2 | 305 | Medium |
new org.eclipse.jgit.api.MergeResult(ObjectId, ObjectId, ObjectId[], MergeResult$MergeStatus, MergeStrategy, Map, Map, String) may expose internal representation by storing an externally mutable object into MergeResult.newHead | MALICIOUS_CODE | EI_EXPOSE_REP2 | 304 | Medium |
org.eclipse.jgit.api.MergeResult.setConflicts(Map) may expose internal representation by storing an externally mutable object into MergeResult.conflicts | MALICIOUS_CODE | EI_EXPOSE_REP2 | 393 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.PullResult.getFetchResult() may expose internal representation by returning PullResult.fetchResult | MALICIOUS_CODE | EI_EXPOSE_REP | 48 | Medium |
org.eclipse.jgit.api.PullResult.getMergeResult() may expose internal representation by returning PullResult.mergeResult | MALICIOUS_CODE | EI_EXPOSE_REP | 57 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.PushCommand.getPushOptions() may expose internal representation by returning PushCommand.pushOptions | MALICIOUS_CODE | EI_EXPOSE_REP | 647 | Medium |
org.eclipse.jgit.api.PushCommand.getRefSpecs() may expose internal representation by returning PushCommand.refSpecs | MALICIOUS_CODE | EI_EXPOSE_REP | 416 | Medium |
org.eclipse.jgit.api.PushCommand.setOutputStream(OutputStream) may expose internal representation by storing an externally mutable object into PushCommand.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 636 | Medium |
org.eclipse.jgit.api.PushCommand.setPushOptions(List) may expose internal representation by storing an externally mutable object into PushCommand.pushOptions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 659 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.RebaseCommand.setUpstream(RevCommit) may expose internal representation by storing an externally mutable object into RebaseCommand.upstreamCommit | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1479 | Medium |
Exceptional return value of java.io.File.createNewFile() ignored in org.eclipse.jgit.api.RebaseCommand.calculatePickList(RevCommit) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 1215 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.api.RebaseCommand.processStep(RebaseTodoLine, boolean) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 488 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.api.RebaseCommand.squashIntoPrevious(boolean, boolean) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 820 | Medium |
Switch statement found in org.eclipse.jgit.api.RebaseCommand.processStep(RebaseTodoLine, boolean) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 468-471 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.RebaseResult.getConflicts() may expose internal representation by returning RebaseResult.conflicts | MALICIOUS_CODE | EI_EXPOSE_REP | 289 | Medium |
org.eclipse.jgit.api.RebaseResult.getCurrentCommit() may expose internal representation by returning RebaseResult.currentCommit | MALICIOUS_CODE | EI_EXPOSE_REP | 266 | Medium |
org.eclipse.jgit.api.RebaseResult.getFailingPaths() may expose internal representation by returning RebaseResult.failingPaths | MALICIOUS_CODE | EI_EXPOSE_REP | 279 | Medium |
org.eclipse.jgit.api.RebaseResult.getUncommittedChanges() may expose internal representation by returning RebaseResult.uncommittedChanges | MALICIOUS_CODE | EI_EXPOSE_REP | 300 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.RemoveNoteCommand.setObjectId(RevObject) may expose internal representation by storing an externally mutable object into RemoveNoteCommand.id | MALICIOUS_CODE | EI_EXPOSE_REP2 | 84 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.RevertCommand.getFailingResult() may expose internal representation by returning RevertCommand.failingResult | MALICIOUS_CODE | EI_EXPOSE_REP | 284 | Medium |
org.eclipse.jgit.api.RevertCommand.getRevertedRefs() may expose internal representation by returning RevertCommand.revertedRefs | MALICIOUS_CODE | EI_EXPOSE_REP | 274 | Medium |
org.eclipse.jgit.api.RevertCommand.getUnmergedPaths() may expose internal representation by returning RevertCommand.unmergedPaths | MALICIOUS_CODE | EI_EXPOSE_REP | 293 | Medium |
Load of known null value in org.eclipse.jgit.api.RevertCommand.call() | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 186 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.ShowNoteCommand.setObjectId(RevObject) may expose internal representation by storing an externally mutable object into ShowNoteCommand.id | MALICIOUS_CODE | EI_EXPOSE_REP2 | 76 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.StashCreateCommand.setPerson(PersonIdent) may expose internal representation by storing an externally mutable object into StashCreateCommand.person | MALICIOUS_CODE | EI_EXPOSE_REP2 | 133 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.api.Status(IndexDiff) may expose internal representation by storing an externally mutable object into Status.diff | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.StatusCommand.getPaths() may expose internal representation by returning StatusCommand.paths | MALICIOUS_CODE | EI_EXPOSE_REP | 99 | Medium |
org.eclipse.jgit.api.StatusCommand.setWorkingTreeIt(WorkingTreeIterator) may expose internal representation by storing an externally mutable object into StatusCommand.workingTreeIt | MALICIOUS_CODE | EI_EXPOSE_REP2 | 142 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Load of known null value in org.eclipse.jgit.api.SubmoduleStatusCommand.getStatus(SubmoduleWalk) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 111 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.TagCommand.getObjectId() may expose internal representation by returning TagCommand.id | MALICIOUS_CODE | EI_EXPOSE_REP | 395 | Medium |
org.eclipse.jgit.api.TagCommand.getTagger() may expose internal representation by returning TagCommand.tagger | MALICIOUS_CODE | EI_EXPOSE_REP | 386 | Medium |
org.eclipse.jgit.api.TagCommand.setCredentialsProvider(CredentialsProvider) may expose internal representation by storing an externally mutable object into TagCommand.credentialsProvider | MALICIOUS_CODE | EI_EXPOSE_REP2 | 513 | Medium |
org.eclipse.jgit.api.TagCommand.setObjectId(RevObject) may expose internal representation by storing an externally mutable object into TagCommand.id | MALICIOUS_CODE | EI_EXPOSE_REP2 | 408 | Medium |
org.eclipse.jgit.api.TagCommand.setTagger(PersonIdent) may expose internal representation by storing an externally mutable object into TagCommand.tagger | MALICIOUS_CODE | EI_EXPOSE_REP2 | 376 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.TransportCommand.setCredentialsProvider(CredentialsProvider) may expose internal representation by storing an externally mutable object into TransportCommand.credentialsProvider | MALICIOUS_CODE | EI_EXPOSE_REP2 | 65 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.VerifySignatureCommand.getVerifier() may expose internal representation by returning VerifySignatureCommand.verifier | MALICIOUS_CODE | EI_EXPOSE_REP | 179 | Medium |
org.eclipse.jgit.api.VerifySignatureCommand.setVerifier(GpgSignatureVerifier) may expose internal representation by storing an externally mutable object into VerifySignatureCommand.verifier | MALICIOUS_CODE | EI_EXPOSE_REP2 | 152 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.errors.CheckoutConflictException.getConflictingPaths() may expose internal representation by returning CheckoutConflictException.conflictingPaths | MALICIOUS_CODE | EI_EXPOSE_REP | 90 | Medium |
new org.eclipse.jgit.api.errors.CheckoutConflictException(List, CheckoutConflictException) may expose internal representation by storing an externally mutable object into CheckoutConflictException.conflictingPaths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.errors.FilterFailedException.getOutput() may expose internal representation by returning FilterFailedException.stdout | MALICIOUS_CODE | EI_EXPOSE_REP | 133 | Medium |
new org.eclipse.jgit.api.errors.FilterFailedException(int, String, String, byte[], String) may expose internal representation by storing an externally mutable object into FilterFailedException.stdout | MALICIOUS_CODE | EI_EXPOSE_REP2 | 104 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.api.errors.PatchFormatException.getErrors() may expose internal representation by returning PatchFormatException.errors | MALICIOUS_CODE | EI_EXPOSE_REP | 45 | Medium |
new org.eclipse.jgit.api.errors.PatchFormatException(List) may expose internal representation by storing an externally mutable object into PatchFormatException.errors | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.attributes.AttributesHandler(TreeWalk, Supplier) may expose internal representation by storing an externally mutable object into AttributesHandler.treeWalk | MALICIOUS_CODE | EI_EXPOSE_REP2 | 94 | Medium |
Redundant nullcheck of t, which is known to be non-null in org.eclipse.jgit.attributes.AttributesHandler.rootOf(AbstractTreeIterator) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 426 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.attributes.AttributesNode(List) may expose internal representation by storing an externally mutable object into AttributesNode.rules | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.attributes.FilterCommand(InputStream, OutputStream) may expose internal representation by storing an externally mutable object into FilterCommand.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
Unread public/protected field: org.eclipse.jgit.attributes.FilterCommand.in | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 47 | Medium |
Unread public/protected field: org.eclipse.jgit.attributes.FilterCommand.out | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 48 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.blame.BlameGenerator.getRenameDetector() may expose internal representation by returning BlameGenerator.renameDetector | MALICIOUS_CODE | EI_EXPOSE_REP | 243 | Medium |
org.eclipse.jgit.blame.BlameGenerator.getRepository() may expose internal representation by returning BlameGenerator.repository | MALICIOUS_CODE | EI_EXPOSE_REP | 178 | Medium |
new org.eclipse.jgit.blame.BlameGenerator(Repository, String) may expose internal representation by storing an externally mutable object into BlameGenerator.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 144 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.blame.BlameResult.getResultContents() may expose internal representation by returning BlameResult.resultContents | MALICIOUS_CODE | EI_EXPOSE_REP | 108 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.diff.DiffFormatter.getRenameDetector() may expose internal representation by returning DiffFormatter.renameDetector | MALICIOUS_CODE | EI_EXPOSE_REP | 343 | Medium |
new org.eclipse.jgit.diff.DiffFormatter(OutputStream) may expose internal representation by storing an externally mutable object into DiffFormatter.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 127 | Medium |
org.eclipse.jgit.diff.DiffFormatter.setRepository(Repository) may expose internal representation by storing an externally mutable object into DiffFormatter.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 149 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.diff.RawText.getRawContent() may expose internal representation by returning RawText.content | MALICIOUS_CODE | EI_EXPOSE_REP | 113 | Medium |
new org.eclipse.jgit.diff.RawText(byte[], IntList) may expose internal representation by storing an externally mutable object into RawText.content | MALICIOUS_CODE | EI_EXPOSE_REP2 | 90 | Medium |
new org.eclipse.jgit.diff.RawText(byte[], IntList) may expose internal representation by storing an externally mutable object into RawText.lines | MALICIOUS_CODE | EI_EXPOSE_REP2 | 91 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.dircache.DirCache.getCacheTree(boolean) may expose internal representation by returning DirCache.tree | MALICIOUS_CODE | EI_EXPOSE_REP | 936 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.dircache.DirCacheBuildIterator(DirCacheBuilder) may expose internal representation by storing an externally mutable object into DirCacheBuildIterator.builder | MALICIOUS_CODE | EI_EXPOSE_REP2 | 68 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.dircache.DirCacheCheckout.getConflicts() may expose internal representation by returning DirCacheCheckout.conflicts | MALICIOUS_CODE | EI_EXPOSE_REP | 163 | Medium |
org.eclipse.jgit.dircache.DirCacheCheckout.getRemoved() may expose internal representation by returning DirCacheCheckout.removed | MALICIOUS_CODE | EI_EXPOSE_REP | 188 | Medium |
org.eclipse.jgit.dircache.DirCacheCheckout.getToBeDeleted() may expose internal representation by returning DirCacheCheckout.toBeDeleted | MALICIOUS_CODE | EI_EXPOSE_REP | 179 | Medium |
org.eclipse.jgit.dircache.DirCacheCheckout.getUpdated() may expose internal representation by returning DirCacheCheckout.updated | MALICIOUS_CODE | EI_EXPOSE_REP | 154 | Medium |
new org.eclipse.jgit.dircache.DirCacheCheckout(Repository, ObjectId, DirCache, ObjectId, WorkingTreeIterator) may expose internal representation by storing an externally mutable object into DirCacheCheckout.dc | MALICIOUS_CODE | EI_EXPOSE_REP2 | 211 | Medium |
new org.eclipse.jgit.dircache.DirCacheCheckout(Repository, ObjectId, DirCache, ObjectId, WorkingTreeIterator) may expose internal representation by storing an externally mutable object into DirCacheCheckout.headCommitTree | MALICIOUS_CODE | EI_EXPOSE_REP2 | 212 | Medium |
new org.eclipse.jgit.dircache.DirCacheCheckout(Repository, ObjectId, DirCache, ObjectId, WorkingTreeIterator) may expose internal representation by storing an externally mutable object into DirCacheCheckout.mergeCommitTree | MALICIOUS_CODE | EI_EXPOSE_REP2 | 213 | Medium |
new org.eclipse.jgit.dircache.DirCacheCheckout(Repository, ObjectId, DirCache, ObjectId, WorkingTreeIterator) may expose internal representation by storing an externally mutable object into DirCacheCheckout.repo | MALICIOUS_CODE | EI_EXPOSE_REP2 | 210 | Medium |
new org.eclipse.jgit.dircache.DirCacheCheckout(Repository, ObjectId, DirCache, ObjectId, WorkingTreeIterator) may expose internal representation by storing an externally mutable object into DirCacheCheckout.workingTree | MALICIOUS_CODE | EI_EXPOSE_REP2 | 214 | Medium |
Load of known null value in org.eclipse.jgit.dircache.DirCacheCheckout.processEntry(CanonicalTreeParser, CanonicalTreeParser, DirCacheBuildIterator, WorkingTreeIterator) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 1022 | Medium |
Load of known null value in org.eclipse.jgit.dircache.DirCacheCheckout.processEntry(CanonicalTreeParser, CanonicalTreeParser, DirCacheBuildIterator, WorkingTreeIterator) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 1091 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.dircache.DirCacheEntry(byte[], int) may expose internal representation by storing an externally mutable object into DirCacheEntry.path | MALICIOUS_CODE | EI_EXPOSE_REP2 | 305 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.dircache.DirCacheIterator.idBuffer() may expose internal representation by returning org.eclipse.jgit.treewalk.AbstractTreeIterator.zeroid | MALICIOUS_CODE | EI_EXPOSE_REP | 141 | Medium |
new org.eclipse.jgit.dircache.DirCacheIterator(DirCache) may expose internal representation by storing an externally mutable object into DirCacheIterator.cache | MALICIOUS_CODE | EI_EXPOSE_REP2 | 87 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.dircache.DirCacheTree.getObjectId() may expose internal representation by returning DirCacheTree.id | MALICIOUS_CODE | EI_EXPOSE_REP | 233 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.errors.AmbiguousObjectException.getCandidates() may expose internal representation by returning AmbiguousObjectException.candidates | MALICIOUS_CODE | EI_EXPOSE_REP | 63 | Medium |
new org.eclipse.jgit.errors.AmbiguousObjectException(AbbreviatedObjectId, Collection) may expose internal representation by storing an externally mutable object into AmbiguousObjectException.candidates | MALICIOUS_CODE | EI_EXPOSE_REP2 | 45 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.errors.CheckoutConflictException.getConflictingFiles() may expose internal representation by returning CheckoutConflictException.conflicting | MALICIOUS_CODE | EI_EXPOSE_REP | 58 | Medium |
new org.eclipse.jgit.errors.CheckoutConflictException(String[]) may expose internal representation by storing an externally mutable object into CheckoutConflictException.conflicting | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.errors.CompoundException.getAllCauses() may expose internal representation by returning CompoundException.causeList | MALICIOUS_CODE | EI_EXPOSE_REP | 56 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.errors.LargeObjectException.getObjectId() may expose internal representation by returning LargeObjectException.objectId | MALICIOUS_CODE | EI_EXPOSE_REP | 62 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.errors.MissingObjectException.getObjectId() may expose internal representation by returning MissingObjectException.missing | MALICIOUS_CODE | EI_EXPOSE_REP | 76 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.errors.TranslationBundleException.getBundleClass() may expose internal representation by returning TranslationBundleException.bundleClass | MALICIOUS_CODE | EI_EXPOSE_REP | 49 | Medium |
org.eclipse.jgit.errors.TranslationBundleException.getLocale() may expose internal representation by returning TranslationBundleException.locale | MALICIOUS_CODE | EI_EXPOSE_REP | 58 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.errors.UnmergedPathException.getDirCacheEntry() may expose internal representation by returning UnmergedPathException.entry | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
new org.eclipse.jgit.errors.UnmergedPathException(DirCacheEntry) may expose internal representation by storing an externally mutable object into UnmergedPathException.entry | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.events.RepositoryEvent.getRepository() may expose internal representation by returning RepositoryEvent.repository | MALICIOUS_CODE | EI_EXPOSE_REP | 46 | Medium |
org.eclipse.jgit.events.RepositoryEvent.setRepository(Repository) may expose internal representation by storing an externally mutable object into RepositoryEvent.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.events.WorkingTreeModifiedEvent(Collection, Collection) may expose internal representation by storing an externally mutable object into WorkingTreeModifiedEvent.deleted | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 | Medium |
new org.eclipse.jgit.events.WorkingTreeModifiedEvent(Collection, Collection) may expose internal representation by storing an externally mutable object into WorkingTreeModifiedEvent.modified | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.gitrepo.ManifestParser.getFilteredProjects() may expose internal representation by returning ManifestParser.filteredProjects | MALICIOUS_CODE | EI_EXPOSE_REP | 343 | Medium |
org.eclipse.jgit.gitrepo.ManifestParser.getProjects() may expose internal representation by returning ManifestParser.projects | MALICIOUS_CODE | EI_EXPOSE_REP | 333 | Medium |
new org.eclipse.jgit.gitrepo.ManifestParser(ManifestParser$IncludedFileReader, String, String, String, String, Repository) may expose internal representation by storing an externally mutable object into ManifestParser.rootRepo | MALICIOUS_CODE | EI_EXPOSE_REP2 | 108 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.gitrepo.RepoCommand.setAuthor(PersonIdent) may expose internal representation by storing an externally mutable object into RepoCommand.author | MALICIOUS_CODE | EI_EXPOSE_REP2 | 481 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.gitrepo.RepoCommand$RemoteFile.getContents() may expose internal representation by returning RepoCommand$RemoteFile.contents | MALICIOUS_CODE | EI_EXPOSE_REP | 196 | Medium |
new org.eclipse.jgit.gitrepo.RepoCommand$RemoteFile(byte[], FileMode) may expose internal representation by storing an externally mutable object into RepoCommand$RemoteFile.contents | MALICIOUS_CODE | EI_EXPOSE_REP2 | 182 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.gitrepo.RepoProject.getGroups() may expose internal representation by returning RepoProject.groups | MALICIOUS_CODE | EI_EXPOSE_REP | 308 | Medium |
new org.eclipse.jgit.gitrepo.RepoProject(String, String, String, String, Set, String) may expose internal representation by storing an externally mutable object into RepoProject.groups | MALICIOUS_CODE | EI_EXPOSE_REP2 | 161 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.gitrepo.RepoProject$ReferenceFile(Repository, String, String, String) may expose internal representation by storing an externally mutable object into RepoProject$ReferenceFile.repo | MALICIOUS_CODE | EI_EXPOSE_REP2 | 67 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.ignore.IgnoreNode(List) may expose internal representation by storing an externally mutable object into IgnoreNode.rules | MALICIOUS_CODE | EI_EXPOSE_REP2 | 75 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.diffmergetool.DiffToolConfig.getTools() may expose internal representation by returning DiffToolConfig.tools | MALICIOUS_CODE | EI_EXPOSE_REP | 108 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.diffmergetool.DiffTools.setupUserDefinedTools() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 127 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.fsck.FsckError.getCorruptIndices() may expose internal representation by returning FsckError.corruptIndices | MALICIOUS_CODE | EI_EXPOSE_REP | 127 | Medium |
org.eclipse.jgit.internal.fsck.FsckError.getCorruptObjects() may expose internal representation by returning FsckError.corruptObjects | MALICIOUS_CODE | EI_EXPOSE_REP | 109 | Medium |
org.eclipse.jgit.internal.fsck.FsckError.getMissingObjects() may expose internal representation by returning FsckError.missingObjects | MALICIOUS_CODE | EI_EXPOSE_REP | 118 | Medium |
org.eclipse.jgit.internal.fsck.FsckError.getNonCommitHeads() may expose internal representation by returning FsckError.nonCommitHeads | MALICIOUS_CODE | EI_EXPOSE_REP | 136 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.fsck.FsckError$CorruptObject.getId() may expose internal representation by returning FsckError$CorruptObject.id | MALICIOUS_CODE | EI_EXPOSE_REP | 51 | Medium |
new org.eclipse.jgit.internal.fsck.FsckError$CorruptObject(ObjectId, int, ObjectChecker$ErrorType) may expose internal representation by storing an externally mutable object into FsckError$CorruptObject.id | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.fsck.FsckPackParser.getCorruptObjects() may expose internal representation by returning FsckPackParser.corruptObjects | MALICIOUS_CODE | EI_EXPOSE_REP | 253 | Medium |
new org.eclipse.jgit.internal.fsck.FsckPackParser(ObjectDatabase, ReadableChannel) may expose internal representation by storing an externally mutable object into FsckPackParser.channel | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.revwalk.AddToBitmapFilter(BitmapIndex$BitmapBuilder) may expose internal representation by storing an externally mutable object into AddToBitmapFilter.bitmap | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.revwalk.AddToBitmapWithCacheFilter(AnyObjectId, BitmapIndex$Bitmap, BitmapIndex$BitmapBuilder) may expose internal representation by storing an externally mutable object into AddToBitmapWithCacheFilter.bitmap | MALICIOUS_CODE | EI_EXPOSE_REP2 | 53 | Medium |
new org.eclipse.jgit.internal.revwalk.AddToBitmapWithCacheFilter(AnyObjectId, BitmapIndex$Bitmap, BitmapIndex$BitmapBuilder) may expose internal representation by storing an externally mutable object into AddToBitmapWithCacheFilter.cachedCommit | MALICIOUS_CODE | EI_EXPOSE_REP2 | 51 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.revwalk.AddUnseenToBitmapFilter(BitmapIndex$BitmapBuilder, BitmapIndex$BitmapBuilder) may expose internal representation by storing an externally mutable object into AddUnseenToBitmapFilter.bitmap | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
new org.eclipse.jgit.internal.revwalk.AddUnseenToBitmapFilter(BitmapIndex$BitmapBuilder, BitmapIndex$BitmapBuilder) may expose internal representation by storing an externally mutable object into AddUnseenToBitmapFilter.seen | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.revwalk.BitmappedObjectReachabilityChecker(ObjectWalk) may expose internal representation by storing an externally mutable object into BitmappedObjectReachabilityChecker.walk | MALICIOUS_CODE | EI_EXPOSE_REP2 | 45 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.revwalk.BitmappedReachabilityChecker(RevWalk) may expose internal representation by storing an externally mutable object into BitmappedReachabilityChecker.walk | MALICIOUS_CODE | EI_EXPOSE_REP2 | 52 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.revwalk.PedestrianObjectReachabilityChecker(ObjectWalk) may expose internal representation by storing an externally mutable object into PedestrianObjectReachabilityChecker.walk | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.revwalk.PedestrianReachabilityChecker(boolean, RevWalk) may expose internal representation by storing an externally mutable object into PedestrianReachabilityChecker.walk | MALICIOUS_CODE | EI_EXPOSE_REP2 | 46 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.BeforeDfsPackIndexLoadedEvent.getPackFile() may expose internal representation by returning BeforeDfsPackIndexLoadedEvent.pack | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
new org.eclipse.jgit.internal.storage.dfs.BeforeDfsPackIndexLoadedEvent(DfsPackFile) may expose internal representation by storing an externally mutable object into BeforeDfsPackIndexLoadedEvent.pack | MALICIOUS_CODE | EI_EXPOSE_REP2 | 32 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to len in org.eclipse.jgit.internal.storage.dfs.BlockBasedFile.readOneBlock(long, DfsReader, ReadableChannel) | STYLE | DLS_DEAD_LOCAL_STORE | 157 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Public static org.eclipse.jgit.internal.storage.dfs.DfsBlockCache.getInstance() may expose internal representation by returning DfsBlockCache.cache | MALICIOUS_CODE | MS_EXPOSE_REP | 94 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.DfsBlockCacheConfig.getCacheHotMap() may expose internal representation by returning DfsBlockCacheConfig.cacheHotMap | MALICIOUS_CODE | EI_EXPOSE_REP | 204 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.eclipse.jgit.internal.storage.pack.StoredObjectRepresentation to org.eclipse.jgit.internal.storage.dfs.DfsObjectRepresentation in org.eclipse.jgit.internal.storage.dfs.DfsCachedPack.hasObject(ObjectToPack, StoredObjectRepresentation) | STYLE | BC_UNCONFIRMED_CAST | 61 | Medium |
org.eclipse.jgit.internal.storage.dfs.DfsCachedPack.getPackFile() may expose internal representation by returning DfsCachedPack.pack | MALICIOUS_CODE | EI_EXPOSE_REP | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.dfs.DfsFsck(DfsRepository) may expose internal representation by storing an externally mutable object into DfsFsck.repo | MALICIOUS_CODE | EI_EXPOSE_REP2 | 58 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.DfsGarbageCollector.getNewPackStatistics() may expose internal representation by returning DfsGarbageCollector.newPackStats | MALICIOUS_CODE | EI_EXPOSE_REP | 504 | Medium |
org.eclipse.jgit.internal.storage.dfs.DfsGarbageCollector.getNewPacks() may expose internal representation by returning DfsGarbageCollector.newPackDesc | MALICIOUS_CODE | EI_EXPOSE_REP | 493 | Medium |
org.eclipse.jgit.internal.storage.dfs.DfsGarbageCollector.getPackConfig() may expose internal representation by returning DfsGarbageCollector.packConfig | MALICIOUS_CODE | EI_EXPOSE_REP | 122 | Medium |
new org.eclipse.jgit.internal.storage.dfs.DfsGarbageCollector(DfsRepository) may expose internal representation by storing an externally mutable object into DfsGarbageCollector.repo | MALICIOUS_CODE | EI_EXPOSE_REP2 | 105 | Medium |
org.eclipse.jgit.internal.storage.dfs.DfsGarbageCollector.setPackConfig(PackConfig) may expose internal representation by storing an externally mutable object into DfsGarbageCollector.packConfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 133 | Medium |
org.eclipse.jgit.internal.storage.dfs.DfsGarbageCollector.setReftableConfig(ReftableConfig) may expose internal representation by storing an externally mutable object into DfsGarbageCollector.reftableConfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 146 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Synchronization performed on java.util.concurrent.atomic.AtomicReference in org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.scanPacks(DfsObjDatabase$PackList) | MT_CORRECTNESS | JLM_JSR166_UTILCONCURRENT_MONITORENTER | 563 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase$PackSource$PackSourceComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 1-191 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.eclipse.jgit.internal.storage.pack.StoredObjectRepresentation to org.eclipse.jgit.internal.storage.dfs.DfsObjectRepresentation in org.eclipse.jgit.internal.storage.dfs.DfsObjectToPack.select(StoredObjectRepresentation) | STYLE | BC_UNCONFIRMED_CAST | 52 | Medium |
Class org.eclipse.jgit.internal.storage.dfs.DfsObjectToPack defines non-transient non-serializable instance field pack | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.dfs.DfsPackCompactor(DfsRepository) may expose internal representation by storing an externally mutable object into DfsPackCompactor.repo | MALICIOUS_CODE | EI_EXPOSE_REP2 | 88 | Medium |
org.eclipse.jgit.internal.storage.dfs.DfsPackCompactor.setReftableConfig(ReftableConfig) may expose internal representation by storing an externally mutable object into DfsPackCompactor.reftableConfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 104 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.DfsPackFile.getPackDescription() may expose internal representation by returning BlockBasedFile.desc | MALICIOUS_CODE | EI_EXPOSE_REP | 109 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.DfsPackParser.getPackDescription() may expose internal representation by returning DfsPackParser.packDsc | MALICIOUS_CODE | EI_EXPOSE_REP | 172 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.eclipse.jgit.internal.storage.pack.ObjectToPack to org.eclipse.jgit.internal.storage.dfs.DfsObjectToPack in org.eclipse.jgit.internal.storage.dfs.DfsReader.copyObjectAsIs(PackOutputStream, ObjectToPack, boolean) | STYLE | BC_UNCONFIRMED_CAST | 636 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.DfsReftable.getPackDescription() may expose internal representation by returning BlockBasedFile.desc | MALICIOUS_CODE | EI_EXPOSE_REP | 61 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.DfsRepository.getConfig() may expose internal representation by returning DfsRepository.config | MALICIOUS_CODE | EI_EXPOSE_REP | 91 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.DfsStreamKey$ByteArrayDfsStreamKey defines equals but not hashCode | BAD_PRACTICE | HE_EQUALS_NO_HASHCODE | 90-95 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.DfsStreamKey$ForReverseIndex defines equals but not hashCode | BAD_PRACTICE | HE_EQUALS_NO_HASHCODE | 109 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.InMemoryRepository.getObjectDatabase() may expose internal representation by returning InMemoryRepository.objdb | MALICIOUS_CODE | EI_EXPOSE_REP | 63 | Medium |
org.eclipse.jgit.internal.storage.dfs.InMemoryRepository.getRefDatabase() may expose internal representation by returning InMemoryRepository.refdb | MALICIOUS_CODE | EI_EXPOSE_REP | 69 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.dfs.InMemoryRepository$MemPack doesn't override DfsPackDescription.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.BitmapIndexImpl$CompressedBitmap.retrieveCompressed() may expose internal representation by returning BitmapIndexImpl$CompressedBitmap.bitmap | MALICIOUS_CODE | EI_EXPOSE_REP | 382 | Medium |
new org.eclipse.jgit.internal.storage.file.BitmapIndexImpl$CompressedBitmap(EWAHCompressedBitmap, BitmapIndexImpl) may expose internal representation by storing an externally mutable object into BitmapIndexImpl$CompressedBitmap.bitmap | MALICIOUS_CODE | EI_EXPOSE_REP2 | 297 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.internal.storage.file.FileReftableDatabase.convertFrom(FileRepository, boolean) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 641 | Medium |
Exceptional return value of java.io.File.mkdir() ignored in org.eclipse.jgit.internal.storage.file.FileReftableDatabase.convertFrom(FileRepository, boolean) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 631 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.FileReftableStack.getMergedReftable() may expose internal representation by returning FileReftableStack.mergedReftable | MALICIOUS_CODE | EI_EXPOSE_REP | 252 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.internal.storage.file.FileReftableStack.compactRange(int, int) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 547 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Equals method for org.eclipse.jgit.internal.storage.file.FileReftableStack$Segment assumes the argument is of type FileReftableStack$Segment | BAD_PRACTICE | BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS | 618 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.FileRepository.getConfig() may expose internal representation by returning FileRepository.repoConfig | MALICIOUS_CODE | EI_EXPOSE_REP | 356 | Medium |
org.eclipse.jgit.internal.storage.file.FileRepository.getObjectDatabase() may expose internal representation by returning FileRepository.objectDatabase | MALICIOUS_CODE | EI_EXPOSE_REP | 326 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.internal.storage.file.FileRepository.convertToPackedRefs(boolean, boolean) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 642 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.internal.storage.file.FileRepository.convertToReftable(boolean, boolean) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 776 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.FileSnapshot.lastModifiedInstant() may expose internal representation by returning FileSnapshot.lastModified | MALICIOUS_CODE | EI_EXPOSE_REP | 298 | Medium |
Possible null pointer dereference in org.eclipse.jgit.internal.storage.file.FileSnapshot.fileStoreAttributeCache() due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 574 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.file.GC(FileRepository) may expose internal representation by storing an externally mutable object into GC.repo | MALICIOUS_CODE | EI_EXPOSE_REP2 | 186 | Medium |
org.eclipse.jgit.internal.storage.file.GC.setExpire(Date) may expose internal representation by storing an externally mutable object into GC.expire | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1450 | Medium |
org.eclipse.jgit.internal.storage.file.GC.setPackConfig(PackConfig) may expose internal representation by storing an externally mutable object into GC.pconfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1434 | Medium |
org.eclipse.jgit.internal.storage.file.GC.setPackExpire(Date) may expose internal representation by storing an externally mutable object into GC.packExpire | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1464 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.internal.storage.file.GC.prune(Set) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 633 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.internal.storage.file.GC.writePack(Set, Set, Set, Set, List) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 1263 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jgit.internal.storage.file.GC.writePack(Set, Set, Set, Set, List) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 1166 | Medium |
Exceptional return value of java.io.File.setReadOnly() ignored in org.eclipse.jgit.internal.storage.file.GC.writePack(Set, Set, Set, Set, List) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 1218 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.internal.storage.file.GcLog.commit() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 123 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.file.GlobalAttributesNode(Repository) may expose internal representation by storing an externally mutable object into GlobalAttributesNode.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.file.InfoAttributesNode(Repository) may expose internal representation by storing an externally mutable object into InfoAttributesNode.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.eclipse.jgit.internal.storage.pack.StoredObjectRepresentation to org.eclipse.jgit.internal.storage.file.LocalObjectRepresentation in org.eclipse.jgit.internal.storage.file.LocalCachedPack.hasObject(ObjectToPack, StoredObjectRepresentation) | STYLE | BC_UNCONFIRMED_CAST | 61 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.eclipse.jgit.internal.storage.pack.StoredObjectRepresentation to org.eclipse.jgit.internal.storage.file.LocalObjectRepresentation in org.eclipse.jgit.internal.storage.file.LocalObjectToPack.select(StoredObjectRepresentation) | STYLE | BC_UNCONFIRMED_CAST | 42 | Medium |
Class org.eclipse.jgit.internal.storage.file.LocalObjectToPack defines non-transient non-serializable instance field pack | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.LockFile.getCommitSnapshot() may expose internal representation by returning LockFile.commitSnapshot | MALICIOUS_CODE | EI_EXPOSE_REP | 534 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.setReadOnly() ignored in org.eclipse.jgit.internal.storage.file.LooseObjects.tryMove(File, File, ObjectId) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 265 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.file.ObjectDirectory(Config, File, File[], FS, File) may expose internal representation by storing an externally mutable object into ObjectDirectory.config | MALICIOUS_CODE | EI_EXPOSE_REP2 | 117 | Medium |
new org.eclipse.jgit.internal.storage.file.ObjectDirectory(Config, File, File[], FS, File) may expose internal representation by storing an externally mutable object into ObjectDirectory.fs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 126 | Medium |
Synchronization performed on java.util.concurrent.atomic.AtomicReference in org.eclipse.jgit.internal.storage.file.ObjectDirectory.myAlternates() | MT_CORRECTNESS | JLM_JSR166_UTILCONCURRENT_MONITORENTER | 608 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.ObjectDirectoryPackParser.getPack() may expose internal representation by returning ObjectDirectoryPackParser.newPack | MALICIOUS_CODE | EI_EXPOSE_REP | 142 | Medium |
Exceptional return value of java.io.File.setReadOnly() ignored in org.eclipse.jgit.internal.storage.file.ObjectDirectoryPackParser.parse(ProgressMonitor, ProgressMonitor) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 179 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.Pack.mmap(long, int) forces garbage collection; extremely dubious except in benchmarking code | PERFORMANCE | DM_GC | 731 | High |
org.eclipse.jgit.internal.storage.file.Pack.getPackFile() may expose internal representation by returning Pack.packFile | MALICIOUS_CODE | EI_EXPOSE_REP | 206 | Medium |
new org.eclipse.jgit.internal.storage.file.Pack(File, PackFile) may expose internal representation by storing an externally mutable object into Pack.bitmapIdxFile | MALICIOUS_CODE | EI_EXPOSE_REP2 | 138 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.PackBitmapIndexBuilder.getBlobs() may expose internal representation by returning PackBitmapIndexBuilder.blobs | MALICIOUS_CODE | EI_EXPOSE_REP | 276 | Medium |
org.eclipse.jgit.internal.storage.file.PackBitmapIndexBuilder.getCommits() may expose internal representation by returning PackBitmapIndexBuilder.commits | MALICIOUS_CODE | EI_EXPOSE_REP | 258 | Medium |
org.eclipse.jgit.internal.storage.file.PackBitmapIndexBuilder.getCompressedBitmaps() may expose internal representation by returning PackBitmapIndexBuilder.bitmapsToWrite | MALICIOUS_CODE | EI_EXPOSE_REP | 332 | Medium |
org.eclipse.jgit.internal.storage.file.PackBitmapIndexBuilder.getTags() may expose internal representation by returning PackBitmapIndexBuilder.tags | MALICIOUS_CODE | EI_EXPOSE_REP | 285 | Medium |
org.eclipse.jgit.internal.storage.file.PackBitmapIndexBuilder.getTrees() may expose internal representation by returning PackBitmapIndexBuilder.trees | MALICIOUS_CODE | EI_EXPOSE_REP | 267 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.PackBitmapIndexBuilder$StoredEntry.getBitmap() may expose internal representation by returning PackBitmapIndexBuilder$StoredEntry.bitmap | MALICIOUS_CODE | EI_EXPOSE_REP | 352 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Synchronization performed on java.util.concurrent.atomic.AtomicReference in org.eclipse.jgit.internal.storage.file.PackDirectory.scanPacks(PackDirectory$PackList) | MT_CORRECTNESS | JLM_JSR166_UTILCONCURRENT_MONITORENTER | 401 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.PackFile doesn't override java.io.File.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.PackFileSnapshot doesn't override FileSnapshot.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.PackIndex.getChecksum() may expose internal representation by returning PackIndex.packChecksum | MALICIOUS_CODE | EI_EXPOSE_REP | 287 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.PackIndexWriter.write(List, byte[]) may expose internal representation by storing an externally mutable object into PackIndexWriter.entries | MALICIOUS_CODE | EI_EXPOSE_REP2 | 177 | Medium |
org.eclipse.jgit.internal.storage.file.PackIndexWriter.write(List, byte[]) may expose internal representation by storing an externally mutable object into PackIndexWriter.packChecksum | MALICIOUS_CODE | EI_EXPOSE_REP2 | 178 | Medium |
org.eclipse.jgit.internal.storage.file.PackIndexWriter.TOC should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 36 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.setReadOnly() ignored in org.eclipse.jgit.internal.storage.file.PackInserter.flush() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 283 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.eclipse.jgit.internal.storage.file.PackedBatchRefUpdate.applyUpdates(RevWalk, RefList, List) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 341-346 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.file.ReflogEntryImpl.getNewId() may expose internal representation by returning ReflogEntryImpl.newId | MALICIOUS_CODE | EI_EXPOSE_REP | 75 | Medium |
org.eclipse.jgit.internal.storage.file.ReflogEntryImpl.getOldId() may expose internal representation by returning ReflogEntryImpl.oldId | MALICIOUS_CODE | EI_EXPOSE_REP | 66 | Medium |
org.eclipse.jgit.internal.storage.file.ReflogEntryImpl.getWho() may expose internal representation by returning ReflogEntryImpl.who | MALICIOUS_CODE | EI_EXPOSE_REP | 84 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.file.ReflogWriter(RefDirectory, boolean) may expose internal representation by storing an externally mutable object into ReflogWriter.refdb | MALICIOUS_CODE | EI_EXPOSE_REP2 | 86 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Random object created and used only once in org.eclipse.jgit.internal.storage.file.WindowCache.evict() | BAD_PRACTICE | DMI_RANDOM_USED_ONLY_ONCE | 656 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from org.eclipse.jgit.internal.storage.pack.ObjectToPack to org.eclipse.jgit.internal.storage.file.LocalObjectToPack in org.eclipse.jgit.internal.storage.file.WindowCursor.copyObjectAsIs(PackOutputStream, ObjectToPack, boolean) | STYLE | BC_UNCONFIRMED_CAST | 187 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.io.CancellableDigestOutputStream(ProgressMonitor, OutputStream) may expose internal representation by storing an externally mutable object into CancellableDigestOutputStream.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 51 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.pack.BitmapCommit$Builder.setId(AnyObjectId) may expose internal representation by storing an externally mutable object into BitmapCommit$Builder.objectId | MALICIOUS_CODE | EI_EXPOSE_REP2 | 110 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.pack.DeltaEncoder(OutputStream, long, long, int) may expose internal representation by storing an externally mutable object into DeltaEncoder.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 93 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.pack.DeltaIndex(byte[]) may expose internal representation by storing an externally mutable object into DeltaIndex.src | MALICIOUS_CODE | EI_EXPOSE_REP2 | 101 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.pack.DeltaTask$WeightedPath defines compareTo(DeltaTask$WeightedPath) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 212-216 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.pack.ObjectToPack.getDeltaBase() may expose internal representation by returning ObjectToPack.deltaBase | MALICIOUS_CODE | EI_EXPOSE_REP | 101 | Medium |
org.eclipse.jgit.internal.storage.pack.ObjectToPack.getDeltaBaseId() may expose internal representation by returning ObjectToPack.deltaBase | MALICIOUS_CODE | EI_EXPOSE_REP | 87 | Medium |
Class org.eclipse.jgit.internal.storage.pack.ObjectToPack defines non-transient non-serializable instance field cachedDelta | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.pack.PackOutputStream.getCopyBuffer() may expose internal representation by returning PackOutputStream.copyBuffer | MALICIOUS_CODE | EI_EXPOSE_REP | 155 | Medium |
new org.eclipse.jgit.internal.storage.pack.PackOutputStream(ProgressMonitor, OutputStream, PackWriter) may expose internal representation by storing an externally mutable object into PackOutputStream.packWriter | MALICIOUS_CODE | EI_EXPOSE_REP2 | 57 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.pack.PackWriter(PackConfig, ObjectReader, PackStatistics$Accumulator) may expose internal representation by storing an externally mutable object into PackWriter.config | MALICIOUS_CODE | EI_EXPOSE_REP2 | 358 | Medium |
new org.eclipse.jgit.internal.storage.pack.PackWriter(PackConfig, ObjectReader, PackStatistics$Accumulator) may expose internal representation by storing an externally mutable object into PackWriter.reader | MALICIOUS_CODE | EI_EXPOSE_REP2 | 359 | Medium |
new org.eclipse.jgit.internal.storage.pack.PackWriter(PackConfig, ObjectReader, PackStatistics$Accumulator) may expose internal representation by storing an externally mutable object into PackWriter.reuseSupport | MALICIOUS_CODE | EI_EXPOSE_REP2 | 361 | Medium |
org.eclipse.jgit.internal.storage.pack.PackWriter.setObjectCountCallback(ObjectCountCallback) may expose internal representation by storing an externally mutable object into PackWriter.callback | MALICIOUS_CODE | EI_EXPOSE_REP2 | 387 | Medium |
org.eclipse.jgit.internal.storage.pack.PackWriter.setShallowPack(int, Collection) may expose internal representation by storing an externally mutable object into PackWriter.unshallowObjects | MALICIOUS_CODE | EI_EXPOSE_REP2 | 654 | Medium |
org.eclipse.jgit.internal.storage.pack.PackWriter.setTagTargets(Set) may expose internal representation by storing an externally mutable object into PackWriter.tagTargets | MALICIOUS_CODE | EI_EXPOSE_REP2 | 637 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.pack.PackWriter$PackfileUriConfig(PacketLineOut, Collection, CachedPackUriProvider) may expose internal representation by storing an externally mutable object into PackWriter$PackfileUriConfig.pckOut | MALICIOUS_CODE | EI_EXPOSE_REP2 | 2555 | Medium |
new org.eclipse.jgit.internal.storage.pack.PackWriter$PackfileUriConfig(PacketLineOut, Collection, CachedPackUriProvider) may expose internal representation by storing an externally mutable object into PackWriter$PackfileUriConfig.protocolsSupported | MALICIOUS_CODE | EI_EXPOSE_REP2 | 2556 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Result of integer multiplication cast to long in new org.eclipse.jgit.internal.storage.pack.PackWriterBitmapPreparer(ObjectReader, PackBitmapIndexBuilder, ProgressMonitor, Set, PackConfig) | STYLE | ICAST_INTEGER_MULTIPLY_CAST_TO_LONG | 100 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.storage.pack.PackWriterBitmapPreparer$CommitSelectionHelper$1.next() can't throw NoSuchElementException | BAD_PRACTICE | IT_NO_SUCH_ELEMENT | 531 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.storage.reftable.ReftableWriter(ReftableConfig, OutputStream) may expose internal representation by storing an externally mutable object into ReftableWriter.config | MALICIOUS_CODE | EI_EXPOSE_REP2 | 112 | Medium |
new org.eclipse.jgit.internal.storage.reftable.ReftableWriter(ReftableConfig, OutputStream) may expose internal representation by storing an externally mutable object into ReftableWriter.outputStream | MALICIOUS_CODE | EI_EXPOSE_REP2 | 113 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.eclipse.jgit.internal.storage.reftable.ReftableWriter$RefList defines non-transient non-serializable instance field blockPos | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.transport.http.NetscapeCookieFile.getCookies(boolean) may expose internal representation by returning NetscapeCookieFile.cookies | MALICIOUS_CODE | EI_EXPOSE_REP | 153 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.transport.parser.FirstCommand.getCapabilities() may expose internal representation by returning FirstCommand.capabilities | MALICIOUS_CODE | EI_EXPOSE_REP | 73 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.internal.transport.parser.FirstWant.getCapabilities() may expose internal representation by returning FirstWant.capabilities | MALICIOUS_CODE | EI_EXPOSE_REP | 104 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.internal.transport.ssh.OpenSshConfigFile$HostEntry(List) may expose internal representation by storing an externally mutable object into OpenSshConfigFile$HostEntry.patterns | MALICIOUS_CODE | EI_EXPOSE_REP2 | 680 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.BaseRepositoryBuilder.getFS() may expose internal representation by returning BaseRepositoryBuilder.fs | MALICIOUS_CODE | EI_EXPOSE_REP | 145 | Medium |
org.eclipse.jgit.lib.BaseRepositoryBuilder.setFS(FS) may expose internal representation by storing an externally mutable object into BaseRepositoryBuilder.fs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 135 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.BatchRefUpdate.getPushOptions() may expose internal representation by returning BatchRefUpdate.pushOptions | MALICIOUS_CODE | EI_EXPOSE_REP | 372 | Medium |
org.eclipse.jgit.lib.BatchRefUpdate.getRefLogIdent() may expose internal representation by returning BatchRefUpdate.refLogIdent | MALICIOUS_CODE | EI_EXPOSE_REP | 132 | Medium |
org.eclipse.jgit.lib.BatchRefUpdate.setRefLogIdent(PersonIdent) may expose internal representation by storing an externally mutable object into BatchRefUpdate.refLogIdent | MALICIOUS_CODE | EI_EXPOSE_REP2 | 149 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.lib.BranchConfig(Config, String) may expose internal representation by storing an externally mutable object into BranchConfig.config | MALICIOUS_CODE | EI_EXPOSE_REP2 | 78 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.CommitBuilder.getCommitter() may expose internal representation by returning CommitBuilder.committer | MALICIOUS_CODE | EI_EXPOSE_REP | 109 | Medium |
org.eclipse.jgit.lib.CommitBuilder.getParentIds() may expose internal representation by returning CommitBuilder.parentIds | MALICIOUS_CODE | EI_EXPOSE_REP | 128 | Medium |
org.eclipse.jgit.lib.CommitBuilder.getTreeId() may expose internal representation by returning CommitBuilder.treeId | MALICIOUS_CODE | EI_EXPOSE_REP | 69 | Medium |
org.eclipse.jgit.lib.CommitBuilder.setCommitter(PersonIdent) may expose internal representation by storing an externally mutable object into CommitBuilder.committer | MALICIOUS_CODE | EI_EXPOSE_REP2 | 119 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.Config.getBaseConfig() may expose internal representation by returning Config.baseConfig | MALICIOUS_CODE | EI_EXPOSE_REP | 109 | Medium |
new org.eclipse.jgit.lib.Config(Config) may expose internal representation by storing an externally mutable object into Config.baseConfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 97 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.ConfigSnapshot$LineComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 1-191 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Public static org.eclipse.jgit.lib.Constants.encodedTypeString(int) may expose internal representation by returning Constants.ENCODED_TYPE_BLOB | MALICIOUS_CODE | MS_EXPOSE_REP | 546 | Medium |
Public static org.eclipse.jgit.lib.Constants.encodedTypeString(int) may expose internal representation by returning Constants.ENCODED_TYPE_COMMIT | MALICIOUS_CODE | MS_EXPOSE_REP | 542 | Medium |
Public static org.eclipse.jgit.lib.Constants.encodedTypeString(int) may expose internal representation by returning Constants.ENCODED_TYPE_TAG | MALICIOUS_CODE | MS_EXPOSE_REP | 548 | Medium |
Public static org.eclipse.jgit.lib.Constants.encodedTypeString(int) may expose internal representation by returning Constants.ENCODED_TYPE_TREE | MALICIOUS_CODE | MS_EXPOSE_REP | 544 | Medium |
org.eclipse.jgit.lib.Constants.PACK_SIGNATURE is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 204 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.GitmoduleEntry.getBlobId() may expose internal representation by returning GitmoduleEntry.blobId | MALICIOUS_CODE | EI_EXPOSE_REP | 42 | Medium |
org.eclipse.jgit.lib.GitmoduleEntry.getTreeId() may expose internal representation by returning GitmoduleEntry.treeId | MALICIOUS_CODE | EI_EXPOSE_REP | 49 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.lib.GpgSignature(byte[]) may expose internal representation by storing an externally mutable object into GpgSignature.signature | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.GpgSignatureVerifierFactory.setDefault(GpgSignatureVerifierFactory) may expose internal static state by storing a mutable object into a static field org.eclipse.jgit.lib.GpgSignatureVerifierFactory.defaultFactory | MALICIOUS_CODE | EI_EXPOSE_STATIC_REP2 | 61 | Medium |
Public static org.eclipse.jgit.lib.GpgSignatureVerifierFactory.getDefault() may expose internal representation by returning GpgSignatureVerifierFactory.defaultFactory | MALICIOUS_CODE | MS_EXPOSE_REP | 51 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.GpgSigner.setDefault(GpgSigner) may expose internal static state by storing a mutable object into a static field org.eclipse.jgit.lib.GpgSigner.defaultSigner | MALICIOUS_CODE | EI_EXPOSE_STATIC_REP2 | 64 | Medium |
Public static org.eclipse.jgit.lib.GpgSigner.getDefault() may expose internal representation by returning GpgSigner.defaultSigner | MALICIOUS_CODE | MS_EXPOSE_REP | 53 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.IndexDiff.getAdded() may expose internal representation by returning IndexDiff.added | MALICIOUS_CODE | EI_EXPOSE_REP | 701 | Medium |
org.eclipse.jgit.lib.IndexDiff.getAssumeUnchanged() may expose internal representation by returning IndexDiff.assumeUnchanged | MALICIOUS_CODE | EI_EXPOSE_REP | 798 | Medium |
org.eclipse.jgit.lib.IndexDiff.getChanged() may expose internal representation by returning IndexDiff.changed | MALICIOUS_CODE | EI_EXPOSE_REP | 710 | Medium |
org.eclipse.jgit.lib.IndexDiff.getConflictingStageStates() may expose internal representation by returning IndexDiff.conflicts | MALICIOUS_CODE | EI_EXPOSE_REP | 769 | Medium |
org.eclipse.jgit.lib.IndexDiff.getIgnoredNotInIndex() may expose internal representation by returning IndexDiff.ignored | MALICIOUS_CODE | EI_EXPOSE_REP | 782 | Medium |
org.eclipse.jgit.lib.IndexDiff.getMissing() may expose internal representation by returning IndexDiff.missing | MALICIOUS_CODE | EI_EXPOSE_REP | 728 | Medium |
org.eclipse.jgit.lib.IndexDiff.getModified() may expose internal representation by returning IndexDiff.modified | MALICIOUS_CODE | EI_EXPOSE_REP | 737 | Medium |
org.eclipse.jgit.lib.IndexDiff.getRemoved() may expose internal representation by returning IndexDiff.removed | MALICIOUS_CODE | EI_EXPOSE_REP | 719 | Medium |
org.eclipse.jgit.lib.IndexDiff.getUntracked() may expose internal representation by returning IndexDiff.untracked | MALICIOUS_CODE | EI_EXPOSE_REP | 746 | Medium |
new org.eclipse.jgit.lib.IndexDiff(Repository, ObjectId, WorkingTreeIterator) may expose internal representation by storing an externally mutable object into IndexDiff.initialWorkingTreeIterator | MALICIOUS_CODE | EI_EXPOSE_REP2 | 295 | Medium |
new org.eclipse.jgit.lib.IndexDiff(Repository, ObjectId, WorkingTreeIterator) may expose internal representation by storing an externally mutable object into IndexDiff.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 287 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.ObjectBuilder.getEncoding() may expose internal representation by returning ObjectBuilder.encoding | MALICIOUS_CODE | EI_EXPOSE_REP | 124 | Medium |
org.eclipse.jgit.lib.ObjectBuilder.setEncoding(Charset) may expose internal representation by storing an externally mutable object into ObjectBuilder.encoding | MALICIOUS_CODE | EI_EXPOSE_REP2 | 134 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.ObjectChecker.getGitsubmodules() may expose internal representation by returning ObjectChecker.gitsubmodules | MALICIOUS_CODE | EI_EXPOSE_REP | 1227 | Medium |
org.eclipse.jgit.lib.ObjectChecker.author is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 90 | Medium |
org.eclipse.jgit.lib.ObjectChecker.committer is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 93 | Medium |
org.eclipse.jgit.lib.ObjectChecker.encoding is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 96 | Medium |
org.eclipse.jgit.lib.ObjectChecker.tagger is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 108 | Medium |
org.eclipse.jgit.lib.ObjectChecker.object should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 99 | Medium |
org.eclipse.jgit.lib.ObjectChecker.parent should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 87 | Medium |
org.eclipse.jgit.lib.ObjectChecker.tag should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 105 | Medium |
org.eclipse.jgit.lib.ObjectChecker.tree should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 84 | Medium |
org.eclipse.jgit.lib.ObjectChecker.type should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 102 | Medium |
Switch statement found in org.eclipse.jgit.lib.ObjectChecker.checkNotWindowsDevice(byte[], int, int, AnyObjectId) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 956-1013 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Public static org.eclipse.jgit.lib.ObjectId.zeroId() may expose internal representation by returning ObjectId.ZEROID | MALICIOUS_CODE | MS_EXPOSE_REP | 45 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.ObjectIdRef.getObjectId() may expose internal representation by returning ObjectIdRef.objectId | MALICIOUS_CODE | EI_EXPOSE_REP | 238 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.ObjectIdRef$PeeledTag.getPeeledObjectId() may expose internal representation by returning ObjectIdRef$PeeledTag.peeledObjectId | MALICIOUS_CODE | EI_EXPOSE_REP | 118 | Medium |
new org.eclipse.jgit.lib.ObjectIdRef$PeeledTag(Ref$Storage, String, ObjectId, ObjectId) may expose internal representation by storing an externally mutable object into ObjectIdRef$PeeledTag.peeledObjectId | MALICIOUS_CODE | EI_EXPOSE_REP2 | 90 | Medium |
new org.eclipse.jgit.lib.ObjectIdRef$PeeledTag(Ref$Storage, String, ObjectId, ObjectId, long) may expose internal representation by storing an externally mutable object into ObjectIdRef$PeeledTag.peeledObjectId | MALICIOUS_CODE | EI_EXPOSE_REP2 | 112 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.ObjectLoader$SmallObject.getCachedBytes() may expose internal representation by returning ObjectLoader$SmallObject.data | MALICIOUS_CODE | EI_EXPOSE_REP | 289 | Medium |
new org.eclipse.jgit.lib.ObjectLoader$SmallObject(int, byte[]) may expose internal representation by storing an externally mutable object into ObjectLoader$SmallObject.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 269 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.lib.ObjectStream$SmallStream(int, byte[]) may expose internal representation by storing an externally mutable object into ObjectStream$SmallStream.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 70 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.lib.RebaseTodoFile(Repository) may expose internal representation by storing an externally mutable object into RebaseTodoFile.repo | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
Redundant nullcheck of action, which is known to be non-null in org.eclipse.jgit.lib.RebaseTodoFile.parseLine(byte[], int, int) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 158 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.RefDatabase.SEARCH_PATH should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 48 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.RefUpdate.getExpectedOldObjectId() may expose internal representation by returning RefUpdate.expValue | MALICIOUS_CODE | EI_EXPOSE_REP | 335 | Medium |
org.eclipse.jgit.lib.RefUpdate.getNewObjectId() may expose internal representation by returning RefUpdate.newValue | MALICIOUS_CODE | EI_EXPOSE_REP | 295 | Medium |
org.eclipse.jgit.lib.RefUpdate.getOldObjectId() may expose internal representation by returning RefUpdate.oldValue | MALICIOUS_CODE | EI_EXPOSE_REP | 484 | Medium |
org.eclipse.jgit.lib.RefUpdate.getRefLogIdent() may expose internal representation by returning RefUpdate.refLogIdent | MALICIOUS_CODE | EI_EXPOSE_REP | 377 | Medium |
org.eclipse.jgit.lib.RefUpdate.setRefLogIdent(PersonIdent) may expose internal representation by storing an externally mutable object into RefUpdate.refLogIdent | MALICIOUS_CODE | EI_EXPOSE_REP2 | 393 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.Repository.getFS() may expose internal representation by returning Repository.fs | MALICIOUS_CODE | EI_EXPOSE_REP | 291 | Medium |
org.eclipse.jgit.lib.Repository.getListenerList() may expose internal representation by returning Repository.myListeners | MALICIOUS_CODE | EI_EXPOSE_REP | 153 | Medium |
Public static org.eclipse.jgit.lib.Repository.getGlobalListenerList() may expose internal representation by returning Repository.globalListeners | MALICIOUS_CODE | MS_EXPOSE_REP | 108 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.lib.TagBuilder.getObjectId() may expose internal representation by returning TagBuilder.object | MALICIOUS_CODE | EI_EXPOSE_REP | 69 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.lib.TextProgressMonitor(Writer) may expose internal representation by storing an externally mutable object into TextProgressMonitor.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Public static org.eclipse.jgit.lib.internal.WorkQueue.getExecutor() may expose internal representation by returning WorkQueue.executor | MALICIOUS_CODE | MS_EXPOSE_REP | 71 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Public static org.eclipse.jgit.logging.PerformanceLogContext.getInstance() may expose internal representation by returning PerformanceLogContext.INSTANCE | MALICIOUS_CODE | MS_EXPOSE_REP | 39 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.merge.MergeResult.getSequences() may expose internal representation by returning MergeResult.sequences | MALICIOUS_CODE | EI_EXPOSE_REP | 95 | Medium |
new org.eclipse.jgit.merge.MergeResult(List) may expose internal representation by storing an externally mutable object into MergeResult.sequences | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.merge.Merger.getObjectInserter() may expose internal representation by returning Merger.inserter | MALICIOUS_CODE | EI_EXPOSE_REP | 141 | Medium |
org.eclipse.jgit.merge.Merger.getRepository() may expose internal representation by returning Merger.db | MALICIOUS_CODE | EI_EXPOSE_REP | 115 | Medium |
org.eclipse.jgit.merge.Merger.setObjectInserter(ObjectInserter) may expose internal representation by storing an externally mutable object into Merger.inserter | MALICIOUS_CODE | EI_EXPOSE_REP2 | 161 | Medium |
Unread public/protected field: org.eclipse.jgit.merge.Merger.monitor | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 75 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.merge.ResolveMerger.getCommitNames() may expose internal representation by returning ResolveMerger.commitNames | MALICIOUS_CODE | EI_EXPOSE_REP | 1213 | Medium |
org.eclipse.jgit.merge.ResolveMerger.getMergeResults() may expose internal representation by returning ResolveMerger.mergeResults | MALICIOUS_CODE | EI_EXPOSE_REP | 1259 | Medium |
org.eclipse.jgit.merge.ResolveMerger.getModifiedFiles() may expose internal representation by returning ResolveMerger.modifiedFiles | MALICIOUS_CODE | EI_EXPOSE_REP | 1236 | Medium |
org.eclipse.jgit.merge.ResolveMerger.getToBeCheckedOut() may expose internal representation by returning ResolveMerger.toBeCheckedOut | MALICIOUS_CODE | EI_EXPOSE_REP | 1250 | Medium |
org.eclipse.jgit.merge.ResolveMerger.getUnmergedPaths() may expose internal representation by returning ResolveMerger.unmergedPaths | MALICIOUS_CODE | EI_EXPOSE_REP | 1224 | Medium |
org.eclipse.jgit.merge.ResolveMerger.setCommitNames(String[]) may expose internal representation by storing an externally mutable object into ResolveMerger.commitNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1203 | Medium |
org.eclipse.jgit.merge.ResolveMerger.setDirCache(DirCache) may expose internal representation by storing an externally mutable object into ResolveMerger.dircache | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1299 | Medium |
org.eclipse.jgit.merge.ResolveMerger.setWorkingTreeIterator(WorkingTreeIterator) may expose internal representation by storing an externally mutable object into ResolveMerger.workingTreeIterator | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1315 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jgit.merge.ResolveMerger.checkout() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 421 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jgit.merge.ResolveMerger.writeMergedFile(TemporaryBuffer, Attributes) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 1099 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.merge.ThreeWayMerger.getBaseCommitId() may expose internal representation by returning ThreeWayMerger.baseCommitId | MALICIOUS_CODE | EI_EXPOSE_REP | 102 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.nls.TranslationBundle.effectiveLocale() may expose internal representation by returning TranslationBundle.effectiveLocale | MALICIOUS_CODE | EI_EXPOSE_REP | 103 | Medium |
org.eclipse.jgit.nls.TranslationBundle.resourceBundle() may expose internal representation by returning TranslationBundle.resourceBundle | MALICIOUS_CODE | EI_EXPOSE_REP | 112 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.notes.Note.getData() may expose internal representation by returning Note.data | MALICIOUS_CODE | EI_EXPOSE_REP | 41 | Medium |
new org.eclipse.jgit.notes.Note(AnyObjectId, ObjectId) may expose internal representation by storing an externally mutable object into Note.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 32 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.notes.NoteMapMerger(Repository, NoteMerger, MergeStrategy) may expose internal representation by storing an externally mutable object into NoteMapMerger.db | MALICIOUS_CODE | EI_EXPOSE_REP2 | 65 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.patch.BinaryHunk.getFileHeader() may expose internal representation by returning BinaryHunk.file | MALICIOUS_CODE | EI_EXPOSE_REP | 61 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.patch.FileHeader.getBuffer() may expose internal representation by returning FileHeader.buf | MALICIOUS_CODE | EI_EXPOSE_REP | 142 | Medium |
org.eclipse.jgit.patch.FileHeader.getHunks() may expose internal representation by returning FileHeader.hunks | MALICIOUS_CODE | EI_EXPOSE_REP | 298 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.patch.FormatError.getBuffer() may expose internal representation by returning FormatError.buf | MALICIOUS_CODE | EI_EXPOSE_REP | 72 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.patch.HunkHeader.getFileHeader() may expose internal representation by returning HunkHeader.file | MALICIOUS_CODE | EI_EXPOSE_REP | 126 | Medium |
org.eclipse.jgit.patch.HunkHeader.toEditList() may expose internal representation by returning HunkHeader.editList | MALICIOUS_CODE | EI_EXPOSE_REP | 241 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.patch.Patch.getErrors() may expose internal representation by returning Patch.errors | MALICIOUS_CODE | EI_EXPOSE_REP | 100 | Medium |
org.eclipse.jgit.patch.Patch.getFiles() may expose internal representation by returning Patch.files | MALICIOUS_CODE | EI_EXPOSE_REP | 81 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.revplot.PlotWalk(Repository) may expose internal representation by storing an externally mutable object into PlotWalk.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 77 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.revwalk.BitmapWalker(ObjectWalk, BitmapIndex, ProgressMonitor) may expose internal representation by storing an externally mutable object into BitmapWalker.walker | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
org.eclipse.jgit.revwalk.BitmapWalker.setPrevCommit(AnyObjectId) may expose internal representation by storing an externally mutable object into BitmapWalker.prevCommit | MALICIOUS_CODE | EI_EXPOSE_REP2 | 72 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.revwalk.DepthWalk$ObjectWalk.getDeepenNots() may expose internal representation by returning DepthWalk$ObjectWalk.deepenNots | MALICIOUS_CODE | EI_EXPOSE_REP | 343 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.revwalk.DepthWalk$RevWalk.getDeepenNots() may expose internal representation by returning DepthWalk$RevWalk.deepenNots | MALICIOUS_CODE | EI_EXPOSE_REP | 200 | Medium |
org.eclipse.jgit.revwalk.DepthWalk$RevWalk.setDeepenNots(List) may expose internal representation by storing an externally mutable object into DepthWalk$RevWalk.deepenNots | MALICIOUS_CODE | EI_EXPOSE_REP2 | 212 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.revwalk.ObjectWalk.getPathBuffer() may expose internal representation by returning ObjectWalk.pathBuf | MALICIOUS_CODE | EI_EXPOSE_REP | 716 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.revwalk.RevCommit.getParents() may expose internal representation by returning RevCommit.parents | MALICIOUS_CODE | EI_EXPOSE_REP | 345 | Medium |
org.eclipse.jgit.revwalk.RevCommit.getRawBuffer() may expose internal representation by returning RevCommit.buffer | MALICIOUS_CODE | EI_EXPOSE_REP | 361 | Medium |
org.eclipse.jgit.revwalk.RevCommit.getTree() may expose internal representation by returning RevCommit.tree | MALICIOUS_CODE | EI_EXPOSE_REP | 308 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.revwalk.RevCommitList.source(RevWalk) may expose internal representation by storing an externally mutable object into RevCommitList.walker | MALICIOUS_CODE | EI_EXPOSE_REP2 | 236 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.revwalk.RevFlag.getRevWalk() may expose internal representation by returning RevFlag.walker | MALICIOUS_CODE | EI_EXPOSE_REP | 67 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.revwalk.RevTag.getObject() may expose internal representation by returning RevTag.object | MALICIOUS_CODE | EI_EXPOSE_REP | 334 | Medium |
org.eclipse.jgit.revwalk.RevTag.getRawBuffer() may expose internal representation by returning RevTag.buffer | MALICIOUS_CODE | EI_EXPOSE_REP | 359 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.revwalk.RevWalk.getObjectReader() may expose internal representation by returning RevWalk.reader | MALICIOUS_CODE | EI_EXPOSE_REP | 237 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.storage.file.FileBasedConfig(Config, File, FS) may expose internal representation by storing an externally mutable object into FileBasedConfig.fs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 87 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.storage.pack.PackConfig.getSearchForReuseTimeout() may expose internal representation by returning PackConfig.searchForReuseTimeout | MALICIOUS_CODE | EI_EXPOSE_REP | 1131 | Medium |
org.eclipse.jgit.storage.pack.PackConfig.setSearchForReuseTimeout(Duration) may expose internal representation by storing an externally mutable object into PackConfig.searchForReuseTimeout | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1157 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.submodule.SubmoduleConflict.getObjectId() may expose internal representation by returning SubmoduleConflict.objectId | MALICIOUS_CODE | EI_EXPOSE_REP | 75 | Medium |
new org.eclipse.jgit.submodule.SubmoduleConflict(ObjectId) may expose internal representation by storing an externally mutable object into SubmoduleConflict.objectId | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.submodule.SubmoduleStatus.getHeadId() may expose internal representation by returning SubmoduleStatus.headId | MALICIOUS_CODE | EI_EXPOSE_REP | 97 | Medium |
org.eclipse.jgit.submodule.SubmoduleStatus.getIndexId() may expose internal representation by returning SubmoduleStatus.indexId | MALICIOUS_CODE | EI_EXPOSE_REP | 88 | Medium |
new org.eclipse.jgit.submodule.SubmoduleStatus(SubmoduleStatusType, String, ObjectId, ObjectId) may expose internal representation by storing an externally mutable object into SubmoduleStatus.headId | MALICIOUS_CODE | EI_EXPOSE_REP2 | 61 | Medium |
new org.eclipse.jgit.submodule.SubmoduleStatus(SubmoduleStatusType, String, ObjectId, ObjectId) may expose internal representation by storing an externally mutable object into SubmoduleStatus.indexId | MALICIOUS_CODE | EI_EXPOSE_REP2 | 60 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.submodule.SubmoduleWalk(Repository) may expose internal representation by storing an externally mutable object into SubmoduleWalk.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 374 | Medium |
org.eclipse.jgit.submodule.SubmoduleWalk.setModulesConfig(Config) may expose internal representation by storing an externally mutable object into SubmoduleWalk.modulesConfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 391 | Medium |
org.eclipse.jgit.submodule.SubmoduleWalk.setRootTree(AbstractTreeIterator) may expose internal representation by storing an externally mutable object into SubmoduleWalk.rootTree | MALICIOUS_CODE | EI_EXPOSE_REP2 | 410 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.BaseConnection.getRefsMap() may expose internal representation by returning BaseConnection.advertisedRefs | MALICIOUS_CODE | EI_EXPOSE_REP | 44 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.BasePackPushConnection.getPushOptions() may expose internal representation by returning BasePackPushConnection.pushOptions | MALICIOUS_CODE | EI_EXPOSE_REP | 417 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.transport.BundleWriter(ObjectReader) may expose internal representation by storing an externally mutable object into BundleWriter.reader | MALICIOUS_CODE | EI_EXPOSE_REP2 | 100 | Medium |
new org.eclipse.jgit.transport.BundleWriter(Repository) may expose internal representation by storing an externally mutable object into BundleWriter.db | MALICIOUS_CODE | EI_EXPOSE_REP2 | 82 | Medium |
org.eclipse.jgit.transport.BundleWriter.setObjectCountCallback(ObjectCountCallback) may expose internal representation by storing an externally mutable object into BundleWriter.callback | MALICIOUS_CODE | EI_EXPOSE_REP2 | 285 | Medium |
org.eclipse.jgit.transport.BundleWriter.setPackConfig(PackConfig) may expose internal representation by storing an externally mutable object into BundleWriter.packConfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 115 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.ConnectivityChecker$ConnectivityCheckInfo.getCommands() may expose internal representation by returning ConnectivityChecker$ConnectivityCheckInfo.commands | MALICIOUS_CODE | EI_EXPOSE_REP | 112 | Medium |
org.eclipse.jgit.transport.ConnectivityChecker$ConnectivityCheckInfo.getParser() may expose internal representation by returning ConnectivityChecker$ConnectivityCheckInfo.parser | MALICIOUS_CODE | EI_EXPOSE_REP | 81 | Medium |
org.eclipse.jgit.transport.ConnectivityChecker$ConnectivityCheckInfo.getRepository() may expose internal representation by returning ConnectivityChecker$ConnectivityCheckInfo.repository | MALICIOUS_CODE | EI_EXPOSE_REP | 66 | Medium |
org.eclipse.jgit.transport.ConnectivityChecker$ConnectivityCheckInfo.getWalk() may expose internal representation by returning ConnectivityChecker$ConnectivityCheckInfo.walk | MALICIOUS_CODE | EI_EXPOSE_REP | 135 | Medium |
org.eclipse.jgit.transport.ConnectivityChecker$ConnectivityCheckInfo.setCommands(List) may expose internal representation by storing an externally mutable object into ConnectivityChecker$ConnectivityCheckInfo.commands | MALICIOUS_CODE | EI_EXPOSE_REP2 | 120 | Medium |
org.eclipse.jgit.transport.ConnectivityChecker$ConnectivityCheckInfo.setParser(PackParser) may expose internal representation by storing an externally mutable object into ConnectivityChecker$ConnectivityCheckInfo.parser | MALICIOUS_CODE | EI_EXPOSE_REP2 | 89 | Medium |
org.eclipse.jgit.transport.ConnectivityChecker$ConnectivityCheckInfo.setRepository(Repository) may expose internal representation by storing an externally mutable object into ConnectivityChecker$ConnectivityCheckInfo.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 74 | Medium |
org.eclipse.jgit.transport.ConnectivityChecker$ConnectivityCheckInfo.setWalk(RevWalk) may expose internal representation by storing an externally mutable object into ConnectivityChecker$ConnectivityCheckInfo.walk | MALICIOUS_CODE | EI_EXPOSE_REP2 | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.CredentialItem$CharArrayType.getValue() may expose internal representation by returning CredentialItem$CharArrayType.value | MALICIOUS_CODE | EI_EXPOSE_REP | 166 | Medium |
org.eclipse.jgit.transport.CredentialItem$CharArrayType.setValueNoCopy(char[]) may expose internal representation by storing an externally mutable object into CredentialItem$CharArrayType.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 192 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.CredentialsProvider.setDefault(CredentialsProvider) may expose internal static state by storing a mutable object into a static field org.eclipse.jgit.transport.CredentialsProvider.defaultProvider | MALICIOUS_CODE | EI_EXPOSE_STATIC_REP2 | 52 | Medium |
Public static org.eclipse.jgit.transport.CredentialsProvider.getDefault() may expose internal representation by returning CredentialsProvider.defaultProvider | MALICIOUS_CODE | MS_EXPOSE_REP | 42 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.Daemon.getAddress() may expose internal representation by returning Daemon.myAddress | MALICIOUS_CODE | EI_EXPOSE_REP | 154 | Medium |
org.eclipse.jgit.transport.Daemon.getPackConfig() may expose internal representation by returning Daemon.packConfig | MALICIOUS_CODE | EI_EXPOSE_REP | 203 | Medium |
new org.eclipse.jgit.transport.Daemon(InetSocketAddress) may expose internal representation by storing an externally mutable object into Daemon.myAddress | MALICIOUS_CODE | EI_EXPOSE_REP2 | 80 | Medium |
org.eclipse.jgit.transport.Daemon.setPackConfig(PackConfig) may expose internal representation by storing an externally mutable object into Daemon.packConfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 214 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.DaemonClient.getDaemon() may expose internal representation by returning DaemonClient.daemon | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
org.eclipse.jgit.transport.DaemonClient.getOutputStream() may expose internal representation by returning DaemonClient.rawOut | MALICIOUS_CODE | EI_EXPOSE_REP | 79 | Medium |
org.eclipse.jgit.transport.DaemonClient.getRemoteAddress() may expose internal representation by returning DaemonClient.peer | MALICIOUS_CODE | EI_EXPOSE_REP | 61 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.FetchV2Request.getServerOptions() may expose internal representation by returning FetchV2Request.serverOptions | MALICIOUS_CODE | EI_EXPOSE_REP | 113 | Medium |
org.eclipse.jgit.transport.FetchV2Request.getWantedRefs() may expose internal representation by returning FetchV2Request.wantedRefs | MALICIOUS_CODE | EI_EXPOSE_REP | 86 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.LsRefsV2Request.getRefPrefixes() may expose internal representation by returning LsRefsV2Request.refPrefixes | MALICIOUS_CODE | EI_EXPOSE_REP | 54 | Medium |
org.eclipse.jgit.transport.LsRefsV2Request.getServerOptions() may expose internal representation by returning LsRefsV2Request.serverOptions | MALICIOUS_CODE | EI_EXPOSE_REP | 92 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.LsRefsV2Request$Builder.setRefPrefixes(List) may expose internal representation by storing an externally mutable object into LsRefsV2Request$Builder.refPrefixes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 120 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.ObjectInfoRequest.getObjectIDs() may expose internal representation by returning ObjectInfoRequest.objectIDs | MALICIOUS_CODE | EI_EXPOSE_REP | 39 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.ObjectInfoRequest$Builder.setObjectIDs(List) may expose internal representation by storing an externally mutable object into ObjectInfoRequest$Builder.objectIDs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.PackParser.getBaseObjectIds() may expose internal representation by returning PackParser.baseObjectIds | MALICIOUS_CODE | EI_EXPOSE_REP | 334 | Medium |
org.eclipse.jgit.transport.PackParser.getNewObjectIds() may expose internal representation by returning PackParser.newObjectIds | MALICIOUS_CODE | EI_EXPOSE_REP | 323 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.eclipse.jgit.transport.PackParser$DeltaChain defines non-transient non-serializable instance field head | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.PacketLineIn.<static initializer for PacketLineIn>() invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 53 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.transport.PacketLineOut(OutputStream, boolean) may expose internal representation by storing an externally mutable object into PacketLineOut.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 70 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.transport.ProgressSpinner(OutputStream) may expose internal representation by storing an externally mutable object into ProgressSpinner.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 47 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.PushCertificate.getCommands() may expose internal representation by returning PushCertificate.commands | MALICIOUS_CODE | EI_EXPOSE_REP | 170 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.PushCertificateParser.receiveHeader(PushCertificateParser$StringReader, boolean) might ignore java.io.EOFException | BAD_PRACTICE | DE_MIGHT_IGNORE | 345 | Medium |
new org.eclipse.jgit.transport.PushCertificateParser(Repository, SignedPushConfig) may expose internal representation by storing an externally mutable object into PushCertificateParser.db | MALICIOUS_CODE | EI_EXPOSE_REP2 | 194 | Medium |
Redundant nullcheck of org.eclipse.jgit.transport.PushCertificateParser.pusher, which is known to be non-null in org.eclipse.jgit.transport.PushCertificateParser.receiveHeader(PushCertificateParser$StringReader, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 355 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.transport.PushCertificateStore(Repository) may expose internal representation by storing an externally mutable object into PushCertificateStore.db | MALICIOUS_CODE | EI_EXPOSE_REP2 | 99 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.ReceiveCommand.getNewId() may expose internal representation by returning ReceiveCommand.newId | MALICIOUS_CODE | EI_EXPOSE_REP | 508 | Medium |
org.eclipse.jgit.transport.ReceiveCommand.getOldId() may expose internal representation by returning ReceiveCommand.oldId | MALICIOUS_CODE | EI_EXPOSE_REP | 488 | Medium |
new org.eclipse.jgit.transport.ReceiveCommand(ObjectId, ObjectId, String) may expose internal representation by storing an externally mutable object into ReceiveCommand.newId | MALICIOUS_CODE | EI_EXPOSE_REP2 | 289 | Medium |
new org.eclipse.jgit.transport.ReceiveCommand(ObjectId, ObjectId, String) may expose internal representation by storing an externally mutable object into ReceiveCommand.oldId | MALICIOUS_CODE | EI_EXPOSE_REP2 | 287 | Medium |
new org.eclipse.jgit.transport.ReceiveCommand(ObjectId, ObjectId, String, ReceiveCommand$Type) may expose internal representation by storing an externally mutable object into ReceiveCommand.newId | MALICIOUS_CODE | EI_EXPOSE_REP2 | 341 | Medium |
new org.eclipse.jgit.transport.ReceiveCommand(ObjectId, ObjectId, String, ReceiveCommand$Type) may expose internal representation by storing an externally mutable object into ReceiveCommand.oldId | MALICIOUS_CODE | EI_EXPOSE_REP2 | 339 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.ReceivePack.getAdvertisedObjects() may expose internal representation by returning ReceivePack.advertisedHaves | MALICIOUS_CODE | EI_EXPOSE_REP | 476 | Medium |
org.eclipse.jgit.transport.ReceivePack.getAdvertisedRefs() may expose internal representation by returning ReceivePack.refs | MALICIOUS_CODE | EI_EXPOSE_REP | 424 | Medium |
org.eclipse.jgit.transport.ReceivePack.getMessageOutputStream() may expose internal representation by returning ReceivePack.msgOutWrapper | MALICIOUS_CODE | EI_EXPOSE_REP | 1079 | Medium |
org.eclipse.jgit.transport.ReceivePack.getRefLogIdent() may expose internal representation by returning ReceivePack.refLogIdent | MALICIOUS_CODE | EI_EXPOSE_REP | 718 | Medium |
org.eclipse.jgit.transport.ReceivePack.getRepository() may expose internal representation by returning ReceivePack.db | MALICIOUS_CODE | EI_EXPOSE_REP | 405 | Medium |
org.eclipse.jgit.transport.ReceivePack.getRevWalk() may expose internal representation by returning ReceivePack.walk | MALICIOUS_CODE | EI_EXPOSE_REP | 414 | Medium |
new org.eclipse.jgit.transport.ReceivePack(Repository) may expose internal representation by storing an externally mutable object into ReceivePack.db | MALICIOUS_CODE | EI_EXPOSE_REP2 | 291 | Medium |
org.eclipse.jgit.transport.ReceivePack.setPushOptions(List) may expose internal representation by storing an externally mutable object into ReceivePack.pushOptions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 2027 | Medium |
org.eclipse.jgit.transport.ReceivePack.setRefLogIdent(PersonIdent) may expose internal representation by storing an externally mutable object into ReceivePack.refLogIdent | MALICIOUS_CODE | EI_EXPOSE_REP2 | 734 | Medium |
org.eclipse.jgit.transport.ReceivePack.setSignedPushConfig(SignedPushConfig) may expose internal representation by storing an externally mutable object into ReceivePack.signedPushConfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 961 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.RefAdvertiser.send(Collection) may expose internal representation by returning RefAdvertiser.sent | MALICIOUS_CODE | EI_EXPOSE_REP | 325 | Medium |
org.eclipse.jgit.transport.RefAdvertiser.init(Repository) may expose internal representation by storing an externally mutable object into RefAdvertiser.repository | MALICIOUS_CODE | EI_EXPOSE_REP2 | 160 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.transport.RefAdvertiser$PacketLineOutRefAdvertiser(PacketLineOut) may expose internal representation by storing an externally mutable object into RefAdvertiser$PacketLineOutRefAdvertiser.pckOut | MALICIOUS_CODE | EI_EXPOSE_REP2 | 62 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.RemoteRefUpdate.getExpectedOldObjectId() may expose internal representation by returning RemoteRefUpdate.expectedOldObjectId | MALICIOUS_CODE | EI_EXPOSE_REP | 399 | Medium |
org.eclipse.jgit.transport.RemoteRefUpdate.getNewObjectId() may expose internal representation by returning RemoteRefUpdate.newObjectId | MALICIOUS_CODE | EI_EXPOSE_REP | 419 | Medium |
org.eclipse.jgit.transport.RemoteRefUpdate.getTrackingRefUpdate() may expose internal representation by returning RemoteRefUpdate.trackingRefUpdate | MALICIOUS_CODE | EI_EXPOSE_REP | 446 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.transport.SideBandOutputStream(int, int, OutputStream) may expose internal representation by storing an externally mutable object into SideBandOutputStream.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 86 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.SshSessionFactory.setInstance(SshSessionFactory) may expose internal static state by storing a mutable object into a static field org.eclipse.jgit.transport.SshSessionFactory.INSTANCE | MALICIOUS_CODE | EI_EXPOSE_STATIC_REP2 | 72 | Medium |
Public static org.eclipse.jgit.transport.SshSessionFactory.getInstance() may expose internal representation by returning SshSessionFactory.INSTANCE | MALICIOUS_CODE | MS_EXPOSE_REP | 60 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.SshTransport.getSshSessionFactory() may expose internal representation by returning SshTransport.sch | MALICIOUS_CODE | EI_EXPOSE_REP | 88 | Medium |
org.eclipse.jgit.transport.SshTransport.setSshSessionFactory(SshSessionFactory) may expose internal representation by storing an externally mutable object into SshTransport.sch | MALICIOUS_CODE | EI_EXPOSE_REP2 | 78 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.TrackingRefUpdate.asReceiveCommand() may expose internal representation by returning TrackingRefUpdate.cmd | MALICIOUS_CODE | EI_EXPOSE_REP | 114 | Medium |
org.eclipse.jgit.transport.TrackingRefUpdate.getNewObjectId() may expose internal representation by returning TrackingRefUpdate.newObjectId | MALICIOUS_CODE | EI_EXPOSE_REP | 75 | Medium |
org.eclipse.jgit.transport.TrackingRefUpdate.getOldObjectId() may expose internal representation by returning TrackingRefUpdate.oldObjectId | MALICIOUS_CODE | EI_EXPOSE_REP | 89 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.Transport.getCredentialsProvider() may expose internal representation by returning Transport.credentialsProvider | MALICIOUS_CODE | EI_EXPOSE_REP | 1192 | Medium |
org.eclipse.jgit.transport.Transport.getPackConfig() may expose internal representation by returning Transport.packConfig | MALICIOUS_CODE | EI_EXPOSE_REP | 1161 | Medium |
org.eclipse.jgit.transport.Transport.getPushOptions() may expose internal representation by returning Transport.pushOptions | MALICIOUS_CODE | EI_EXPOSE_REP | 1202 | Medium |
org.eclipse.jgit.transport.Transport.setCredentialsProvider(CredentialsProvider) may expose internal representation by storing an externally mutable object into Transport.credentialsProvider | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1182 | Medium |
org.eclipse.jgit.transport.Transport.setPackConfig(PackConfig) may expose internal representation by storing an externally mutable object into Transport.packConfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1172 | Medium |
org.eclipse.jgit.transport.Transport.setPushOptions(List) may expose internal representation by storing an externally mutable object into Transport.pushOptions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 1213 | Medium |
Uninitialized read of hookOutRedirect in new org.eclipse.jgit.transport.Transport(Repository, URIish) | CORRECTNESS | UR_UNINIT_READ | 808 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.TransportHttp.setAdditionalHeaders(Map) may expose internal representation by storing an externally mutable object into TransportHttp.headers | MALICIOUS_CODE | EI_EXPOSE_REP2 | 588 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.UploadPack.getAdvertisedRefs() may expose internal representation by returning UploadPack.refs | MALICIOUS_CODE | EI_EXPOSE_REP | 393 | Medium |
org.eclipse.jgit.transport.UploadPack.getMessageOutputStream() may expose internal representation by returning UploadPack.msgOut | MALICIOUS_CODE | EI_EXPOSE_REP | 1623 | Medium |
org.eclipse.jgit.transport.UploadPack.getRepository() may expose internal representation by returning UploadPack.db | MALICIOUS_CODE | EI_EXPOSE_REP | 372 | Medium |
org.eclipse.jgit.transport.UploadPack.getRevWalk() may expose internal representation by returning UploadPack.walk | MALICIOUS_CODE | EI_EXPOSE_REP | 381 | Medium |
new org.eclipse.jgit.transport.UploadPack(Repository) may expose internal representation by storing an externally mutable object into UploadPack.db | MALICIOUS_CODE | EI_EXPOSE_REP2 | 347 | Medium |
org.eclipse.jgit.transport.UploadPack.setAdvertisedRefs(Map) may expose internal representation by storing an externally mutable object into UploadPack.refs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 411 | Medium |
org.eclipse.jgit.transport.UploadPack.setPackConfig(PackConfig) may expose internal representation by storing an externally mutable object into UploadPack.packConfig | MALICIOUS_CODE | EI_EXPOSE_REP2 | 662 | Medium |
org.eclipse.jgit.transport.UploadPack.uploadWithExceptionPropagation(InputStream, OutputStream, OutputStream) may expose internal representation by storing an externally mutable object into UploadPack.msgOut | MALICIOUS_CODE | EI_EXPOSE_REP2 | 818 | Medium |
Redundant nullcheck of org.eclipse.jgit.transport.UploadPack.refs which is known to be null in org.eclipse.jgit.transport.UploadPack.sendPack(ProgressMonitor, PacketLineOut, OutputStream, FetchRequest, PackStatistics$Accumulator, Collection, List, List) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE | 2323 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.transport.UploadPack$SideBandErrorWriter.writeError(String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 2505 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider(String, char[]) may expose internal representation by storing an externally mutable object into UsernamePasswordCredentialsProvider.password | MALICIOUS_CODE | EI_EXPOSE_REP2 | 48 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.transport.WalkFetchConnection.close() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 236 | Medium |
Switch statement found in org.eclipse.jgit.transport.WalkFetchConnection.markLocalObjComplete(RevObject) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 690-698 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.treewalk.AbstractTreeIterator.getEntryPathBuffer() may expose internal representation by returning AbstractTreeIterator.path | MALICIOUS_CODE | EI_EXPOSE_REP | 457 | Medium |
org.eclipse.jgit.treewalk.AbstractTreeIterator.zeroid is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 57 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.treewalk.CanonicalTreeParser.idBuffer() may expose internal representation by returning CanonicalTreeParser.raw | MALICIOUS_CODE | EI_EXPOSE_REP | 246 | Medium |
org.eclipse.jgit.treewalk.CanonicalTreeParser.reset(byte[]) may expose internal representation by storing an externally mutable object into CanonicalTreeParser.raw | MALICIOUS_CODE | EI_EXPOSE_REP2 | 112 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.treewalk.EmptyTreeIterator.idBuffer() may expose internal representation by returning AbstractTreeIterator.zeroid | MALICIOUS_CODE | EI_EXPOSE_REP | 82 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.treewalk.FileTreeIterator(File, FS, WorkingTreeOptions, FileTreeIterator$FileModeStrategy) may expose internal representation by storing an externally mutable object into FileTreeIterator.fs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 129 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.treewalk.FileTreeIterator$FileEntry(File, FS, FileTreeIterator$FileModeStrategy) may expose internal representation by storing an externally mutable object into FileTreeIterator$FileEntry.fs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 331 | Medium |
new org.eclipse.jgit.treewalk.FileTreeIterator$FileEntry(File, FS, FS$Attributes, FileTreeIterator$FileModeStrategy) may expose internal representation by storing an externally mutable object into FileTreeIterator$FileEntry.fs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 354 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.treewalk.InstantComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 1-76 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.treewalk.TreeWalk.getObjectReader() may expose internal representation by returning TreeWalk.reader | MALICIOUS_CODE | EI_EXPOSE_REP | 370 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.treewalk.WorkingTreeIterator.getRepository() may expose internal representation by returning WorkingTreeIterator.repository | MALICIOUS_CODE | EI_EXPOSE_REP | 520 | Medium |
org.eclipse.jgit.treewalk.WorkingTreeIterator.idBuffer() may expose internal representation by returning AbstractTreeIterator.zeroid | MALICIOUS_CODE | EI_EXPOSE_REP | 316 | Medium |
org.eclipse.jgit.treewalk.WorkingTreeIterator.idBuffer() may expose internal representation by returning WorkingTreeIterator.contentId | MALICIOUS_CODE | EI_EXPOSE_REP | 285 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.treewalk.filter.IndexDiffFilter.getIgnoredPaths() may expose internal representation by returning IndexDiffFilter.ignoredPaths | MALICIOUS_CODE | EI_EXPOSE_REP | 267 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.eclipse.jgit.util.Base64.encode3to4(byte[], int, int, byte[], int) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 107-111 | Medium |
Switch statement found in org.eclipse.jgit.util.Base64.encode3to4(byte[], int, int, byte[], int) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 105-115 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.delete() ignored in org.eclipse.jgit.util.FS.detectSymlinkSupport() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 993 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.util.FS$Attributes.getLastModifiedInstant() may expose internal representation by returning FS$Attributes.lastModifiedInstant | MALICIOUS_CODE | EI_EXPOSE_REP | 2376 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.util.FS$ExecutionResult.getStderr() may expose internal representation by returning FS$ExecutionResult.stderr | MALICIOUS_CODE | EI_EXPOSE_REP | 174 | Medium |
org.eclipse.jgit.util.FS$ExecutionResult.getStdout() may expose internal representation by returning FS$ExecutionResult.stdout | MALICIOUS_CODE | EI_EXPOSE_REP | 167 | Medium |
new org.eclipse.jgit.util.FS$ExecutionResult(TemporaryBuffer, TemporaryBuffer, int) may expose internal representation by storing an externally mutable object into FS$ExecutionResult.stderr | MALICIOUS_CODE | EI_EXPOSE_REP2 | 159 | Medium |
new org.eclipse.jgit.util.FS$ExecutionResult(TemporaryBuffer, TemporaryBuffer, int) may expose internal representation by storing an externally mutable object into FS$ExecutionResult.stdout | MALICIOUS_CODE | EI_EXPOSE_REP2 | 158 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.util.FS$FileStoreAttributes.getFsTimestampResolution() may expose internal representation by returning FS$FileStoreAttributes.fsTimestampResolution | MALICIOUS_CODE | EI_EXPOSE_REP | 822 | Medium |
org.eclipse.jgit.util.FS$FileStoreAttributes.getMinimalRacyInterval() may expose internal representation by returning FS$FileStoreAttributes.minimalRacyInterval | MALICIOUS_CODE | EI_EXPOSE_REP | 814 | Medium |
new org.eclipse.jgit.util.FS$FileStoreAttributes(Duration) may expose internal representation by storing an externally mutable object into FS$FileStoreAttributes.fsTimestampResolution | MALICIOUS_CODE | EI_EXPOSE_REP2 | 833 | Medium |
Exceptional return value of java.io.File.setLastModified(long) ignored in org.eclipse.jgit.util.FS$FileStoreAttributes.getFsResolution(FileStore, Path, Path) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 583 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception is caught when Exception is not thrown in org.eclipse.jgit.util.FS_POSIX.readUmask() | STYLE | REC_CATCH_EXCEPTION | 131 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Random object created and used only once in org.eclipse.jgit.util.FileUtils.delay(long, long, long) | BAD_PRACTICE | DMI_RANDOM_USED_ONLY_ONCE | 1017 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.util.LfsFactory.setInstance(LfsFactory) may expose internal static state by storing a mutable object into a static field org.eclipse.jgit.util.LfsFactory.instance | MALICIOUS_CODE | EI_EXPOSE_STATIC_REP2 | 58 | Medium |
Public static org.eclipse.jgit.util.LfsFactory.getInstance() may expose internal representation by returning LfsFactory.instance | MALICIOUS_CODE | MS_EXPOSE_REP | 49 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.eclipse.jgit.util.QuotedString$BourneStyle.quote(String) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 122-130 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.RawCharSequence(byte[], int, int) may expose internal representation by storing an externally mutable object into RawCharSequence.buffer | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.util.RefMap.entrySet() may expose internal representation by returning RefMap.entrySet | MALICIOUS_CODE | EI_EXPOSE_REP | 238 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.util.SystemReader.setInstance(SystemReader) may expose internal static state by storing a mutable object into a static field org.eclipse.jgit.util.SystemReader.INSTANCE | MALICIOUS_CODE | EI_EXPOSE_STATIC_REP2 | 192 | Medium |
Public static org.eclipse.jgit.util.SystemReader.getInstance() may expose internal representation by returning SystemReader.INSTANCE | MALICIOUS_CODE | MS_EXPOSE_REP | 175 | Medium |
Write to static field org.eclipse.jgit.util.SystemReader.isMacOS from instance method org.eclipse.jgit.util.SystemReader.isMacOS() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 540 | Medium |
Write to static field org.eclipse.jgit.util.SystemReader.isWindows from instance method org.eclipse.jgit.util.SystemReader.isWindows() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 527 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Useless condition: it's known that b == 10 at this point | STYLE | UC_USELESS_CONDITION | 98 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.AutoCRLFOutputStream(OutputStream, boolean) may expose internal representation by storing an externally mutable object into AutoCRLFOutputStream.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 61 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.AutoLFOutputStream(OutputStream, boolean) may expose internal representation by storing an externally mutable object into AutoLFOutputStream.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 68 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.BinaryDeltaInputStream(byte[], InputStream) may expose internal representation by storing an externally mutable object into BinaryDeltaInputStream.base | MALICIOUS_CODE | EI_EXPOSE_REP2 | 72 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.BinaryHunkOutputStream(OutputStream) may expose internal representation by storing an externally mutable object into BinaryHunkOutputStream.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.CountingOutputStream(OutputStream) may expose internal representation by storing an externally mutable object into CountingOutputStream.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 30 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.IsolatedOutputStream(OutputStream) may expose internal representation by storing an externally mutable object into IsolatedOutputStream.dst | MALICIOUS_CODE | EI_EXPOSE_REP2 | 56 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.eclipse.jgit.util.io.MessageWriter.getRawStream() may expose internal representation by returning MessageWriter.buf | MALICIOUS_CODE | EI_EXPOSE_REP | 71 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.StreamCopyThread(InputStream, OutputStream) may expose internal representation by storing an externally mutable object into StreamCopyThread.dst | MALICIOUS_CODE | EI_EXPOSE_REP2 | 46 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.TeeInputStream(InputStream, OutputStream) may expose internal representation by storing an externally mutable object into TeeInputStream.dst | MALICIOUS_CODE | EI_EXPOSE_REP2 | 46 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.TeeOutputStream(OutputStream, OutputStream) may expose internal representation by storing an externally mutable object into TeeOutputStream.stream1 | MALICIOUS_CODE | EI_EXPOSE_REP2 | 33 | Medium |
new org.eclipse.jgit.util.io.TeeOutputStream(OutputStream, OutputStream) may expose internal representation by storing an externally mutable object into TeeOutputStream.stream2 | MALICIOUS_CODE | EI_EXPOSE_REP2 | 34 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.ThrowingPrintWriter(Writer) may expose internal representation by storing an externally mutable object into ThrowingPrintWriter.out | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.eclipse.jgit.util.io.TimeoutOutputStream(OutputStream, InterruptTimer) may expose internal representation by storing an externally mutable object into TimeoutOutputStream.dst | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 | Medium |