Apache Commons logo Apache Commons JEXL

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
254 15 0 0

org.apache.commons.jexl3.JexlArithmetic

Bug Category Details Line Priority
org.apache.commons.jexl3.JexlArithmetic.isEmpty(Object) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 938 High
org.apache.commons.jexl3.JexlArithmetic.contains(Object, Object) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 867 Medium
org.apache.commons.jexl3.JexlArithmetic.endsWith(Object, Object) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 889 Medium
org.apache.commons.jexl3.JexlArithmetic.startsWith(Object, Object) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 911 Medium

org.apache.commons.jexl3.internal.ArrayBuilder

Bug Category Details Line Priority
org.apache.commons.jexl3.internal.ArrayBuilder.create(boolean) may expose internal representation by returning ArrayBuilder.untyped MALICIOUS_CODE EI_EXPOSE_REP 136 Medium

org.apache.commons.jexl3.internal.Scope$Frame

Bug Category Details Line Priority
new org.apache.commons.jexl3.internal.Scope$Frame(Scope, Object[], int) may expose internal representation by storing an externally mutable object into Scope$Frame.stack MALICIOUS_CODE EI_EXPOSE_REP2 294 Medium

org.apache.commons.jexl3.internal.SoftCache$1

Bug Category Details Line Priority
Potentially ambiguous invocation of either an outer or inherited method java.util.HashMap.size() in org.apache.commons.jexl3.internal.SoftCache$1.removeEldestEntry(Map$Entry) STYLE IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD 164 High

org.apache.commons.jexl3.internal.introspection.Uberspect

Bug Category Details Line Priority
Comparison of String objects using == or != in org.apache.commons.jexl3.internal.introspection.Uberspect.getPropertyGet(List, Object, Object) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 264 Medium
Comparison of String objects using == or != in org.apache.commons.jexl3.internal.introspection.Uberspect.getPropertySet(List, Object, Object, Object) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 330 Medium

org.apache.commons.jexl3.parser.JexlParser

Bug Category Details Line Priority
The method name org.apache.commons.jexl3.parser.JexlParser.Identifier() doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 166-167 Medium
The method name org.apache.commons.jexl3.parser.JexlParser.Identifier(boolean) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 163 Medium

org.apache.commons.jexl3.parser.SimpleCharStream

Bug Category Details Line Priority
Found reliance on default encoding in new org.apache.commons.jexl3.parser.SimpleCharStream(InputStream, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 322 High
Found reliance on default encoding in new org.apache.commons.jexl3.parser.SimpleCharStream(InputStream, String, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 315 High
Found reliance on default encoding in org.apache.commons.jexl3.parser.SimpleCharStream.ReInit(InputStream, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 362 High
Found reliance on default encoding in org.apache.commons.jexl3.parser.SimpleCharStream.ReInit(InputStream, String, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 355 High