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
36 19 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 538 High
org.apache.maven.scm.provider.perforce.PerforceScmProvider.isLive() may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 538 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
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 116 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 115 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 237 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, boolean): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 144 High
Found reliance on default encoding in org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutCommand.executeCheckOutCommand(ScmProviderRepository, ScmFileSet, ScmVersion, boolean, boolean): String.getBytes() I18N DM_DEFAULT_ENCODING 106 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 318 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 341 Medium
org.apache.maven.scm.provider.perforce.command.checkout.PerforceCheckOutCommand.executeCheckOutCommand(ScmProviderRepository, ScmFileSet, ScmVersion, boolean, boolean) may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 144 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): 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