FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
31 8 0 0

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 56 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 89 Medium
org.apache.maven.scm.provider.integrity.Member.getTimestamp() may expose internal representation by returning Member.memberTimestamp MALICIOUS_CODE EI_EXPOSE_REP 125 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 221 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 264 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 755 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.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 70 Medium