PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

info/magnolia/cache/browser/app/CacheBrowserListPresenter.java

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

info/magnolia/cache/browser/app/CacheKeyItem.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 8486
EmptyCatchBlock Avoid empty catch blocks 9496

info/magnolia/cache/browser/rest/client/CacheService.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'ping': the method is declared in an interface type 51
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAllKeys': the method is declared in an interface type 55
UnnecessaryModifier Unnecessary modifier 'public' on method 'getKeys': the method is declared in an interface type 59
UnnecessaryModifier Unnecessary modifier 'public' on method 'getCacheSize': the method is declared in an interface type 63
UnnecessaryModifier Unnecessary modifier 'public' on method 'getCacheContent': the method is declared in an interface type 67
UnnecessaryModifier Unnecessary modifier 'public' on method 'delete': the method is declared in an interface type 71

Priority 4

info/magnolia/cache/browser/rest/endpoint/CacheEndpoint.java

Rule Violation Line
UselessParentheses Useless parentheses. 156

Files

info/magnolia/cache/browser/app/CacheBrowserListPresenter.java

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

info/magnolia/cache/browser/app/CacheKeyItem.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 8486
EmptyCatchBlock Avoid empty catch blocks 3 9496

info/magnolia/cache/browser/rest/client/CacheService.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'ping': the method is declared in an interface type 3 51
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAllKeys': the method is declared in an interface type 3 55
UnnecessaryModifier Unnecessary modifier 'public' on method 'getKeys': the method is declared in an interface type 3 59
UnnecessaryModifier Unnecessary modifier 'public' on method 'getCacheSize': the method is declared in an interface type 3 63
UnnecessaryModifier Unnecessary modifier 'public' on method 'getCacheContent': the method is declared in an interface type 3 67
UnnecessaryModifier Unnecessary modifier 'public' on method 'delete': the method is declared in an interface type 3 71

info/magnolia/cache/browser/rest/endpoint/CacheEndpoint.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 156