PMD Results

The following document contains the results of PMD 6.4.0.

Files

info/magnolia/templating/elements/AbstractContentTemplatingElement.java

Violation Priority Line
Avoid unused constructor parameters such as 'i18nizer'. 3 90
Avoid empty catch blocks 3 266268

info/magnolia/templating/elements/AreaElement.java

Violation Priority Line
Avoid unused constructor parameters such as 'i18nizer'. 3 122
These nested if statements could be combined 3 356358

info/magnolia/templating/elements/ComponentElement.java

Violation Priority Line
Avoid unused constructor parameters such as 'i18nizer'. 3 91

info/magnolia/templating/elements/PageElement.java

Violation Priority Line
Avoid empty if statements 3 9495

info/magnolia/templating/elements/attribute/ActivationStatus.java

Violation Priority Line
Avoid empty catch blocks 3 6264

info/magnolia/templating/elements/attribute/Translated.java

Violation Priority Line
Useless parentheses. 4 92

info/magnolia/templating/functions/TemplatingFunctions.java

Violation Priority Line
Avoid unused constructor parameters such as 'aggregationStateProvider'. 3 115
Avoid unused constructor parameters such as 'aggregationStateProvider'. 3 123
Avoid unused constructor parameters such as 'aggregationStateProvider'. 3 131
Avoid empty catch blocks 3 423425
Avoid empty catch blocks 3 476478

info/magnolia/templating/inspector/Inspector.java

Violation Priority Line
Avoid unused private fields such as 'log'. 3 99
Useless parentheses. 4 106
Useless parentheses. 4 106

info/magnolia/templating/inspector/formatter/HtmlOutputter.java

Violation Priority Line
Avoid unused private fields such as 'DIV_TAG'. 3 66
Avoid unused private fields such as 'div'. 3 71
Avoid unused private fields such as 'isFormattingChildren'. 3 73

info/magnolia/templating/renderers/NoScriptRenderer.java

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

info/magnolia/templating/renderers/PlainTextTemplateRenderer.java

Violation Priority Line
Unnecessary use of fully qualified name 'info.magnolia.rendering.template.RenderableDefinition' due to existing import 'info.magnolia.rendering.template.RenderableDefinition' 4 79
Avoid unused local variables such as 'dialogName'. 3 94