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 |
48 |
14 |
0 |
0 |
org.apache.maven.scm.provider.accurev.AccuRev
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.scm.provider.accurev.AccuRev.ACCUREV_TIME_SPEC 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.accurev.AccuRevScmProvider
Bug |
Category |
Details |
Line |
Priority |
Useless object stored in variable validationMessages of method org.apache.maven.scm.provider.accurev.AccuRevScmProvider.makeProviderScmRepository(String, char) |
STYLE |
UC_USELESS_OBJECT |
99 |
Medium |
org.apache.maven.scm.provider.accurev.AccuRevScmProviderRepository
org.apache.maven.scm.provider.accurev.AccuRevVersion
org.apache.maven.scm.provider.accurev.Stream
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.scm.provider.accurev.Stream.getStartDate() may expose internal representation by returning Stream.startDate |
MALICIOUS_CODE |
EI_EXPOSE_REP |
179 |
Medium |
new org.apache.maven.scm.provider.accurev.Stream(String, long, String, long, String, Date, String) may expose internal representation by storing an externally mutable object into Stream.startDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
51 |
Medium |
org.apache.maven.scm.provider.accurev.Transaction
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.scm.provider.accurev.Transaction.getWhen() may expose internal representation by returning Transaction.when |
MALICIOUS_CODE |
EI_EXPOSE_REP |
173 |
Medium |
new org.apache.maven.scm.provider.accurev.Transaction(Long, Date, String, String) may expose internal representation by storing an externally mutable object into Transaction.when |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
124 |
Medium |
org.apache.maven.scm.provider.accurev.cli.AccuRevCommandLine
Bug |
Category |
Details |
Line |
Priority |
Hard coded reference to an absolute pathname in org.apache.maven.scm.provider.accurev.cli.AccuRevCommandLine.popExternal(File, String, String, Collection) |
STYLE |
DMI_HARDCODED_ABSOLUTE_FILENAME |
561 |
Medium |
Found reliance on default encoding in org.apache.maven.scm.provider.accurev.cli.AccuRevCommandLine.login(String, String): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
665 |
High |
org.apache.maven.scm.provider.accurev.cli.WorkSpaceConsumer
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive org.apache.maven.scm.provider.accurev.cli.WorkSpaceConsumer.startTag(List, Map) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
49 |
High |
org.apache.maven.scm.provider.accurev.command.AbstractAccuRevExtractSourceCommand
Bug |
Category |
Details |
Line |
Priority |
Possible null pointer dereference in org.apache.maven.scm.provider.accurev.command.AbstractAccuRevExtractSourceCommand.executeAccurevCommand(AccuRevScmProviderRepository, ScmFileSet, CommandParameters) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
71 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.scm.provider.accurev.command.AbstractAccuRevExtractSourceCommand.executeAccurevCommand(AccuRevScmProviderRepository, ScmFileSet, CommandParameters) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
68 |
Medium |