Apache MyFaces
Documentation
Foundation

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
126 10 0 0

Files

Class Bugs
org.apache.myfaces.commons.validator.AbstractDateRestrictionValidator 2
org.apache.myfaces.commons.validator.AbstractUrlValidator 1
org.apache.myfaces.commons.validator.DateRestrictionValidator 6
org.apache.myfaces.commons.validator.ValidateRegExprTag 1

org.apache.myfaces.commons.validator.AbstractDateRestrictionValidator

Bug Category Details Line
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 292
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 276

org.apache.myfaces.commons.validator.AbstractUrlValidator

Bug Category Details Line
Should org.apache.myfaces.commons.validator.AbstractUrlValidator.getSchemesList() return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 115

org.apache.myfaces.commons.validator.DateRestrictionValidator

Bug Category Details Line
org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidDaysOfWeek() may expose internal representation by returning DateRestrictionValidator._invalidDaysOfWeek MALICIOUS_CODE EI_EXPOSE_REP 69
org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidMonths() may expose internal representation by returning DateRestrictionValidator._invalidMonths MALICIOUS_CODE EI_EXPOSE_REP 48
org.apache.myfaces.commons.validator.DateRestrictionValidator.setInvalidDaysOfWeek(String[]) may expose internal representation by storing an externally mutable object into DateRestrictionValidator._invalidDaysOfWeek MALICIOUS_CODE EI_EXPOSE_REP2 81
org.apache.myfaces.commons.validator.DateRestrictionValidator.setInvalidMonths(String[]) may expose internal representation by storing an externally mutable object into DateRestrictionValidator._invalidMonths MALICIOUS_CODE EI_EXPOSE_REP2 60
Should org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidDaysOfWeek() return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 76
Should org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidMonths() return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 55

org.apache.myfaces.commons.validator.ValidateRegExprTag

Bug Category Details Line
Dead store to facesContext in org.apache.myfaces.commons.validator.ValidateRegExprTag._setProperties(Validator) STYLE DLS_DEAD_LOCAL_STORE 56