PMD Results

The following document contains the results of PMD 4.2.5.

Files

info/magnolia/module/admininterface/AdminTreeMVCHandler.java

ViolationLine
Avoid unused imports such as 'info.magnolia.context.WebContext'56

info/magnolia/module/admininterface/DialogMVCHandler.java

ViolationLine
These nested if statements could be combined255 - 259

info/magnolia/module/admininterface/MultiValueSaveHandler.java

ViolationLine
Avoid unused local variables such as 'data'.77

info/magnolia/module/admininterface/UUIDSaveHandler.java

ViolationLine
These nested if statements could be combined78 - 80
These nested if statements could be combined94 - 100

info/magnolia/module/admininterface/commands/ActivationCommand.java

ViolationLine
Avoid unused method parameters such as 'ctx'.105 - 126
These nested if statements could be combined282

info/magnolia/module/admininterface/commands/DeleteCommand.java

ViolationLine
Avoid unused private fields such as 'log'.52

info/magnolia/module/admininterface/commands/MarkNodeAsDeletedCommand.java

ViolationLine
No need to import a type that lives in the same package51

info/magnolia/module/admininterface/config/PermissionConfiguration.java

ViolationLine
Avoid unused private fields such as 'PERMISSION_ALL'.39
Avoid unused private fields such as 'PERMISSION_READ'.41
Avoid unused private fields such as 'PERMISSION_NO'.43

info/magnolia/module/admininterface/config/SecurityConfiguration.java

ViolationLine
Avoid unused private fields such as 'log'.58
These nested if statements could be combined106 - 110

info/magnolia/module/admininterface/dialogs/ParagraphEditDialog.java

ViolationLine
Avoid unused imports such as 'info.magnolia.cms.util.RequestFormUtil'39

info/magnolia/module/admininterface/dialogs/RolesEditDialog.java

ViolationLine
Avoid empty catch blocks141 - 143

info/magnolia/module/admininterface/dialogs/UserEditDialog.java

ViolationLine
Avoid unused imports such as 'info.magnolia.cms.core.ItemType'38
Avoid unused imports such as 'info.magnolia.cms.security.Permission'44
Avoid empty catch blocks226 - 228

info/magnolia/module/admininterface/pages/AdminCentralPage.java

ViolationLine
Avoid unused imports such as 'info.magnolia.cms.security.ExternalUser'40

info/magnolia/module/admininterface/pages/DevelopmentUtilsPage.java

ViolationLine
Avoid unused imports such as 'info.magnolia.cms.core.SystemProperty'41
Avoid unused imports such as 'java.net.URLEncoder'59
Avoid empty catch blocks463 - 465

info/magnolia/module/admininterface/pages/ExportPage.java

ViolationLine
Avoid unused imports such as 'info.magnolia.cms.core.SystemProperty'38
Avoid unused imports such as 'java.net.URLEncoder'58
Avoid unused private fields such as 'log'.88
These nested if statements could be combined300 - 302

info/magnolia/module/admininterface/pages/LogViewerPage.java

ViolationLine
Avoid empty catch blocks283 - 285

info/magnolia/module/admininterface/pages/QuickstartPage.java

ViolationLine
Avoid unused imports such as 'info.magnolia.context.MgnlContext'40

info/magnolia/module/admininterface/setup/for4_4/RegisterMgnlDeletedType.java

ViolationLine
Avoid empty catch blocks66 - 69

info/magnolia/module/admininterface/templates/MgnlDeletedTemplateModel.java

ViolationLine
Avoid unused local variables such as 'iterator'.65

info/magnolia/module/admininterface/trees/UsersTreeHandler.java

ViolationLine
Avoid unused imports such as 'info.magnolia.context.MgnlContext'52