PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 3

info/magnolia/pages/app/action/DeletePageItemAction.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 8385

info/magnolia/pages/app/action/EditElementAction.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'log'. 60

info/magnolia/pages/app/action/PreviewPreviousVersionAction.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'log'. 57

info/magnolia/pages/app/availability/PageHasSubpagesRule.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 7375

info/magnolia/pages/app/editor/PagesEditorSubApp.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 257259

info/magnolia/pages/app/editor/event/ComponentMoveEvent.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'static' on interface 'Handler': member interfaces are implicitly static 8385

info/magnolia/pages/app/editor/event/NodeSelectedEvent.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'static' on interface 'Handler': member interfaces are implicitly static 6668

info/magnolia/pages/app/editor/pagebar/languageselector/LanguageSelectorView.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on interface 'Listener': members of interface types are implicitly public 5860

info/magnolia/pages/app/editor/pagebar/platformselector/PlatformSelectorView.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on interface 'Listener': members of interface types are implicitly public 5355

info/magnolia/pages/app/editor/parameters/PageEditorStatus.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VERSION_PARAMETER': the field is declared in an interface type 50
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PREVIEW_PARAMETER': the field is declared in an interface type 51
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CHANNEL_PARAMETER': the field is declared in an interface type 52

info/magnolia/pages/app/editor/statusbar/activationstatus/ActivationStatus.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 105107
EmptyCatchBlock Avoid empty catch blocks 124126

Priority 4

info/magnolia/pages/app/availability/PageHasSubpagesAndIsNotDeletedRule.java

Rule Violation Line
UselessParentheses Useless parentheses. 51

info/magnolia/pages/app/editor/availability/IsPageEditableRule.java

Rule Violation Line
UselessParentheses Useless parentheses. 53

info/magnolia/pages/app/editor/parameters/DefaultPageEditorStatus.java

Rule Violation Line
UselessParentheses Useless parentheses. 113

info/magnolia/pages/app/editor/statusbar/StatusBarPresenterImpl.java

Rule Violation Line
UselessParentheses Useless parentheses. 103

info/magnolia/pages/setup/PagesModuleVersionHandler.java

Rule Violation Line
UselessParentheses Useless parentheses. 405
UselessParentheses Useless parentheses. 408
UselessParentheses Useless parentheses. 418

Files

info/magnolia/pages/app/action/DeletePageItemAction.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 8385

info/magnolia/pages/app/action/EditElementAction.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'log'. 3 60

info/magnolia/pages/app/action/PreviewPreviousVersionAction.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'log'. 3 57

info/magnolia/pages/app/availability/PageHasSubpagesAndIsNotDeletedRule.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 51

info/magnolia/pages/app/availability/PageHasSubpagesRule.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 7375

info/magnolia/pages/app/editor/PagesEditorSubApp.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 257259

info/magnolia/pages/app/editor/availability/IsPageEditableRule.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 53

info/magnolia/pages/app/editor/event/ComponentMoveEvent.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'static' on interface 'Handler': member interfaces are implicitly static 3 8385

info/magnolia/pages/app/editor/event/NodeSelectedEvent.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'static' on interface 'Handler': member interfaces are implicitly static 3 6668

info/magnolia/pages/app/editor/pagebar/languageselector/LanguageSelectorView.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on interface 'Listener': members of interface types are implicitly public 3 5860

info/magnolia/pages/app/editor/pagebar/platformselector/PlatformSelectorView.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on interface 'Listener': members of interface types are implicitly public 3 5355

info/magnolia/pages/app/editor/parameters/DefaultPageEditorStatus.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 113

info/magnolia/pages/app/editor/parameters/PageEditorStatus.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VERSION_PARAMETER': the field is declared in an interface type 3 50
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PREVIEW_PARAMETER': the field is declared in an interface type 3 51
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CHANNEL_PARAMETER': the field is declared in an interface type 3 52

info/magnolia/pages/app/editor/statusbar/StatusBarPresenterImpl.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 103

info/magnolia/pages/app/editor/statusbar/activationstatus/ActivationStatus.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 105107
EmptyCatchBlock Avoid empty catch blocks 3 124126

info/magnolia/pages/setup/PagesModuleVersionHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 405
UselessParentheses Useless parentheses. 4 408
UselessParentheses Useless parentheses. 4 418