PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
640

Files

FilesViolations
org/apache/portals/applications/springmvc/DOMTree.java 15
org/apache/portals/applications/springmvc/DOMTreeDeleteController.java 6
org/apache/portals/applications/springmvc/DOMTreePrefsController.java 4
org/apache/portals/applications/springmvc/DOMTreePrefsListController.java 1
org/apache/portals/applications/springmvc/DOMTreeService.java 12
org/apache/portals/applications/springmvc/DOMTreeViewController.java 2

org/apache/portals/applications/springmvc/DOMTree.java

ViolationLine
Avoid importing anything from the package 'java.lang' 20
Avoid calls to overridable methods during construction 42
Avoid calls to overridable methods during construction 43
Avoid reassigning parameters such as 'name' 51
Avoid using if statements without curly braces 53
Avoid reassigning parameters such as 'path' 63
Avoid using if statements without curly braces 65
Avoid using if statements without curly braces 91
Avoid using if statements without curly braces 92
Avoid using if statements without curly braces 93
Avoid using if statements without curly braces 94
Avoid using if statements without curly braces 97
Avoid using if statements without curly braces 103
Avoid using if statements without curly braces 104
Avoid using if statements without curly braces 105

org/apache/portals/applications/springmvc/DOMTreeDeleteController.java

ViolationLine
Avoid unused imports such as 'HashMap' 19
Avoid unused imports such as 'Map' 20
Avoid unused imports such as 'RenderRequest' 24
Avoid unused imports such as 'RenderResponse' 25
Avoid unused imports such as 'ModelAndView' 29
Avoid using if statements without curly braces 37

org/apache/portals/applications/springmvc/DOMTreePrefsController.java

ViolationLine
Avoid unused imports such as 'HashMap' 19
Avoid unused imports such as 'Map' 20
No need to import a type that's in the same package 34
Avoid using if statements without curly braces 42

org/apache/portals/applications/springmvc/DOMTreePrefsListController.java

ViolationLine
Avoid using if statements without curly braces 35

org/apache/portals/applications/springmvc/DOMTreeService.java

ViolationLine
Avoid reassigning parameters such as 'name' 61
Avoid using if statements without curly braces 63
Avoid using if statements without curly braces 77
Avoid empty catch blocks 84
Avoid empty catch blocks 85
Avoid empty catch blocks 86
Avoid reassigning parameters such as 'name' 89
Avoid using if statements without curly braces 91
Avoid empty catch blocks 98
Avoid empty catch blocks 99
Avoid empty catch blocks 100
Avoid reassigning parameters such as 'addTo' 107

org/apache/portals/applications/springmvc/DOMTreeViewController.java

ViolationLine
Avoid unused private fields such as 'log' 38
Avoid using if statements without curly braces 47