PMD Results

The following document contains the results of PMD 5.1.2.

Files

com/googlecode/mgwt/collection/shared/LightArray.java

Violation Line
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 62
Avoid modifiers which are implied by the context 69

com/googlecode/mgwt/collection/shared/LightArrayBoolean.java

Violation Line
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 67

com/googlecode/mgwt/collection/shared/LightArrayInt.java

Violation Line
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 67

com/googlecode/mgwt/collection/shared/LightMap.java

Violation Line
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 61
Avoid modifiers which are implied by the context 69

com/googlecode/mgwt/dom/client/event/EventTypes.java

Violation Line
Avoid modifiers which are implied by the context 4
Avoid modifiers which are implied by the context 6

com/googlecode/mgwt/dom/client/event/mouse/SimulatedTouchEndEvent.java

Violation Line
Avoid unused private fields such as 'x'. 34
Avoid unused private fields such as 'y'. 35
Avoid unused private fields such as 'x_start'. 36
Avoid unused private fields such as 'y_start'. 37
Avoid unused private fields such as 'multiTouch'. 38

com/googlecode/mgwt/dom/client/event/mouse/SimulatedTouchMoveEvent.java

Violation Line
Avoid unused private fields such as 'x'. 34
Avoid unused private fields such as 'y'. 35
Avoid unused private fields such as 'x_start'. 37
Avoid unused private fields such as 'y_start'. 38
Avoid unused private fields such as 'multiTouch'. 39

com/googlecode/mgwt/dom/client/event/tap/HasTapHandlers.java

Violation Line
Avoid modifiers which are implied by the context 34

com/googlecode/mgwt/dom/client/event/tap/TapEvent.java

Violation Line
Unnecessary use of fully qualified name 'com.google.gwt.event.shared.GwtEvent.Type' due to existing import 'com.google.gwt.event.shared.GwtEvent' 56

com/googlecode/mgwt/dom/client/event/tap/TapHandler.java

Violation Line
Avoid modifiers which are implied by the context 27

com/googlecode/mgwt/dom/client/event/touch/HasTouchHandlers.java

Violation Line
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 75
Avoid modifiers which are implied by the context 87

com/googlecode/mgwt/dom/client/event/touch/JsTouch.java

Violation Line
Unnecessary final modifier in final class 3436
Unnecessary final modifier in final class 4345

com/googlecode/mgwt/dom/client/event/touch/Touch.java

Violation Line
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 40

com/googlecode/mgwt/dom/client/event/touch/TouchCancelHandler.java

Violation Line
Avoid modifiers which are implied by the context 32

com/googlecode/mgwt/dom/client/event/touch/TouchEndHandler.java

Violation Line
Avoid modifiers which are implied by the context 32

com/googlecode/mgwt/dom/client/event/touch/TouchMoveHandler.java

Violation Line
Avoid modifiers which are implied by the context 32

com/googlecode/mgwt/dom/client/event/touch/TouchStartHandler.java

Violation Line
Avoid modifiers which are implied by the context 32

com/googlecode/mgwt/dom/client/recognizer/EventPropagator.java

Violation Line
Avoid modifiers which are implied by the context 34

com/googlecode/mgwt/dom/client/recognizer/TimeProvider.java

Violation Line
Avoid modifiers which are implied by the context 26

com/googlecode/mgwt/dom/client/recognizer/TimerExecutor.java

Violation Line
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 2830
Avoid modifiers which are implied by the context 29

com/googlecode/mgwt/dom/client/recognizer/longtap/HasLongTapHandlers.java

Violation Line
Avoid modifiers which are implied by the context 34

com/googlecode/mgwt/dom/client/recognizer/longtap/LongTapEvent.java

Violation Line
Unnecessary use of fully qualified name 'com.google.gwt.event.shared.GwtEvent.Type' due to existing import 'com.google.gwt.event.shared.GwtEvent' 67

com/googlecode/mgwt/dom/client/recognizer/longtap/LongTapHandler.java

Violation Line
Avoid modifiers which are implied by the context 32

com/googlecode/mgwt/dom/client/recognizer/longtap/LongTapRecognizer.java

Violation Line
These nested if statements could be combined 202205

com/googlecode/mgwt/dom/client/recognizer/pinch/HasPinchHandlers.java

Violation Line
Avoid modifiers which are implied by the context 33

