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 |
27 |
7 |
0 |
0 |
org.apache.maven.scm.provider.bazaar.BazaarUtils$BazaarRevNoConsumer
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive org.apache.maven.scm.provider.bazaar.BazaarUtils$BazaarRevNoConsumer.doConsume(ScmFileStatus, String) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
227 |
High |
org.apache.maven.scm.provider.bazaar.command.BazaarConsumer
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.scm.provider.bazaar.command.BazaarConsumer.processInputForKnownMessages(String) makes inefficient use of keySet iterator instead of entrySet iterator |
PERFORMANCE |
WMI_WRONG_MAP_ITERATOR |
161 |
Medium |
org.apache.maven.scm.provider.bazaar.command.diff.BazaarDiffConsumer
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.scm.provider.bazaar.command.diff.BazaarDiffConsumer.doConsume(ScmFileStatus, String) invokes inefficient new String(String) constructor |
PERFORMANCE |
DM_STRING_CTOR |
85 |
Medium |
org.apache.maven.scm.provider.bazaar.command.remove.BazaarRemoveCommand
Bug |
Category |
Details |
Line |
Priority |
Return value of org.apache.maven.scm.provider.bazaar.BazaarUtils.expandCommandLine(String[], ScmFileSet) ignored, but method has no side effect |
STYLE |
RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT |
48 |
Medium |
org.apache.maven.scm.provider.bazaar.command.tag.BazaarLsConsumer
Bug |
Category |
Details |
Line |
Priority |
Unwritten field: org.apache.maven.scm.provider.bazaar.command.tag.BazaarLsConsumer.repositoryRoot |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
69 |
Medium |
org.apache.maven.scm.provider.bazaar.command.update.BazaarUpdateCommand
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.scm.ScmFile is incompatible with expected argument type String in org.apache.maven.scm.provider.bazaar.command.update.BazaarUpdateCommand.executeUpdateCommand(ScmProviderRepository, ScmFileSet, ScmVersion) |
CORRECTNESS |
GC_UNRELATED_TYPES |
95 |
High |
Useless object stored in variable changes of method org.apache.maven.scm.provider.bazaar.command.update.BazaarUpdateCommand.executeUpdateCommand(ScmProviderRepository, ScmFileSet, ScmVersion) |
STYLE |
UC_USELESS_OBJECT |
89 |
Medium |