FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.2

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
17 10 0 0

org.apache.maven.scm.provider.git.jgit.command.JGitUtils$1

Bug Category Details Line Priority
org.apache.maven.scm.provider.git.jgit.command.JGitUtils$1 defines clone() but doesn't implement Cloneable BAD_PRACTICE CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE 376 High

org.apache.maven.scm.provider.git.jgit.command.branch.JGitBranchCommand

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.maven.scm.provider.git.jgit.command.branch.JGitBranchCommand.executeBranchCommand(ScmProviderRepository, ScmFileSet, String, String) STYLE REC_CATCH_EXCEPTION 119 Medium

org.apache.maven.scm.provider.git.jgit.command.changelog.JGitChangeLogCommand$ChangeEntry

Bug Category Details Line Priority
org.apache.maven.scm.provider.git.jgit.command.changelog.JGitChangeLogCommand$ChangeEntry.getAuthorDate() may expose internal representation by returning JGitChangeLogCommand$ChangeEntry.authorDate MALICIOUS_CODE EI_EXPOSE_REP 224 Medium
org.apache.maven.scm.provider.git.jgit.command.changelog.JGitChangeLogCommand$ChangeEntry.getCommitterDate() may expose internal representation by returning JGitChangeLogCommand$ChangeEntry.committerDate MALICIOUS_CODE EI_EXPOSE_REP 254 Medium
org.apache.maven.scm.provider.git.jgit.command.changelog.JGitChangeLogCommand$ChangeEntry.setAuthorDate(Date) may expose internal representation by storing an externally mutable object into JGitChangeLogCommand$ChangeEntry.authorDate MALICIOUS_CODE EI_EXPOSE_REP2 229 Medium
org.apache.maven.scm.provider.git.jgit.command.changelog.JGitChangeLogCommand$ChangeEntry.setCommitterDate(Date) may expose internal representation by storing an externally mutable object into JGitChangeLogCommand$ChangeEntry.committerDate MALICIOUS_CODE EI_EXPOSE_REP2 259 Medium

org.apache.maven.scm.provider.git.jgit.command.checkin.JGitCheckInCommand

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.maven.scm.provider.git.jgit.command.checkin.JGitCheckInCommand.executeCheckInCommand(ScmProviderRepository, ScmFileSet, String, ScmVersion) STYLE REC_CATCH_EXCEPTION 152 Medium

org.apache.maven.scm.provider.git.jgit.command.checkout.JGitCheckOutCommand

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.maven.scm.provider.git.jgit.command.checkout.JGitCheckOutCommand.executeCheckOutCommand(ScmProviderRepository, ScmFileSet, ScmVersion, boolean) STYLE REC_CATCH_EXCEPTION 183 Medium
exceptional return value of java.io.File.delete() ignored in org.apache.maven.scm.provider.git.jgit.command.checkout.JGitCheckOutCommand.executeCheckOutCommand(ScmProviderRepository, ScmFileSet, ScmVersion, boolean) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 99 Medium

org.apache.maven.scm.provider.git.jgit.command.diff.JGitDiffCommand

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.scm.provider.git.jgit.command.diff.JGitDiffCommand.callDiff(Git, ScmVersion, ScmVersion): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 104 High