The following document contains the results of FindBugs Report
FindBugs Version is 1.1.1
Threshold is Low
Effort is Default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
258 | 10 | 18 | 23 |
Bug | Category | Details | Line |
---|---|---|---|
Confusing to have methods org.apache.shale.validator.CommonsValidator.setMinLength(String) and org.apache.shale.validator.faces.ValidatorTag.setMinlength(String) | BAD_PRACTICE | NM_CONFUSING | 404 |
Non-virtual method call in org.apache.shale.validator.CommonsValidator.getErrorMessage(javax.faces.context.FacesContext,org.apache.commons.validator.ValidatorAction,java.util.Map) passes null for unconditionally dereferenced parameter of java.text.MessageFormat.MessageFormat(String,java.util.Locale) | CORRECTNESS | NP_NULL_PARAM_DEREF_NONVIRTUAL | 919 |
Bug | Category | Details | Line |
---|---|---|---|
Possible null pointer dereference of org.apache.shale.validator.faces.ValidatorScript.validatorVars in org.apache.shale.validator.faces.ValidatorScript.writeJavaScriptParams(javax.faces.context.ResponseWriter,javax.faces.context.FacesContext,String,org.apache.shale.validator.CommonsValidator) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 556 |
Method org.apache.shale.validator.faces.ValidatorScript.writeValidationFunctions(javax.faces.context.ResponseWriter,javax.faces.context.FacesContext) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 396 |
Bug | Category | Details | Line |
---|---|---|---|
Confusing to have methods org.apache.shale.validator.faces.ValidatorTag.setMaxlength(String) and org.apache.shale.validator.CommonsValidator.setMaxLength(String) | BAD_PRACTICE | NM_CONFUSING | 170-171 |
Bug | Category | Details | Line |
---|---|---|---|
Unread field: org.apache.shale.validator.faces.ValidatorViewHandler.messages | PERFORMANCE | URF_UNREAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.shale.validator.util.ShaleValidatorAction.getMessageArgs() may expose internal representation by returning org.apache.shale.validator.util.ShaleValidatorAction.messageArgs | MALICIOUS_CODE | EI_EXPOSE_REP | 186 |
org.apache.shale.validator.util.ShaleValidatorAction.getParameterArgs() may expose internal representation by returning org.apache.shale.validator.util.ShaleValidatorAction.parameterArgs | MALICIOUS_CODE | EI_EXPOSE_REP | 213 |
org.apache.shale.validator.util.ShaleValidatorAction.getSignature() may expose internal representation by returning org.apache.shale.validator.util.ShaleValidatorAction.signature | MALICIOUS_CODE | EI_EXPOSE_REP | 222 |
Bug | Category | Details | Line |
---|---|---|---|
Possible null pointer dereference of result in org.apache.shale.validator.validator.AbstractValidator.validate(javax.faces.context.FacesContext,javax.faces.component.UIComponent,Object,String,java.util.Map) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 293 |