Apache Commons logo Commons Validator

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
80 6 0 0

Files

Class Bugs
org.apache.commons.validator.ValidatorAction 3
org.apache.commons.validator.routines.CreditCardValidator$1 2
org.apache.commons.validator.routines.DomainValidator$Item 1

org.apache.commons.validator.ValidatorAction

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.commons.validator.ValidatorAction.readJavascriptFile(String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 423 High
Inconsistent synchronization of org.apache.commons.validator.ValidatorAction.jsFunction; locked 62% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 330 Medium
Class org.apache.commons.validator.ValidatorAction defines non-transient non-serializable instance field validationMethod BAD_PRACTICE SE_BAD_FIELD Not available High

org.apache.commons.validator.routines.CreditCardValidator$1

Bug Category Details Line Priority
Class org.apache.commons.validator.routines.CreditCardValidator$1 defines non-transient non-serializable instance field ccr BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class org.apache.commons.validator.routines.CreditCardValidator$1 defines non-transient non-serializable instance field val$creditCardRanges BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.apache.commons.validator.routines.DomainValidator$Item

Bug Category Details Line Priority
new org.apache.commons.validator.routines.DomainValidator$Item(DomainValidator$ArrayType, String[]) may expose internal representation by storing an externally mutable object into DomainValidator$Item.values MALICIOUS_CODE EI_EXPOSE_REP2 2089 Medium