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
87 19 0 0

org.apache.maven.scm.ChangeSet

Bug Category Details Line Priority
Switch statement found in org.apache.maven.scm.ChangeSet.escapeValue(Object) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 617-642 Medium
Call to method of static java.text.DateFormat in org.apache.maven.scm.ChangeSet.getDateFormatted() MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 406 Medium
Call to method of static java.text.DateFormat in org.apache.maven.scm.ChangeSet.getTimeFormatted() MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 414 Medium
Call to method of static java.text.DateFormat in org.apache.maven.scm.ChangeSet.setDate(String, String) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 357 Medium
Call to method of static java.text.DateFormat in org.apache.maven.scm.ChangeSet.setDate(String, String) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 363 Medium
Call to method of static java.text.DateFormat in org.apache.maven.scm.ChangeSet.setDate(String, String) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 336 Medium
Call to method of static java.text.DateFormat in org.apache.maven.scm.ChangeSet.setDate(String, String) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 351 Medium

org.apache.maven.scm.CommandParameters

Bug Category Details Line Priority
CommandParameter is incompatible with expected argument type String in org.apache.maven.scm.CommandParameters.remove(CommandParameter) CORRECTNESS GC_UNRELATED_TYPES 401 High
Redundant nullcheck of object, which is known to be non-null in org.apache.maven.scm.CommandParameters.getString(CommandParameter) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 56 Medium

org.apache.maven.scm.NoSuchCommandScmException

Bug Category Details Line Priority
Unwritten field: org.apache.maven.scm.NoSuchCommandScmException.commandName CORRECTNESS UWF_UNWRITTEN_FIELD 46 Medium

org.apache.maven.scm.ScmRequest

Bug Category Details Line Priority
Class org.apache.maven.scm.ScmRequest defines non-transient non-serializable instance field scmRepository BAD_PRACTICE SE_BAD_FIELD Not available High

org.apache.maven.scm.command.changelog.ChangeLogScmResult

Bug Category Details Line Priority
Class org.apache.maven.scm.command.changelog.ChangeLogScmResult defines non-transient non-serializable instance field changeLog BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.apache.maven.scm.command.changelog.ChangeLogSet

Bug Category Details Line Priority
org.apache.maven.scm.command.changelog.ChangeLogSet.getEndDate() may expose internal representation by returning ChangeLogSet.endDate MALICIOUS_CODE EI_EXPOSE_REP 89 Medium
org.apache.maven.scm.command.changelog.ChangeLogSet.getStartDate() may expose internal representation by returning ChangeLogSet.startDate MALICIOUS_CODE EI_EXPOSE_REP 79 Medium
new org.apache.maven.scm.command.changelog.ChangeLogSet(Date, Date) may expose internal representation by storing an externally mutable object into ChangeLogSet.endDate MALICIOUS_CODE EI_EXPOSE_REP2 56 Medium
new org.apache.maven.scm.command.changelog.ChangeLogSet(Date, Date) may expose internal representation by storing an externally mutable object into ChangeLogSet.startDate MALICIOUS_CODE EI_EXPOSE_REP2 55 Medium

org.apache.maven.scm.command.info.InfoScmResult

Bug Category Details Line Priority
Class org.apache.maven.scm.command.info.InfoScmResult defines non-transient non-serializable instance field infoItems BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.apache.maven.scm.util.ThreadSafeDateFormat

Bug Category Details Line Priority
Class org.apache.maven.scm.util.ThreadSafeDateFormat defines non-transient non-serializable instance field m_formatCache BAD_PRACTICE SE_BAD_FIELD Not available Medium
org.apache.maven.scm.util.ThreadSafeDateFormat$1 stored into non-transient field ThreadSafeDateFormat.m_formatCache BAD_PRACTICE SE_BAD_FIELD_STORE 49 Medium