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
31 14 0 0

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

Bug Category Details Line Priority
The method name org.apache.maven.scm.provider.integrity.APISession.Terminate() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 202-229 Medium

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

Bug Category Details Line Priority
new org.apache.maven.scm.provider.integrity.ExceptionHandler(APIException) invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 57 Medium

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

Bug Category Details Line Priority
new org.apache.maven.scm.provider.integrity.Member(WorkItem, String, String, String) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 90 Medium
org.apache.maven.scm.provider.integrity.Member.getTimestamp() may expose internal representation by returning Member.memberTimestamp MALICIOUS_CODE EI_EXPOSE_REP 126 Medium
org.apache.maven.scm.provider.integrity.Member defines equals and uses Object.hashCode() BAD_PRACTICE HE_EQUALS_USE_HASHCODE 255-262 High
Redundant nullcheck of o, which is known to be non-null in org.apache.maven.scm.provider.integrity.Member.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 257 Medium
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.scm.provider.integrity.Member.checkout(APISession) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 220 Medium

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

Bug Category Details Line Priority
org.apache.maven.scm.provider.integrity.Project.getLastCheckpointDate() may expose internal representation by returning Project.lastCheckpoint MALICIOUS_CODE EI_EXPOSE_REP 286 Medium

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

Bug Category Details Line Priority
Call to method of static java.text.DateFormat in org.apache.maven.scm.provider.integrity.Sandbox.getChangeLog(Date, Date) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 770 Medium
org.apache.maven.scm.provider.integrity.Sandbox.RLOG_DATEFORMAT is a static field of type java.text.DateFormat, which isn't thread safe MT_CORRECTNESS STCAL_STATIC_SIMPLE_DATE_FORMAT_INSTANCE Not available High

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

Bug Category Details Line Priority
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) CORRECTNESS DMI_INVOKING_TOSTRING_ON_ARRAY 79 High

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

Bug Category Details Line Priority
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_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 71 Medium

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

Bug Category Details Line Priority
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) CORRECTNESS DMI_INVOKING_TOSTRING_ON_ARRAY 86 High

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

Bug Category Details Line Priority
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) CORRECTNESS DMI_INVOKING_TOSTRING_ON_ARRAY 85 High