PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

info/magnolia/rest/delivery/jcr/QueryBuilder.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'ASCENDING_KEYWORD'. 81

info/magnolia/rest/delivery/jcr/filter/DepthFilteringDecoratorNodeIterator.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 7476

info/magnolia/rest/delivery/jcr/i18n/I18nContainerRequestFilter.java

Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 115118

info/magnolia/rest/reference/dam/AssetWriter.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 101103

Priority 4

info/magnolia/rest/delivery/jcr/FilteringCondition.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Operator.EQ' due to existing static import 'info.magnolia.rest.delivery.jcr.Operator.*' 158
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Operator.from' due to existing static import 'info.magnolia.rest.delivery.jcr.Operator.*' 160

info/magnolia/rest/delivery/jcr/QueryBuilder.java

Rule Violation Line
UselessParentheses Useless parentheses. 340
UselessParentheses Useless parentheses. 341
UselessParentheses Useless parentheses. 342
UselessParentheses Useless parentheses. 342

info/magnolia/rest/reference/dam/AssetWriter.java

Rule Violation Line
UselessParentheses Useless parentheses. 83
UselessParentheses Useless parentheses. 146

Files

info/magnolia/rest/delivery/jcr/FilteringCondition.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Operator.EQ' due to existing static import 'info.magnolia.rest.delivery.jcr.Operator.*' 4 158
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Operator.from' due to existing static import 'info.magnolia.rest.delivery.jcr.Operator.*' 4 160

info/magnolia/rest/delivery/jcr/QueryBuilder.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'ASCENDING_KEYWORD'. 3 81
UselessParentheses Useless parentheses. 4 340
UselessParentheses Useless parentheses. 4 341
UselessParentheses Useless parentheses. 4 342
UselessParentheses Useless parentheses. 4 342

info/magnolia/rest/delivery/jcr/filter/DepthFilteringDecoratorNodeIterator.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 7476

info/magnolia/rest/delivery/jcr/i18n/I18nContainerRequestFilter.java

Rule Violation Priority Line
SimplifiedTernary Ternary operators that can be simplified with || or && 3 115118

info/magnolia/rest/reference/dam/AssetWriter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 83
EmptyCatchBlock Avoid empty catch blocks 3 101103
UselessParentheses Useless parentheses. 4 146