Apache Commons logo Apache Commons JEXL

PMD Results

The following document contains the results of PMD 6.52.0.

Violations By Priority

Priority 2

org/apache/commons/jexl3/internal/Engine.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 510
GuardLogStatement Logger calls should be surrounded by log level guards. 516
GuardLogStatement Logger calls should be surrounded by log level guards. 534
GuardLogStatement Logger calls should be surrounded by log level guards. 538

org/apache/commons/jexl3/internal/Engine32.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'node' 62

org/apache/commons/jexl3/internal/InterpreterBase.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'node' 498

org/apache/commons/jexl3/scripting/Main.java

Rule Violation Line
SystemPrintln System.out.print is used 81

Priority 3

org/apache/commons/jexl3/internal/Debugger.java

Rule Violation Line
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 41
UnusedAssignment The updated value of variable 'nc' is never used 664
UnusedAssignment The updated value of variable 'nc' is never used 665
UnusedAssignment The updated value of variable 'nc' is never used 667

org/apache/commons/jexl3/internal/Interpreter.java

Rule Violation Line
UnusedAssignment The updated value of variable 'nc' is never used 760
UnusedAssignment The updated value of variable 'nc' is never used 762

org/apache/commons/jexl3/internal/TemplateEngine.java

Rule Violation Line
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'column' 883
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'column' 896
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'column' 938

org/apache/commons/jexl3/internal/TemplateScript.java

Rule Violation Line
MethodReturnsInternalArray Returning 'exprs' may expose an internal array. 230

org/apache/commons/jexl3/internal/introspection/AbstractExecutor.java

Rule Violation Line
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 31256

org/apache/commons/jexl3/internal/introspection/MethodKey.java

Rule Violation Line
MethodReturnsInternalArray Returning 'params' may expose an internal array. 134

org/apache/commons/jexl3/parser/ParseException.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'expectedTokenSequences'. 56
UnusedFormalParameter Avoid unused constructor parameters such as 'tokenImage'. 56

org/apache/commons/jexl3/parser/SimpleNode.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'p'. 61

Files

org/apache/commons/jexl3/internal/Debugger.java

Rule Violation Priority Line
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 3 41
UnusedAssignment The updated value of variable 'nc' is never used 3 664
UnusedAssignment The updated value of variable 'nc' is never used 3 665
UnusedAssignment The updated value of variable 'nc' is never used 3 667

org/apache/commons/jexl3/internal/Engine.java

Rule Violation Priority Line
GuardLogStatement Logger calls should be surrounded by log level guards. 2 510
GuardLogStatement Logger calls should be surrounded by log level guards. 2 516
GuardLogStatement Logger calls should be surrounded by log level guards. 2 534
GuardLogStatement Logger calls should be surrounded by log level guards. 2 538

org/apache/commons/jexl3/internal/Engine32.java

Rule Violation Priority Line
AvoidReassigningParameters Avoid reassigning parameters such as 'node' 2 62

org/apache/commons/jexl3/internal/Interpreter.java

Rule Violation Priority Line
UnusedAssignment The updated value of variable 'nc' is never used 3 760
UnusedAssignment The updated value of variable 'nc' is never used 3 762

org/apache/commons/jexl3/internal/InterpreterBase.java

Rule Violation Priority Line
AvoidReassigningParameters Avoid reassigning parameters such as 'node' 2 498

org/apache/commons/jexl3/internal/TemplateEngine.java

Rule Violation Priority Line
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'column' 3 883
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'column' 3 896
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'column' 3 938

org/apache/commons/jexl3/internal/TemplateScript.java

Rule Violation Priority Line
MethodReturnsInternalArray Returning 'exprs' may expose an internal array. 3 230

org/apache/commons/jexl3/internal/introspection/AbstractExecutor.java

Rule Violation Priority Line
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 31256

org/apache/commons/jexl3/internal/introspection/MethodKey.java

Rule Violation Priority Line
MethodReturnsInternalArray Returning 'params' may expose an internal array. 3 134

org/apache/commons/jexl3/parser/ParseException.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'expectedTokenSequences'. 3 56
UnusedFormalParameter Avoid unused constructor parameters such as 'tokenImage'. 3 56

org/apache/commons/jexl3/parser/SimpleNode.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'p'. 3 61

org/apache/commons/jexl3/scripting/Main.java

Rule Violation Priority Line
SystemPrintln System.out.print is used 2 81