Apache Commons logo Commons JEXL

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.10.4

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
366 7 0 0

Files

Class Bugs
org.apache.commons.jexl3.JexlArithmetic 1
org.apache.commons.jexl3.JexlException 1
org.apache.commons.jexl3.internal.Engine 2
org.apache.commons.jexl3.internal.introspection.Permissions 1
org.apache.commons.jexl3.internal.introspection.Uberspect 2

org.apache.commons.jexl3.JexlArithmetic

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in new org.apache.commons.jexl3.JexlArithmetic(boolean, MathContext, int) STYLE REC_CATCH_EXCEPTION 327 Medium

org.apache.commons.jexl3.JexlException

Bug Category Details Line Priority
Useless condition: it's known that length >= 64 ('@') at this point STYLE UC_USELESS_CONDITION 1207 Medium

org.apache.commons.jexl3.internal.Engine

Bug Category Details Line Priority
Synchronization performed on java.util.concurrent.atomic.AtomicBoolean in org.apache.commons.jexl3.internal.Engine.jxltParse(JexlInfo, boolean, String, Scope) MT_CORRECTNESS JLM_JSR166_UTILCONCURRENT_MONITORENTER 889 Medium
Synchronization performed on java.util.concurrent.atomic.AtomicBoolean in org.apache.commons.jexl3.internal.Engine.parse(JexlInfo, JexlFeatures, String, Scope) MT_CORRECTNESS JLM_JSR166_UTILCONCURRENT_MONITORENTER 856 Medium

org.apache.commons.jexl3.internal.introspection.Permissions

Bug Category Details Line Priority
Initialization circularity between org.apache.commons.jexl3.internal.introspection.Permissions and org.apache.commons.jexl3.internal.introspection.Permissions$Markers STYLE IC_INIT_CIRCULARITY 54-944 Medium

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 369 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 435 Medium