PMD Results

The following document contains the results of PMD.

Summary

Files Errors
20 37

Files

Files Violations
org/jaxen/JaxenException.java 1
org/jaxen/dom/DocumentNavigator.java 5
org/jaxen/dom4j/DocumentNavigator.java 2
org/jaxen/expr/DefaultEqualsExpr.java 1
org/jaxen/expr/DefaultNotEqualsExpr.java 1
org/jaxen/expr/DefaultStep.java 1
org/jaxen/javabean/DocumentNavigator.java 2
org/jaxen/jdom/DocumentNavigator.java 4
org/jaxen/pattern/LocationPathPattern.java 1
org/jaxen/saxpath/SAXPathException.java 1
org/jaxen/saxpath/helpers/XPathReaderFactory.java 1
org/jaxen/xom/DocumentNavigator.java 3
org/jaxen/test/AncestorOrSelfAxisIteratorTest.java 2
org/jaxen/test/BaseXPathTest.java 1
org/jaxen/test/DescendantAxisIteratorTest.java 2
org/jaxen/test/ExprComparator.java 2
org/jaxen/test/JaxenHandlerTest.java 1
org/jaxen/test/PatternHandlerTest.java 1
org/jaxen/test/SingleObjectIteratorTest.java 2
org/jaxen/test/XPathReaderFactoryTest.java 3

org/jaxen/JaxenException.java

Violation Line
Avoid empty catch blocks - details... 74

org/jaxen/dom/DocumentNavigator.java

Violation Line
Avoid empty if statements - details... 374
Avoid empty catch blocks - details... 466
Avoid empty catch blocks - details... 505
Avoid empty catch blocks - details... 527
Avoid empty catch blocks - details... 567

org/jaxen/dom4j/DocumentNavigator.java

Violation Line
Avoid unused private fields such as 'instance'. - details... 106
These nested if statements could be combined - details... 242

org/jaxen/expr/DefaultEqualsExpr.java

Violation Line
These nested if statements could be combined - details... 80

org/jaxen/expr/DefaultNotEqualsExpr.java

Violation Line
These nested if statements could be combined - details... 81

org/jaxen/expr/DefaultStep.java

Violation Line
These nested if statements could be combined - details... 157

org/jaxen/javabean/DocumentNavigator.java

Violation Line
Avoid empty catch blocks - details... 228
Avoid empty catch blocks - details... 232

org/jaxen/jdom/DocumentNavigator.java

Violation Line
Avoid unused private fields such as 'instance'. - details... 100
These nested if statements could be combined - details... 256
These nested if statements could be combined - details... 278
These nested if statements could be combined - details... 309

org/jaxen/pattern/LocationPathPattern.java

Violation Line
These nested if statements could be combined - details... 113

org/jaxen/saxpath/SAXPathException.java

Violation Line
Avoid empty catch blocks - details... 74

org/jaxen/saxpath/helpers/XPathReaderFactory.java

Violation Line
Avoid empty catch blocks - details... 98

org/jaxen/xom/DocumentNavigator.java

Violation Line
Overriding method merely calls super - details... 279
Overriding method merely calls super - details... 283
Avoid empty if statements - details... 303

org/jaxen/test/AncestorOrSelfAxisIteratorTest.java

Violation Line
Avoid empty catch blocks - details... 86
Avoid empty catch blocks - details... 98

org/jaxen/test/BaseXPathTest.java

Violation Line
Avoid empty catch blocks - details... 1144

org/jaxen/test/DescendantAxisIteratorTest.java

Violation Line
Avoid empty catch blocks - details... 87
Avoid empty catch blocks - details... 99

org/jaxen/test/ExprComparator.java

Violation Line
Do not use if statements that are always true or always false - details... 159
Do not use if statements that are always true or always false - details... 300

org/jaxen/test/JaxenHandlerTest.java

Violation Line
Avoid empty catch blocks - details... 164

org/jaxen/test/PatternHandlerTest.java

Violation Line
Avoid empty catch blocks - details... 116

org/jaxen/test/SingleObjectIteratorTest.java

Violation Line
Avoid empty catch blocks - details... 66
Avoid empty catch blocks - details... 78

org/jaxen/test/XPathReaderFactoryTest.java

Violation Line
Avoid empty catch blocks - details... 112
Avoid empty catch blocks - details... 132
Avoid empty catch blocks - details... 145