com/googlecode/mgwt/dom/client/recognizer/pinch/OffsetProvider.java

Violation Line
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 39

com/googlecode/mgwt/dom/client/recognizer/pinch/PinchEvent.java

Violation Line
Unnecessary use of fully qualified name 'com.google.gwt.event.shared.GwtEvent.Type' due to existing import 'com.google.gwt.event.shared.GwtEvent' 64

com/googlecode/mgwt/dom/client/recognizer/pinch/PinchHandler.java

Violation Line
Avoid modifiers which are implied by the context 33

com/googlecode/mgwt/dom/client/recognizer/swipe/HasSwipeHandlers.java

Violation Line
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 50

com/googlecode/mgwt/dom/client/recognizer/swipe/SwipeEndEvent.java

Violation Line
Unnecessary use of fully qualified name 'com.google.gwt.event.shared.GwtEvent.Type' due to existing import 'com.google.gwt.event.shared.GwtEvent' 54

com/googlecode/mgwt/dom/client/recognizer/swipe/SwipeEndHandler.java

Violation Line
Avoid modifiers which are implied by the context 32

com/googlecode/mgwt/dom/client/recognizer/swipe/SwipeMoveEvent.java

Violation Line
Unnecessary use of fully qualified name 'com.google.gwt.event.shared.GwtEvent.Type' due to existing import 'com.google.gwt.event.shared.GwtEvent' 60

com/googlecode/mgwt/dom/client/recognizer/swipe/SwipeMoveHandler.java

Violation Line
Avoid modifiers which are implied by the context 32

com/googlecode/mgwt/dom/client/recognizer/swipe/SwipeStartEvent.java

Violation Line
Unnecessary use of fully qualified name 'com.google.gwt.event.shared.GwtEvent.Type' due to existing import 'com.google.gwt.event.shared.GwtEvent' 58

com/googlecode/mgwt/dom/client/recognizer/tap/MultiTapEvent.java

Violation Line
Unnecessary use of fully qualified name 'com.google.gwt.event.shared.GwtEvent.Type' due to existing import 'com.google.gwt.event.shared.GwtEvent' 85

com/googlecode/mgwt/dom/client/recognizer/tap/MultiTapHandler.java

Violation Line
Avoid modifiers which are implied by the context 32

com/googlecode/mgwt/dom/client/recognizer/tap/MultiTapRecognizer.java

Violation Line
These nested if statements could be combined 191194
These nested if statements could be combined 265269

com/googlecode/mgwt/ui/client/widget/touch/TouchWidgetImpl.java

Violation Line
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 67

com/vaadin/v7/client/ui/VScrollTablePatched.java

Violation Line
Avoid unused imports such as 'com.google.gwt.event.dom.client.ContextMenuEvent' 51
Avoid unused imports such as 'com.google.gwt.event.dom.client.ContextMenuHandler' 52
Avoid unused imports such as 'com.google.gwt.user.client.ui.RootPanel' 80
Avoid modifiers which are implied by the context 174
Avoid unused private fields such as 'detachedScrollPosition'. 451
Avoid unused private fields such as 'initialContentReceived'. 704
Avoid unused private fields such as 'touchScrollDelegate'. 745
Avoid unused private methods such as 'sendColumnWidthUpdates(Collection)'. 995
Overriding method merely calls super 22262229
Useless parentheses. 23882390
Useless parentheses. 24162417
Avoid empty if statements 24642466
Avoid unused local variables such as 'hCell'. 2472
Useless parentheses. 2517
These nested if statements could be combined 25332546
These nested if statements could be combined 25352545
Useless parentheses. 2597
Useless parentheses. 26532654
Useless parentheses. 26552656
Useless parentheses. 2708
Useless parentheses. 27582759
Useless parentheses. 27792781
These nested if statements could be combined 33293374
These nested if statements could be combined 37983801
These nested if statements could be combined 39803986
These nested if statements could be combined 46844687
Useless parentheses. 5233
Unnecessary use of fully qualified name 'com.google.gwt.dom.client.Element' due to existing import 'com.google.gwt.dom.client.Element' 5490
Unnecessary use of fully qualified name 'com.google.gwt.dom.client.Element' due to existing import 'com.google.gwt.dom.client.Element' 5974
These nested if statements could be combined 61736286
Useless parentheses. 62146215
Useless parentheses. 63126313
Useless parentheses. 64096410
Avoid using a branching statement as the last in a loop. 6789
Avoid unused method parameters such as 'rowUidl'. 6797
Avoid unused method parameters such as 'rowUidl'. 6804
Useless parentheses. 6909
Useless parentheses. 6909
Useless parentheses. 71437144
Useless parentheses. 7201
These nested if statements could be combined 73667375
Useless parentheses. 7479
Useless parentheses. 7505
Useless parentheses. 75307531
Useless parentheses. 75407542
Useless parentheses. 7565
Useless parentheses. 7566
Avoid unused private methods such as 'getLogger()'. 8471

