FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
311400

org.apache.maven.scm.provider.integrity.APISession

BugCategoryDetailsLinePriority
The method name org.apache.maven.scm.provider.integrity.APISession.Terminate() doesn't start with a lower case letterBAD_PRACTICENM_METHOD_NAMING_CONVENTION202-229Medium

org.apache.maven.scm.provider.integrity.ExceptionHandler

BugCategoryDetailsLinePriority
new org.apache.maven.scm.provider.integrity.ExceptionHandler(APIException) invokes inefficient new String() constructorPERFORMANCEDM_STRING_VOID_CTOR57Medium

org.apache.maven.scm.provider.integrity.Member

BugCategoryDetailsLinePriority
new org.apache.maven.scm.provider.integrity.Member(WorkItem, String, String, String) invokes inefficient new String(String) constructorPERFORMANCEDM_STRING_CTOR90Medium
org.apache.maven.scm.provider.integrity.Member.getTimestamp() may expose internal representation by returning Member.memberTimestampMALICIOUS_CODEEI_EXPOSE_REP126Medium
org.apache.maven.scm.provider.integrity.Member defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE255-262High
Redundant nullcheck of o, which is known to be non-null in org.apache.maven.scm.provider.integrity.Member.equals(Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE257Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.scm.provider.integrity.Member.checkout(APISession)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE220Medium

org.apache.maven.scm.provider.integrity.Project

BugCategoryDetailsLinePriority
org.apache.maven.scm.provider.integrity.Project.getLastCheckpointDate() may expose internal representation by returning Project.lastCheckpointMALICIOUS_CODEEI_EXPOSE_REP286Medium

org.apache.maven.scm.provider.integrity.Sandbox

BugCategoryDetailsLinePriority
Call to method of static java.text.DateFormat in org.apache.maven.scm.provider.integrity.Sandbox.getChangeLog(Date, Date)MT_CORRECTNESSSTCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE770Medium
org.apache.maven.scm.provider.integrity.Sandbox.RLOG_DATEFORMAT is a static field of type java.text.DateFormat, which isn't thread safeMT_CORRECTNESSSTCAL_STATIC_SIMPLE_DATE_FORMAT_INSTANCENot availableHigh

org.apache.maven.scm.provider.integrity.command.blame.IntegrityBlameCommand

BugCategoryDetailsLinePriority
Invocation of toString on org.codehaus.plexus.util.cli.Commandline.getCommandline() in org.apache.maven.scm.provider.integrity.command.blame.IntegrityBlameCommand.executeBlameCommand(ScmProviderRepository, ScmFileSet, String)CORRECTNESSDMI_INVOKING_TOSTRING_ON_ARRAY79High

org.apache.maven.scm.provider.integrity.command.changelog.IntegrityChangeLogCommand

BugCategoryDetailsLinePriority
Call to method of static java.text.DateFormat in org.apache.maven.scm.provider.integrity.command.changelog.IntegrityChangeLogCommand.executeChangeLogCommand(ScmProviderRepository, ScmFileSet, Date, Date, ScmBranch, String)MT_CORRECTNESSSTCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE71Medium

org.apache.maven.scm.provider.integrity.command.diff.IntegrityDiffCommand

BugCategoryDetailsLinePriority
Invocation of toString on org.codehaus.plexus.util.cli.Commandline.getCommandline() in org.apache.maven.scm.provider.integrity.command.diff.IntegrityDiffCommand.executeDiffCommand(ScmProviderRepository, ScmFileSet, ScmVersion, ScmVersion)CORRECTNESSDMI_INVOKING_TOSTRING_ON_ARRAY86High

org.apache.maven.scm.provider.integrity.command.fileinfo.IntegrityFileInfoCommand

BugCategoryDetailsLinePriority
Invocation of toString on org.codehaus.plexus.util.cli.Commandline.getCommandline() in org.apache.maven.scm.provider.integrity.command.fileinfo.IntegrityFileInfoCommand.executeFileInfoCommand(ScmProviderRepository, File, String)CORRECTNESSDMI_INVOKING_TOSTRING_ON_ARRAY85High