PMD Results

The following document contains the results of PMD 5.6.1.

Files

TMD-Maker Core Test Plugin - jp/sourceforge/tmdmaker/model/SubsetTest.java

Violation Line
Too many static imports may lead to messy code 16–139

TMD-Maker Core Plugin - jp/sourceforge/tmdmaker/model/IAttribute.java

Violation Line
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 69
Avoid modifiers which are implied by the context 74
Avoid modifiers which are implied by the context 80
Avoid modifiers which are implied by the context 85
Avoid modifiers which are implied by the context 91
Avoid modifiers which are implied by the context 96
Avoid modifiers which are implied by the context 102
Avoid modifiers which are implied by the context 107
Avoid modifiers which are implied by the context 113
Avoid modifiers which are implied by the context 118
Avoid modifiers which are implied by the context 124
Avoid modifiers which are implied by the context 131
Avoid modifiers which are implied by the context 138
Avoid modifiers which are implied by the context 145

TMD-Maker Core Plugin - jp/sourceforge/tmdmaker/model/IdentifierChangeListener.java

Violation Line
Avoid modifiers which are implied by the context 28

TMD-Maker Core Plugin - jp/sourceforge/tmdmaker/model/constraint/AnchorConstraint.java

Violation Line
Overriding method merely calls super 67–69

TMD-Maker Core Plugin - jp/sourceforge/tmdmaker/model/parts/ModelName.java

Violation Line
Ensure you override both equals() and hashCode() 44

TMD-Maker Core Plugin - jp/sourceforge/tmdmaker/model/rule/ImplementRule.java

Violation Line
These nested if statements could be combined 125–127

TMD-Maker Core Plugin - jp/sourceforge/tmdmaker/model/rule/RelationshipRule.java

Violation Line
Useless parentheses. 120
Useless parentheses. 121
Useless parentheses. 241
Useless parentheses. 241

TMD-Maker DDL Generator Plugin - jp/sourceforge/tmdmaker/generate/DdlUtilsConverter.java

Violation Line
Avoid unused private methods such as 'addModel(Database,ModelElement)'. 122
Useless parentheses. 210

TMD-Maker Sphinx Doc Generator Plugin - jp/sourceforge/tmdmaker/sphinx/keydefinitionlist/KeyDefinitionListRstGenerator.java

Violation Line
No need to import a type that lives in the same package 32

TMD-Maker Sphinx Doc Generator Plugin - jp/sourceforge/tmdmaker/sphinx/relationshiplist/RelationshipListRstGenerator.java

Violation Line
No need to import a type that lives in the same package 28

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/dialogs/ModelEditDialog.java

Violation Line
Overriding method merely calls super 65–67

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/dialogs/components/AttributeSettingPanel.java

Violation Line
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 230
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 241
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 255
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 269
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 289
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 305

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/dialogs/components/EntityEditSettingPanel.java

Violation Line
Avoid unused constructor parameters such as 'style'. 51
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionAdapter' due to existing import 'org.eclipse.swt.events.SelectionAdapter' 126
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 127
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionAdapter' due to existing import 'org.eclipse.swt.events.SelectionAdapter' 157
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 158

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/dialogs/components/EntityNameAndTypeSettingPanel.java

Violation Line
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionAdapter' due to existing import 'org.eclipse.swt.events.SelectionAdapter' 116
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 117
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionAdapter' due to existing import 'org.eclipse.swt.events.SelectionAdapter' 138
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 139

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/dialogs/components/ImplementInfoEditPanel.java

Violation Line
Overriding method merely calls super 304–306

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/dialogs/components/IndexSettingPanel.java

Violation Line
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionAdapter' due to existing import 'org.eclipse.swt.events.SelectionAdapter' 84
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 85
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionAdapter' due to existing import 'org.eclipse.swt.events.SelectionAdapter' 105
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 106
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionAdapter' due to existing import 'org.eclipse.swt.events.SelectionAdapter' 113
Unnecessary use of fully qualified name 'org.eclipse.swt.events.SelectionEvent' due to existing import 'org.eclipse.swt.events.SelectionEvent' 114
Avoid modifying an outer loop incrementer in an inner loop for update expression 161–167

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/dialogs/components/ModelSelectPanel.java

Violation Line
Unnecessary use of fully qualified name 'org.eclipse.swt.SWT.VERTICAL' due to existing import 'org.eclipse.swt.SWT' 145

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/dialogs/models/EditImplementEntity.java

Violation Line
These nested if statements could be combined 82–85

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/dialogs/models/EditTable.java

Violation Line
Useless parentheses. 354
Useless parentheses. 354

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/editor/draw2d/figure/node/DetailFigure.java

Violation Line
Avoid empty if statements 65–67

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/editor/draw2d/figure/node/SubsetEntityFigure.java

Violation Line
Avoid empty if statements 63–65

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/editor/gef3/treeeditparts/DiagramTreeEditPart.java

Violation Line
Overriding method merely calls super 58–60

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/editor/gef3/treeeditparts/FolderTreeEditPart.java

Violation Line
Overriding method merely calls super 46–48
Overriding method merely calls super 51–53

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/preferences/appearance/ColorAppearancePreferencePage.java

Violation Line
Overriding method merely calls super 128–130

TMD-Maker Plugin - jp/sourceforge/tmdmaker/ui/preferences/appearance/FontAppearancePreferencePage.java

Violation Line
Overriding method merely calls super 130–132