PMD Results

The following document contains the results of PMD 5.1.2.

Files

info/magnolia/templating/elements/AbstractContentTemplatingElement.java

Violation Line
Avoid empty catch blocks 247249

info/magnolia/templating/elements/AreaElement.java

Violation Line
Avoid unused constructor parameters such as 'variationResolver'. 128
These nested if statements could be combined 398400
Useless parentheses. 464

info/magnolia/templating/elements/ComponentElement.java

Violation Line
These nested if statements could be combined 159161
Useless parentheses. 214

info/magnolia/templating/freemarker/AbstractDirective.java

Violation Line
Useless parentheses. 144

info/magnolia/templating/functions/TemplatingFunctions.java

Violation Line
Avoid empty catch blocks 415417
Avoid empty catch blocks 468470
Avoid empty catch blocks 470472

info/magnolia/templating/renderers/NoScriptRenderer.java

Violation Line
Avoid unused private fields such as 'log'. 65

info/magnolia/templating/renderers/PlainTextTemplateRenderer.java

Violation Line
Unnecessary use of fully qualified name 'info.magnolia.rendering.template.RenderableDefinition' due to existing import 'info.magnolia.rendering.template.RenderableDefinition' 78
Avoid unused local variables such as 'dialogName'. 93