PMD Results

The following document contains the results of PMD 6.42.0.

Violations By Priority

Priority 3

com/randomnoun/common/db/explain/enums/AccessTypeEnum.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'AccessTypeEnum(String, String, String, String)': enum constructors are implicitly private 38–43

com/randomnoun/common/db/explain/enums/TooltipTypeEnum.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'TooltipTypeEnum(String)': enum constructors are implicitly private 18–20

com/randomnoun/common/db/explain/parser/PlanParser.java

Rule Violation Line
EmptyIfStmt Avoid empty if statements 149–152
EmptyIfStmt Avoid empty if statements 183–185

Priority 4

com/randomnoun/common/db/explain/json/Node.java

Rule Violation Line
UselessParentheses Useless parentheses. 63–71
UselessParentheses Useless parentheses. 64
UselessParentheses Useless parentheses. 64–71
UselessParentheses Useless parentheses. 65–71
UselessParentheses Useless parentheses. 65
UselessParentheses Useless parentheses. 66
UselessParentheses Useless parentheses. 66–71
UselessParentheses Useless parentheses. 67–71
UselessParentheses Useless parentheses. 67
UselessParentheses Useless parentheses. 68–71
UselessParentheses Useless parentheses. 68
UselessParentheses Useless parentheses. 69
UselessParentheses Useless parentheses. 69–71

com/randomnoun/common/db/explain/layout/ExplaineratorLayout.java

Rule Violation Line
UselessParentheses Useless parentheses. 114
UselessParentheses Useless parentheses. 135
UselessParentheses Useless parentheses. 501
UselessParentheses Useless parentheses. 509

com/randomnoun/common/db/explain/visitor/SvgShapeVisitor.java

Rule Violation Line
UselessParentheses Useless parentheses. 57
UselessParentheses Useless parentheses. 59–86
UselessParentheses Useless parentheses. 149
UselessParentheses Useless parentheses. 189
UselessParentheses Useless parentheses. 192
UselessParentheses Useless parentheses. 196
UselessParentheses Useless parentheses. 197
UselessParentheses Useless parentheses. 202
UselessParentheses Useless parentheses. 208

Files

com/randomnoun/common/db/explain/enums/AccessTypeEnum.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'AccessTypeEnum(String, String, String, String)': enum constructors are implicitly private 3 38–43

com/randomnoun/common/db/explain/enums/TooltipTypeEnum.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'TooltipTypeEnum(String)': enum constructors are implicitly private 3 18–20

com/randomnoun/common/db/explain/json/Node.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 63–71
UselessParentheses Useless parentheses. 4 64
UselessParentheses Useless parentheses. 4 64–71
UselessParentheses Useless parentheses. 4 65–71
UselessParentheses Useless parentheses. 4 65
UselessParentheses Useless parentheses. 4 66
UselessParentheses Useless parentheses. 4 66–71
UselessParentheses Useless parentheses. 4 67–71
UselessParentheses Useless parentheses. 4 67
UselessParentheses Useless parentheses. 4 68–71
UselessParentheses Useless parentheses. 4 68
UselessParentheses Useless parentheses. 4 69
UselessParentheses Useless parentheses. 4 69–71

com/randomnoun/common/db/explain/layout/ExplaineratorLayout.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 114
UselessParentheses Useless parentheses. 4 135
UselessParentheses Useless parentheses. 4 501
UselessParentheses Useless parentheses. 4 509

com/randomnoun/common/db/explain/parser/PlanParser.java

Rule Violation Priority Line
EmptyIfStmt Avoid empty if statements 3 149–152
EmptyIfStmt Avoid empty if statements 3 183–185

com/randomnoun/common/db/explain/visitor/SvgShapeVisitor.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 57
UselessParentheses Useless parentheses. 4 59–86
UselessParentheses Useless parentheses. 4 149
UselessParentheses Useless parentheses. 4 189
UselessParentheses Useless parentheses. 4 192
UselessParentheses Useless parentheses. 4 196
UselessParentheses Useless parentheses. 4 197
UselessParentheses Useless parentheses. 4 202
UselessParentheses Useless parentheses. 4 208