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' 4
Avoid calls to overridable methods during construction 26
Avoid calls to overridable methods during construction 27
Avoid reassigning parameters such as 'name' 35
Avoid using if statements without curly braces 37
Avoid reassigning parameters such as 'path' 47
Avoid using if statements without curly braces 49
Avoid using if statements without curly braces 75
Avoid using if statements without curly braces 76
Avoid using if statements without curly braces 77
Avoid using if statements without curly braces 78
Avoid using if statements without curly braces 81
Avoid using if statements without curly braces 87
Avoid using if statements without curly braces 88
Avoid using if statements without curly braces 89

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

ViolationLine
Avoid unused imports such as 'HashMap' 3
Avoid unused imports such as 'Map' 4
Avoid unused imports such as 'RenderRequest' 8
Avoid unused imports such as 'RenderResponse' 9
Avoid unused imports such as 'ModelAndView' 13
Avoid using if statements without curly braces 21

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

ViolationLine
Avoid unused imports such as 'HashMap' 3
Avoid unused imports such as 'Map' 4
No need to import a type that's in the same package 18
Avoid using if statements without curly braces 26

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

ViolationLine
Avoid using if statements without curly braces 19

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

ViolationLine
Avoid reassigning parameters such as 'name' 45
Avoid using if statements without curly braces 47
Avoid using if statements without curly braces 61
Avoid empty catch blocks 68
Avoid empty catch blocks 69
Avoid empty catch blocks 70
Avoid reassigning parameters such as 'name' 73
Avoid using if statements without curly braces 75
Avoid empty catch blocks 82
Avoid empty catch blocks 83
Avoid empty catch blocks 84
Avoid reassigning parameters such as 'addTo' 91

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

ViolationLine
Avoid unused private fields such as 'log' 22
Avoid using if statements without curly braces 31