FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.0

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
195 11 0 0

Files

Class Bugs
com.atlassian.xwork.FileUploadUtils 1
com.atlassian.xwork.FileUploadUtils$FileUploadException 2
com.atlassian.xwork.PellMultiPartRequest 2
com.atlassian.xwork.interceptors.SafeParametersInterceptor 1
com.atlassian.xwork.results.CSSVelocityResult 1
com.atlassian.xwork.results.HttpErrorResult 1
com.atlassian.xwork.results.ProfiledVelocityResult 1
com.atlassian.xwork.results.RssResult 1
com.atlassian.xwork.results.XmlVelocityResult 1

com.atlassian.xwork.FileUploadUtils

Bug Category Details Line
Method com.atlassian.xwork.FileUploadUtils.handleFileUpload(MultiPartRequestWrapper, boolean) uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 95

com.atlassian.xwork.FileUploadUtils$FileUploadException

Bug Category Details Line
Method com.atlassian.xwork.FileUploadUtils$FileUploadException.getErrors() uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 138
Method com.atlassian.xwork.FileUploadUtils$FileUploadException.getMessage() concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 147

com.atlassian.xwork.PellMultiPartRequest

Bug Category Details Line
Should com.atlassian.xwork.PellMultiPartRequest.getFileNames(String) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 66
Should com.atlassian.xwork.PellMultiPartRequest.getParameterValues(String) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 87

com.atlassian.xwork.interceptors.SafeParametersInterceptor

Bug Category Details Line
com.atlassian.xwork.interceptors.SafeParametersInterceptor.extractInitialParameterName(String) checks to see if result of String.indexOf is positive STYLE RV_CHECK_FOR_POSITIVE_INDEXOF 208

com.atlassian.xwork.results.CSSVelocityResult

Bug Category Details Line
com.atlassian.xwork.results.CSSVelocityResult is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID Not available

com.atlassian.xwork.results.HttpErrorResult

Bug Category Details Line
com.atlassian.xwork.results.HttpErrorResult is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID Not available

com.atlassian.xwork.results.ProfiledVelocityResult

Bug Category Details Line
com.atlassian.xwork.results.ProfiledVelocityResult is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID Not available

com.atlassian.xwork.results.RssResult

Bug Category Details Line
com.atlassian.xwork.results.RssResult is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID Not available

com.atlassian.xwork.results.XmlVelocityResult

Bug Category Details Line
com.atlassian.xwork.results.XmlVelocityResult is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID Not available