PMD Results

The following document contains the results of PMD 3.7.

Files

net/sf/glxdesktop/gui/glxinfo/dialog/AboutGlxinfoDialog.java

ViolationLine
Each class should declare at least one constructor7 - 49

net/sf/glxdesktop/gui/glxinfo/dialog/GlxSearchDialog.java

ViolationLine
These nested if statements could be combined112 - 115

net/sf/glxdesktop/gui/glxinfo/dialog/RunGlxinfoCmdDialog.java

ViolationLine
Use explicit scoping instead of the default package private level20
Use explicit scoping instead of the default package private level22

net/sf/glxdesktop/gui/glxinfo/Messages.java

ViolationLine
A method should have only one exit point, and that should be the last statement in the method33

net/sf/glxdesktop/gui/glxinfo/GlxInfoWindowActions.java

ViolationLine
Perhaps 'frameBufferColumn' could be replaced by a local variable.35
Perhaps 'searchDialog' could be replaced by a local variable.41
A method should have only one exit point, and that should be the last statement in the method59
A method should have only one exit point, and that should be the last statement in the method61
A method should have only one exit point, and that should be the last statement in the method79
A method should have only one exit point, and that should be the last statement in the method93
Assigning an Object to null is a code smell. Consider refactoring.213

net/sf/glxdesktop/gui/glxinfo/GlxInfoWindowImpl.java

ViolationLine
It is a good practice to call super() in a constructor34 - 43
These nested if statements could be combined117 - 118

net/sf/glxdesktop/gui/glxinfo/GlxInfoWindowMenu.java

ViolationLine
Perhaps 'menuBox' could be replaced by a local variable.36
Perhaps 'entries' could be replaced by a local variable.63
Perhaps 'toggleEntries' could be replaced by a local variable.80
Perhaps 'toggleShowEntries' could be replaced by a local variable.84
Perhaps 'uiInfo' could be replaced by a local variable.110