Apache Commons logo Commons JEXL

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.8

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
355 6 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.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 318 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 881 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 848 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 360 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 426 Medium