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
38 11 0 0

org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.parseScmUrl(String, char) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 537 High
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.parseScmUrl(String, char) invokes inefficient new Integer(String) constructor; use Integer.valueOf(String) instead PERFORMANCE DM_NUMBER_CTOR 557 Medium

org.apache.maven.scm.provider.cvslib.command.CvsCommandUtils

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.scm.provider.cvslib.command.CvsCommandUtils.getBaseCommand(String, CvsScmProviderRepository, ScmFileSet, String, boolean) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 124 Medium

org.apache.maven.scm.provider.cvslib.command.list.AbstractCvsListCommand

Bug Category Details Line Priority
Suspicious comparison of Boolean references in org.apache.maven.scm.provider.cvslib.command.list.AbstractCvsListCommand.executeListCommand1(ScmProviderRepository, ScmFileSet, boolean, ScmVersion, Boolean) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 84 Medium

org.apache.maven.scm.provider.cvslib.command.login.CvsPass

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute(): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 112 High
Found reliance on default encoding in org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute(): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 154 High
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 136 Medium

org.apache.maven.scm.providers.cvslib.settings.io.xpp3.CvsXpp3Reader

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.apache.maven.scm.providers.cvslib.settings.io.xpp3.CvsXpp3Reader.getIntegerValue(String, String, XmlPullParser, boolean) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 390 High
Boxing/unboxing to parse a primitive org.apache.maven.scm.providers.cvslib.settings.io.xpp3.CvsXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 420 High
Private method org.apache.maven.scm.providers.cvslib.settings.io.xpp3.CvsXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 175 Medium
Private method org.apache.maven.scm.providers.cvslib.settings.io.xpp3.CvsXpp3Reader.getDateValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 263 Medium