com/vaadin/v7/client/ui/VTreeTablePatched.java

Violation Line
Unnecessary use of fully qualified name 'com.google.gwt.dom.client.Element' due to existing import 'com.google.gwt.dom.client.Element' 153
Avoid using a branching statement as the last in a loop. 357
Useless parentheses. 800801
Useless parentheses. 802

com/vaadin/v7/client/ui/table/TableConnectorPatched.java

Violation Line
Avoid unused local variables such as 'totalRowsHaveChanged'. 184
Useless parentheses. 184
These nested if statements could be combined 325343

com/vaadin/v7/client/ui/treetable/TreeTableConnectorPatched.java

Violation Line
Avoid unused imports such as 'com.vaadin.shared.ui.Connect' 24
Avoid unused imports such as 'com.vaadin.v7.ui.TreeTable' 32
These nested if statements could be combined 6169
Useless parentheses. 8485

info/magnolia/ui/vaadin/actionbar/Actionbar.java

Violation Line
Avoid modifiers which are implied by the context 216
Avoid modifiers which are implied by the context 217
Avoid modifiers which are implied by the context 219

info/magnolia/ui/vaadin/applauncher/AppLauncher.java

Violation Line
Avoid unused constructor parameters such as 'openAppHandler'. 55

info/magnolia/ui/vaadin/ckeditor/MagnoliaCKEditorConfig.java

Violation Line
Overriding method merely calls super 104106
Overriding method merely calls super 109111

info/magnolia/ui/vaadin/dialog/BaseDialog.java

Violation Line
Unnecessary use of fully qualified name 'com.vaadin.ui.Component.Event' due to existing import 'com.vaadin.ui.Component' 242
Unnecessary use of fully qualified name 'com.vaadin.ui.Component.Event' due to existing import 'com.vaadin.ui.Component' 276
Unnecessary use of fully qualified name 'com.vaadin.ui.Component.Event' due to existing import 'com.vaadin.ui.Component' 309

info/magnolia/ui/vaadin/dialog/ConfirmationDialog.java

Violation Line
Overriding method merely calls super 131133

info/magnolia/ui/vaadin/editor/CroppableImage.java

Violation Line
Overriding method merely calls super 6264
Avoid modifiers which are implied by the context 151
Avoid modifiers which are implied by the context 152153
Avoid modifiers which are implied by the context 161
Avoid modifiers which are implied by the context 162163

info/magnolia/ui/vaadin/editor/JCrop.java

Violation Line
Avoid unused constructor parameters such as 'handler'. 65

info/magnolia/ui/vaadin/editor/JCropField.java

Violation Line
Useless parentheses. 158
Useless parentheses. 158

info/magnolia/ui/vaadin/extension/CloseIcon.java

Violation Line
Avoid unused constructor parameters such as 'handler'. 51

info/magnolia/ui/vaadin/form/field/FieldLayout.java

Violation Line
Overriding method merely calls super 113115

info/magnolia/ui/vaadin/grid/MagnoliaTreeTable.java

Violation Line
Avoid unused private fields such as 'log'. 56
Overriding method merely calls super 7476
Overriding method merely calls super 115117

info/magnolia/ui/vaadin/gwt/client/actionbar/connector/ActionbarConnector.java

Violation Line
Useless parentheses. 74

info/magnolia/ui/vaadin/gwt/client/actionbar/widget/ActionbarWidgetViewImpl.java

Violation Line
Useless parentheses. 354
Useless parentheses. 357

info/magnolia/ui/vaadin/gwt/client/applauncher/connector/AppLauncherConnector.java

Violation Line
Useless parentheses. 125
Overriding method merely calls super 145147

info/magnolia/ui/vaadin/gwt/client/applauncher/widget/AppLauncherView.java

Violation Line
Avoid modifiers which are implied by the context 5257

