FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
36 23 0 0

org.apache.maven.scm.provider.perforce.PerforceScmProvider

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.PerforceScmProvider.isLive(): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 510 High
org.apache.maven.scm.provider.perforce.PerforceScmProvider.isLive() may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 510 Medium

org.apache.maven.scm.provider.perforce.command.PerforceInfoCommand

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.PerforceInfoCommand.executeCommand(ScmProviderRepository, ScmFileSet, CommandParameters): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 129 High
org.apache.maven.scm.provider.perforce.command.PerforceInfoCommand.executeCommand(ScmProviderRepository, ScmFileSet, CommandParameters) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 130 Medium

org.apache.maven.scm.provider.perforce.command.PerforceWhereCommand

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.PerforceWhereCommand.getDepotLocation(String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 89 High
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.PerforceWhereCommand.getDepotLocation(String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 90 High
org.apache.maven.scm.provider.perforce.command.PerforceWhereCommand.getDepotLocation(String) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 91 Medium

org.apache.maven.scm.provider.perforce.command.changelog.PerforceChangeLogConsumer

Bug Category Details Line Priority
new org.apache.maven.scm.provider.perforce.command.changelog.PerforceChangeLogConsumer(String, Date, Date, String, ScmLogger) may expose internal representation by storing an externally mutable object into PerforceChangeLogConsumer.endDate MALICIOUS_CODE EI_EXPOSE_REP2 118 Medium
new org.apache.maven.scm.provider.perforce.command.changelog.PerforceChangeLogConsumer(String, Date, Date, String, ScmLogger) may expose internal representation by storing an externally mutable object into PerforceChangeLogConsumer.startDate MALICIOUS_CODE EI_EXPOSE_REP2 117 Medium

org.apache.maven.scm.provider.perforce.command.changelog.PerforceDescribeConsumer

Bug Category Details Line Priority
Unread field: org.apache.maven.scm.provider.perforce.command.changelog.PerforceDescribeConsumer.currentRevision PERFORMANCE URF_UNREAD_FIELD 249 Medium

org.apache.maven.scm.provider.perforce.command.checkin.PerforceCheckInCommand

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.checkin.PerforceCheckInCommand.executeCheckInCommand(ScmProviderRepository, ScmFileSet, String, ScmVersion): String.getBytes() I18N DM_DEFAULT_ENCODING 81 High

org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutCommand

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutCommand.executeCheckOutCommand(ScmProviderRepository, ScmFileSet, ScmVersion, boolean): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 143 High
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutCommand.executeCheckOutCommand(ScmProviderRepository, ScmFileSet, ScmVersion, boolean): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 217 High
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutCommand.executeCheckOutCommand(ScmProviderRepository, ScmFileSet, ScmVersion, boolean): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 230 High
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutCommand.executeCheckOutCommand(ScmProviderRepository, ScmFileSet, ScmVersion, boolean): String.getBytes() I18N DM_DEFAULT_ENCODING 105 High
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutCommand.getLastChangelist(PerforceScmProviderRepository, File, String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 317 High
Load of known null value in org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutCommand.getLastChangelist(PerforceScmProviderRepository, File, String) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 339 Medium
org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutCommand.executeCheckOutCommand(ScmProviderRepository, ScmFileSet, ScmVersion, boolean) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 143 Medium

org.apache.maven.scm.provider.perforce.command.login.PerforceLoginCommand

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.login.PerforceLoginCommand.executeLoginCommand(ScmProviderRepository, ScmFileSet, CommandParameters): String.getBytes() I18N DM_DEFAULT_ENCODING 69 High

org.apache.maven.scm.provider.perforce.command.tag.PerforceTagCommand

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.tag.PerforceTagCommand.createLabel(ScmProviderRepository, ScmFileSet, String, PerforceTagConsumer, boolean): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 163 High
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.tag.PerforceTagCommand.createLabel(ScmProviderRepository, ScmFileSet, String, PerforceTagConsumer, boolean): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 164 High
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.tag.PerforceTagCommand.createLabel(ScmProviderRepository, ScmFileSet, String, PerforceTagConsumer, boolean): String.getBytes() I18N DM_DEFAULT_ENCODING 159 High

org.apache.maven.scm.provider.perforce.command.update.PerforceUpdateCommand

Bug Category Details Line Priority
Dead store to location in org.apache.maven.scm.provider.perforce.command.update.PerforceUpdateCommand.executeUpdateCommand(ScmProviderRepository, ScmFileSet, ScmVersion) STYLE DLS_DEAD_LOCAL_STORE 78 Medium