magnolia-gui Version: 4.4.6 Last Published: Jan 17, 2012

PMD Results

The following document contains the results of PMD 4.2.5.

Files

info/magnolia/cms/gui/control/ContextMenu.java

ViolationLine
Avoid unused local variables such as 'counter'.109

info/magnolia/cms/gui/control/File.java

ViolationLine
Avoid unused imports such as 'javax.jcr.RepositoryException'42

info/magnolia/cms/gui/control/FreemarkerControl.java

ViolationLine
Avoid unused private fields such as 'log'.59

info/magnolia/cms/gui/control/Tree.java

ViolationLine
Avoid unused constructor parameters such as 'request'.172 - 174
These nested if statements could be combined228 - 230
These nested if statements could be combined1089 - 1107

info/magnolia/cms/gui/control/TreeColumnHtmlRendererImpl.java

ViolationLine
These nested if statements could be combined113 - 124

info/magnolia/cms/gui/controlx/impl/AbstractControl.java

ViolationLine
These nested if statements could be combined144 - 146

info/magnolia/cms/gui/controlx/list/ListControlRenderer.java

ViolationLine
These nested if statements could be combined69 - 71
These nested if statements could be combined84 - 86

info/magnolia/cms/gui/controlx/search/DialogBasedSearchConfig.java

ViolationLine
Avoid empty catch blocks150 - 152

info/magnolia/cms/gui/dialog/Dialog.java

ViolationLine
Avoid empty catch blocks139 - 141
Avoid unused local variables such as 'id'.244

info/magnolia/cms/gui/dialog/DialogBox.java

ViolationLine
No need to import a type that lives in the same package36
No need to import a type that lives in the same package37

info/magnolia/cms/gui/dialog/DialogControlImpl.java

ViolationLine
Avoid empty catch blocks451 - 453
These nested if statements could be combined610 - 613

info/magnolia/cms/gui/dialog/DialogDate.java

ViolationLine
Avoid unused imports such as 'info.magnolia.context.MgnlContext'38
An empty statement (semicolon) not part of a loop74

info/magnolia/cms/gui/dialog/DialogFile.java

ViolationLine
Avoid empty catch blocks164 - 166

info/magnolia/cms/gui/dialog/DialogFreemarker.java

ViolationLine
Avoid empty catch blocks183 - 185

info/magnolia/cms/gui/dialog/DialogPassword.java

ViolationLine
Avoid unused private fields such as 'log'.55

info/magnolia/cms/gui/inline/BarEdit.java

ViolationLine
Avoid unused constructor parameters such as 'request'.68 - 69

info/magnolia/cms/gui/inline/BarMain.java

ViolationLine
Avoid unused constructor parameters such as 'request'.89 - 90
Avoid unused constructor parameters such as 'request'.95 - 97

info/magnolia/cms/gui/inline/BarNew.java

ViolationLine
Avoid unused constructor parameters such as 'request'.67 - 68

info/magnolia/cms/gui/inline/ButtonEdit.java

ViolationLine
Avoid unused constructor parameters such as 'request'.68 - 69
Avoid unused constructor parameters such as 'request'.74 - 76

info/magnolia/cms/gui/query/DateSearchQueryParameter.java

ViolationLine
Avoid unused private fields such as 'log'.47