info/magnolia/ui/vaadin/gwt/client/applauncher/widget/VPermanentAppTileGroup.java

Violation Line
Overriding method merely calls super 8789

info/magnolia/ui/vaadin/gwt/client/ckeditor/VMagnoliaCKEditorTextField.java

Violation Line
Overriding method merely calls super 158160

info/magnolia/ui/vaadin/gwt/client/dialog/connector/DialogContainingFormConnector.java

Violation Line
Useless parentheses. 117

info/magnolia/ui/vaadin/gwt/client/dialog/widget/DialogHeaderWidget.java

Violation Line
These nested if statements could be combined 124126

info/magnolia/ui/vaadin/gwt/client/extension/MaxLengthIndicatorConnector.java

Violation Line
Avoid unused private methods such as 'setIndicatorVisible(boolean)'. 140

info/magnolia/ui/vaadin/gwt/client/form/formsection/widget/FormSectionWidget.java

Violation Line
Useless parentheses. 78

info/magnolia/ui/vaadin/gwt/client/form/tab/connector/FormTabConnector.java

Violation Line
Overriding method merely calls super 4850

info/magnolia/ui/vaadin/gwt/client/form/widget/FormViewImpl.java

Violation Line
Useless parentheses. 181

info/magnolia/ui/vaadin/gwt/client/grid/VMagnoliaTable.java

Violation Line
Overriding method merely calls super 176178
Unnecessary use of fully qualified name 'com.google.gwt.user.client.Element' due to existing import 'com.google.gwt.user.client.Element' 222

info/magnolia/ui/vaadin/gwt/client/grid/VMagnoliaTreeTable.java

Violation Line
Useless parentheses. 60

info/magnolia/ui/vaadin/gwt/client/jquerywrapper/JQueryCallback.java

Violation Line
Avoid modifiers which are implied by the context 40

info/magnolia/ui/vaadin/gwt/client/jquerywrapper/JQueryFunction.java

Violation Line
Unnecessary final modifier in final class 4650

info/magnolia/ui/vaadin/gwt/client/layout/lazylayout/widget/LazyThumbnailLayoutImageBundle.java

Violation Line
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 47

info/magnolia/ui/vaadin/gwt/client/layout/lazylayout/widget/ThumbnailsSizeKeeper.java

Violation Line
Avoid unused private methods such as 'scaleWidth(int,double)'. 118
Avoid unused private methods such as 'addOrRemoveClass(boolean,String,Element)'. 140

info/magnolia/ui/vaadin/gwt/client/magnoliashell/shell/MagnoliaShellViewImpl.java

Violation Line
These nested if statements could be combined 231233

info/magnolia/ui/vaadin/gwt/client/magnoliashell/shell/ShellAppLauncher.java

Violation Line
Useless parentheses. 241

info/magnolia/ui/vaadin/gwt/client/magnoliashell/shell/VShellImageBundle.java

Violation Line
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 50

info/magnolia/ui/vaadin/gwt/client/magnoliashell/viewport/widget/AppsViewportWidget.java

Violation Line
Avoid unused local variables such as 'style'. 196
Useless parentheses. 403

info/magnolia/ui/vaadin/gwt/client/richtext/TextAreaStretcherConnector.java

Violation Line
These nested if statements could be combined 115118

info/magnolia/ui/vaadin/gwt/client/richtext/VMagnoliaRichTextField.java

Violation Line
Unnecessary use of fully qualified name 'VMagnoliaCKEditorTextEvents.Listener' due to existing import 'info.magnolia.ui.vaadin.gwt.client.ckeditor.VMagnoliaCKEditorTextEvents' 56
Overriding method merely calls super 165167

info/magnolia/ui/vaadin/gwt/client/shared/icon/IconParameters.java

Violation Line
Avoid modifiers which are implied by the context 41

info/magnolia/ui/vaadin/gwt/client/tabsheet/tab/widget/MagnoliaTabWidget.java

Violation Line
Avoid unused constructor parameters such as 'connector'. 51

info/magnolia/ui/vaadin/gwt/client/tabsheet/widget/TabBarWidget.java

Violation Line
Useless parentheses. 146
Useless parentheses. 149

org/vaadin/alump/ckeditor/client/VCKEditorTextField.java

Violation Line
These nested if statements could be combined 334336
These nested if statements could be combined 433443
Avoid unnecessary return statements 508