FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 2.0.3
Threshold is medium
Effort is min
Summary
Classes |
Bugs |
Errors |
Missing Classes |
87 |
18 |
0 |
0 |
org.apache.maven.scm.ChangeSet
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 formatCache |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
org.apache.maven.scm.util.ThreadSafeDateFormat$1 stored into non-transient field ThreadSafeDateFormat.formatCache |
BAD_PRACTICE |
SE_BAD_FIELD_STORE |
49 |
Medium |