PMD Results
The following document contains the results of PMD 7.1.0.
Violations By Priority
Priority 2
org/apache/commons/jexl3/internal/Script.java
Rule |
Violation |
Line |
GuardLogStatement |
Logger calls should be surrounded by log level guards. |
297 |
GuardLogStatement |
Logger calls should be surrounded by log level guards. |
354 |
org/apache/commons/jexl3/scripting/Main.java
Rule |
Violation |
Line |
SystemPrintln |
Usage of System.out/err |
62 |
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). |
200 |
UnusedAssignment |
The updated value of variable 'nc' is never used |
892 |
UnusedAssignment |
The updated value of variable 'nc' is never used |
893 |
UnusedAssignment |
The updated value of variable 'nc' is never used |
895 |
org/apache/commons/jexl3/internal/Engine.java
Rule |
Violation |
Line |
PreserveStackTrace |
Thrown exception does not preserve the stack trace of exception 'xjexl' on all code paths |
584 |
PreserveStackTrace |
Thrown exception does not preserve the stack trace of exception 'xjexl' on all code paths |
1025 |
org/apache/commons/jexl3/internal/IntegerRange.java
Rule |
Violation |
Line |
LooseCoupling |
Avoid using implementation types like 'IntegerRange'; use the interface instead |
141 |
LooseCoupling |
Avoid using implementation types like 'IntegerRange'; use the interface instead |
205 |
org/apache/commons/jexl3/internal/Interpreter.java
Rule |
Violation |
Line |
UnusedAssignment |
The updated value of variable 'nc' is never used |
784 |
UnusedAssignment |
The updated value of variable 'nc' is never used |
786 |
PreserveStackTrace |
Thrown exception does not preserve the stack trace of exception 'xcancel' on all code paths |
858 |
PreserveStackTrace |
Thrown exception does not preserve the stack trace of exception 'xjexl' on all code paths |
862 |
org/apache/commons/jexl3/internal/LongRange.java
Rule |
Violation |
Line |
LooseCoupling |
Avoid using implementation types like 'LongRange'; use the interface instead |
145 |
LooseCoupling |
Avoid using implementation types like 'LongRange'; use the interface instead |
210 |
org/apache/commons/jexl3/internal/TemplateScript.java
Rule |
Violation |
Line |
MethodReturnsInternalArray |
Returning 'exprs' may expose an internal array. |
259 |
org/apache/commons/jexl3/internal/introspection/AbstractExecutor.java
Rule |
Violation |
Line |
AbstractClassWithoutAbstractMethod |
This abstract class does not have any abstract methods |
31 |
org/apache/commons/jexl3/internal/introspection/MethodKey.java
Rule |
Violation |
Line |
MethodReturnsInternalArray |
Returning 'params' may expose an internal array. |
743 |
org/apache/commons/jexl3/parser/ParseException.java
Rule |
Violation |
Line |
UnusedFormalParameter |
Avoid unused constructor parameters such as 'expectedTokenSequences'. |
73 |
UnusedFormalParameter |
Avoid unused constructor parameters such as 'tokenImage'. |
73 |
org/apache/commons/jexl3/parser/SimpleNode.java
Rule |
Violation |
Line |
UnusedFormalParameter |
Avoid unused constructor parameters such as 'p'. |
63 |
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 |
200 |
UnusedAssignment |
The updated value of variable 'nc' is never used |
3 |
892 |
UnusedAssignment |
The updated value of variable 'nc' is never used |
3 |
893 |
UnusedAssignment |
The updated value of variable 'nc' is never used |
3 |
895 |
org/apache/commons/jexl3/internal/Engine.java
Rule |
Violation |
Priority |
Line |
PreserveStackTrace |
Thrown exception does not preserve the stack trace of exception 'xjexl' on all code paths |
3 |
584 |
PreserveStackTrace |
Thrown exception does not preserve the stack trace of exception 'xjexl' on all code paths |
3 |
1025 |
org/apache/commons/jexl3/internal/IntegerRange.java
Rule |
Violation |
Priority |
Line |
LooseCoupling |
Avoid using implementation types like 'IntegerRange'; use the interface instead |
3 |
141 |
LooseCoupling |
Avoid using implementation types like 'IntegerRange'; use the interface instead |
3 |
205 |
org/apache/commons/jexl3/internal/Interpreter.java
Rule |
Violation |
Priority |
Line |
UnusedAssignment |
The updated value of variable 'nc' is never used |
3 |
784 |
UnusedAssignment |
The updated value of variable 'nc' is never used |
3 |
786 |
PreserveStackTrace |
Thrown exception does not preserve the stack trace of exception 'xcancel' on all code paths |
3 |
858 |
PreserveStackTrace |
Thrown exception does not preserve the stack trace of exception 'xjexl' on all code paths |
3 |
862 |
org/apache/commons/jexl3/internal/LongRange.java
Rule |
Violation |
Priority |
Line |
LooseCoupling |
Avoid using implementation types like 'LongRange'; use the interface instead |
3 |
145 |
LooseCoupling |
Avoid using implementation types like 'LongRange'; use the interface instead |
3 |
210 |
org/apache/commons/jexl3/internal/Script.java
Rule |
Violation |
Priority |
Line |
GuardLogStatement |
Logger calls should be surrounded by log level guards. |
2 |
297 |
GuardLogStatement |
Logger calls should be surrounded by log level guards. |
2 |
354 |
org/apache/commons/jexl3/internal/TemplateScript.java
Rule |
Violation |
Priority |
Line |
MethodReturnsInternalArray |
Returning 'exprs' may expose an internal array. |
3 |
259 |
org/apache/commons/jexl3/internal/introspection/AbstractExecutor.java
Rule |
Violation |
Priority |
Line |
AbstractClassWithoutAbstractMethod |
This abstract class does not have any abstract methods |
3 |
31 |
org/apache/commons/jexl3/internal/introspection/MethodKey.java
Rule |
Violation |
Priority |
Line |
MethodReturnsInternalArray |
Returning 'params' may expose an internal array. |
3 |
743 |
org/apache/commons/jexl3/parser/ParseException.java
Rule |
Violation |
Priority |
Line |
UnusedFormalParameter |
Avoid unused constructor parameters such as 'expectedTokenSequences'. |
3 |
73 |
UnusedFormalParameter |
Avoid unused constructor parameters such as 'tokenImage'. |
3 |
73 |
org/apache/commons/jexl3/parser/SimpleNode.java
Rule |
Violation |
Priority |
Line |
UnusedFormalParameter |
Avoid unused constructor parameters such as 'p'. |
3 |
63 |
org/apache/commons/jexl3/scripting/Main.java
Rule |
Violation |
Priority |
Line |
SystemPrintln |
Usage of System.out/err |
2 |
62 |
|