PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 3

com/randomnoun/common/jessop/JessopCompiledScript.java

Rule Violation Line
EmptyControlStatement Empty if statement 6973
EmptyControlStatement Empty if statement 111124

com/randomnoun/common/jessop/JessopScriptEngine.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 153

com/randomnoun/common/jessop/Tokeniser.java

Rule Violation Line
EmptyControlStatement Empty else statement 143146

Priority 4

com/randomnoun/common/jessop/AbstractJessopScriptBuilder.java

Rule Violation Line
UselessParentheses Useless parentheses around `declType.equals("jessop")`. 67

com/randomnoun/common/jessop/JessopScriptEngine.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ScriptEngine': 'FILENAME' is already in scope because it is inherited by an enclosing type 199
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_LANGUAGE' is already in scope because it is declared in an enclosing type 200
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_ENGINE' is already in scope because it is declared in an enclosing type 201
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_EXCEPTION_CONVERTER' is already in scope because it is declared in an enclosing type 202
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_BINDINGS_CONVERTER' is already in scope because it is declared in an enclosing type 203
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_COMPILE_TARGET' is already in scope because it is declared in an enclosing type 204
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_SUPPRESS_EOL' is already in scope because it is declared in an enclosing type 205

Files

com/randomnoun/common/jessop/AbstractJessopScriptBuilder.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `declType.equals("jessop")`. 4 67

com/randomnoun/common/jessop/JessopCompiledScript.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 6973
EmptyControlStatement Empty if statement 3 111124

com/randomnoun/common/jessop/JessopScriptEngine.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 153
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ScriptEngine': 'FILENAME' is already in scope because it is inherited by an enclosing type 4 199
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_LANGUAGE' is already in scope because it is declared in an enclosing type 4 200
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_ENGINE' is already in scope because it is declared in an enclosing type 4 201
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_EXCEPTION_CONVERTER' is already in scope because it is declared in an enclosing type 4 202
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_BINDINGS_CONVERTER' is already in scope because it is declared in an enclosing type 4 203
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_COMPILE_TARGET' is already in scope because it is declared in an enclosing type 4 204
UnnecessaryFullyQualifiedName Unnecessary qualifier 'JessopScriptEngine': 'JESSOP_SUPPRESS_EOL' is already in scope because it is declared in an enclosing type 4 205

com/randomnoun/common/jessop/Tokeniser.java

Rule Violation Priority Line
EmptyControlStatement Empty else statement 3 143146