PMD Results

The following document contains the results of PMD 3.7.

Files

org/softnetwork/xml/dom/xpath/XPathFilter.java

ViolationLine
Unnecessary final modifier in final class35 - 39
Unnecessary final modifier in final class41 - 61
A method should have only one exit point, and that should be the last statement in the method45
A method should have only one exit point, and that should be the last statement in the method49
Unnecessary final modifier in final class63 - 67
Unnecessary final modifier in final class69 - 89
A method should have only one exit point, and that should be the last statement in the method73
A method should have only one exit point, and that should be the last statement in the method77
Unnecessary final modifier in final class91 - 93

org/softnetwork/xml/dom/xpath/XPathElement.java

ViolationLine
A method should have only one exit point, and that should be the last statement in the method39
A method should have only one exit point, and that should be the last statement in the method42

org/softnetwork/xml/dom/xpath/LookupService.java

ViolationLine
Use explicit scoping instead of the default package private level17 - 19
A method should have only one exit point, and that should be the last statement in the method28
A method should have only one exit point, and that should be the last statement in the method30
A method should have only one exit point, and that should be the last statement in the method47
Unnecessary final modifier in final class54 - 85
Avoid assigments in operands69 - 72
Unnecessary final modifier in final class87 - 111
A method should have only one exit point, and that should be the last statement in the method93
A method should have only one exit point, and that should be the last statement in the method118
A method should have only one exit point, and that should be the last statement in the method120
A method should have only one exit point, and that should be the last statement in the method142
Avoid assigments in operands159 - 162
Unnecessary final modifier in final class185 - 209
A method should have only one exit point, and that should be the last statement in the method191

org/softnetwork/xml/dom/xpath/XPathFormatException.java

ViolationLine
Use explicit scoping instead of the default package private level9

org/softnetwork/xml/dom/xpath/XPathToken.java

ViolationLine
Use bitwise inversion to invert boolean values41
Avoid empty catch blocks56 - 57
A method should have only one exit point, and that should be the last statement in the method143 - 144
A method should have only one exit point, and that should be the last statement in the method146 - 147
A method should have only one exit point, and that should be the last statement in the method153
A method should have only one exit point, and that should be the last statement in the method155
A method should have only one exit point, and that should be the last statement in the method158
A method should have only one exit point, and that should be the last statement in the method160
An empty statement (semicolon) not part of a loop162
A method should have only one exit point, and that should be the last statement in the method164 - 165
A method should have only one exit point, and that should be the last statement in the method169
A method should have only one exit point, and that should be the last statement in the method171
A method should have only one exit point, and that should be the last statement in the method178
A method should have only one exit point, and that should be the last statement in the method190 - 191
A method should have only one exit point, and that should be the last statement in the method193 - 194
A method should have only one exit point, and that should be the last statement in the method199
A method should have only one exit point, and that should be the last statement in the method204 - 205
A method should have only one exit point, and that should be the last statement in the method207 - 208
A method should have only one exit point, and that should be the last statement in the method213 - 214
A method should have only one exit point, and that should be the last statement in the method216 - 217
An empty statement (semicolon) not part of a loop219
A method should have only one exit point, and that should be the last statement in the method223 - 224
A method should have only one exit point, and that should be the last statement in the method226
A method should have only one exit point, and that should be the last statement in the method229
A method should have only one exit point, and that should be the last statement in the method231 - 232
A method should have only one exit point, and that should be the last statement in the method233
A method should have only one exit point, and that should be the last statement in the method238
A method should have only one exit point, and that should be the last statement in the method240
A method should have only one exit point, and that should be the last statement in the method247

org/softnetwork/xml/dom/xpath/XPathNode.java

ViolationLine
A method should have only one exit point, and that should be the last statement in the method33
A method should have only one exit point, and that should be the last statement in the method36
A method should have only one exit point, and that should be the last statement in the method61
A method should have only one exit point, and that should be the last statement in the method64

org/softnetwork/xml/dom/xpath/XPathTools.java

ViolationLine
These nested if statements could be combined71 - 77
A method should have only one exit point, and that should be the last statement in the method84
A method should have only one exit point, and that should be the last statement in the method92
A method should have only one exit point, and that should be the last statement in the method97 - 98
A method should have only one exit point, and that should be the last statement in the method114
Avoid assigments in operands116 - 119
Avoid assigments in operands127 - 129