PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 3

info/magnolia/module/rssaggregator/app/RSSAggregatorApp.java

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

info/magnolia/module/rssaggregator/app/subapps/aggregationconfig/RSSAggregatorSimpleConfigSubAppView.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'setListener': the method is declared in an interface type 45
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFormViewReduced': the method is declared in an interface type 47
UnnecessaryModifier Unnecessary modifier 'public' on method 'build': the method is declared in an interface type 52
UnnecessaryModifier Unnecessary modifier 'public' on interface 'Listener': members of interface types are implicitly public 5763
UnnecessaryModifier Unnecessary modifier 'public' on method 'save': the method is declared in an interface type 62

info/magnolia/module/rssaggregator/command/LaunchSingleRSSCommand.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 122124

info/magnolia/module/rssaggregator/field/RSSScheduleTabTransformer.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'fieldsName'. 58

info/magnolia/module/rssaggregator/field/RunRSSImportButtonField.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 113115

info/magnolia/module/rssaggregator/field/factory/RunEveryRSSImportButtonFieldFactory.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'simpleTranslator'. 57

info/magnolia/module/rssaggregator/field/factory/RunRSSImportButtonFieldFactory.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'simpleTranslator'. 58

info/magnolia/module/rssaggregator/generator/PlanetDataGenerator.java

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

info/magnolia/module/rssaggregator/setup/SetImportTimingSetterPropertyInitialValue.java

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

info/magnolia/module/rssaggregator/templates/components/AbstractFeedModel.java

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

info/magnolia/module/rssaggregator/templates/components/FeedStatisticsModel.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 6264

info/magnolia/module/rssaggregator/util/ClassUtils.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 6365

info/magnolia/module/rssaggregator/util/PagerUtil.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 192194

Priority 4

info/magnolia/module/rssaggregator/RSSAggregator.java

Rule Violation Line
UselessParentheses Useless parentheses. 243
UselessParentheses Useless parentheses. 243

info/magnolia/module/rssaggregator/importhandler/MgnlHttpURLFeedFetcher.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 150

info/magnolia/module/rssaggregator/importhandler/PlanetFilter.java

Rule Violation Line
UselessParentheses Useless parentheses. 144

info/magnolia/module/rssaggregator/util/MagnoliaTemplate.java

Rule Violation Line
UselessParentheses Useless parentheses. 153

info/magnolia/module/rssaggregator/util/PagerUtil.java

Rule Violation Line
UselessParentheses Useless parentheses. 98
UselessParentheses Useless parentheses. 108

Files

info/magnolia/module/rssaggregator/RSSAggregator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 243
UselessParentheses Useless parentheses. 4 243

info/magnolia/module/rssaggregator/app/RSSAggregatorApp.java

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

info/magnolia/module/rssaggregator/app/subapps/aggregationconfig/RSSAggregatorSimpleConfigSubAppView.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'setListener': the method is declared in an interface type 3 45
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFormViewReduced': the method is declared in an interface type 3 47
UnnecessaryModifier Unnecessary modifier 'public' on method 'build': the method is declared in an interface type 3 52
UnnecessaryModifier Unnecessary modifier 'public' on interface 'Listener': members of interface types are implicitly public 3 5763
UnnecessaryModifier Unnecessary modifier 'public' on method 'save': the method is declared in an interface type 3 62

info/magnolia/module/rssaggregator/command/LaunchSingleRSSCommand.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 122124

info/magnolia/module/rssaggregator/field/RSSScheduleTabTransformer.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'fieldsName'. 3 58

info/magnolia/module/rssaggregator/field/RunRSSImportButtonField.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 113115

info/magnolia/module/rssaggregator/field/factory/RunEveryRSSImportButtonFieldFactory.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'simpleTranslator'. 3 57

info/magnolia/module/rssaggregator/field/factory/RunRSSImportButtonFieldFactory.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'simpleTranslator'. 3 58

info/magnolia/module/rssaggregator/generator/PlanetDataGenerator.java

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

info/magnolia/module/rssaggregator/importhandler/MgnlHttpURLFeedFetcher.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException' 4 150

info/magnolia/module/rssaggregator/importhandler/PlanetFilter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 144

info/magnolia/module/rssaggregator/setup/SetImportTimingSetterPropertyInitialValue.java

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

info/magnolia/module/rssaggregator/templates/components/AbstractFeedModel.java

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

info/magnolia/module/rssaggregator/templates/components/FeedStatisticsModel.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 6264

info/magnolia/module/rssaggregator/util/ClassUtils.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 6365

info/magnolia/module/rssaggregator/util/MagnoliaTemplate.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 153

info/magnolia/module/rssaggregator/util/PagerUtil.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 98
UselessParentheses Useless parentheses. 4 108
EmptyCatchBlock Avoid empty catch blocks 3 192194