PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 3

org/vaadin/openesignforms/ckeditor/CKEditorTextField.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 277279
UselessOverridingMethod Overriding method merely calls super 282285
UnnecessaryModifier Unnecessary modifier 'public' on method 'vaadinSave': the method is declared in an interface type 358
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'selectionChangeMethod': the field is declared in an interface type 383384
UnnecessaryModifier Unnecessary modifier 'public' on method 'selectionChange': the method is declared in an interface type 386

org/vaadin/openesignforms/ckeditor/widgetset/client/ui/CKEditorService.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'onInstanceReady': the method is declared in an interface type 160
UnnecessaryModifier Unnecessary modifier 'public' on method 'onChange': the method is declared in an interface type 161
UnnecessaryModifier Unnecessary modifier 'public' on method 'onSelectionChange': the method is declared in an interface type 162
UnnecessaryModifier Unnecessary modifier 'public' on method 'onModeChange': the method is declared in an interface type 163
UnnecessaryModifier Unnecessary modifier 'public' on method 'onDataReady': the method is declared in an interface type 164
UnnecessaryModifier Unnecessary modifier 'public' on method 'onBlur': the method is declared in an interface type 165
UnnecessaryModifier Unnecessary modifier 'public' on method 'onFocus': the method is declared in an interface type 166
UnnecessaryModifier Unnecessary modifier 'public' on method 'onSave': the method is declared in an interface type 167

org/vaadin/openesignforms/ckeditor/widgetset/client/ui/VCKEditorTextField.java

Rule Violation Line
EmptyIfStmt Avoid empty if statements 303305
EmptyIfStmt Avoid empty if statements 326328
UselessQualifiedThis Useless qualified this usage in the same class. 339
UselessQualifiedThis Useless qualified this usage in the same class. 341
UselessQualifiedThis Useless qualified this usage in the same class. 342
EmptyIfStmt Avoid empty if statements 357359
EmptyIfStmt Avoid empty if statements 379381
EmptyIfStmt Avoid empty if statements 392394
EmptyIfStmt Avoid empty if statements 395397
CollapsibleIfStatements These nested if statements could be combined 411413
EmptyIfStmt Avoid empty if statements 495497
EmptyIfStmt Avoid empty if statements 498500
EmptyIfStmt Avoid empty if statements 515517
EmptyIfStmt Avoid empty if statements 518520
CollapsibleIfStatements These nested if statements could be combined 532543
EmptyIfStmt Avoid empty if statements 559561
EmptyIfStmt Avoid empty if statements 587589
UnnecessaryReturn Avoid unnecessary return statements 632

Files

org/vaadin/openesignforms/ckeditor/CKEditorTextField.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 277279
UselessOverridingMethod Overriding method merely calls super 3 282285
UnnecessaryModifier Unnecessary modifier 'public' on method 'vaadinSave': the method is declared in an interface type 3 358
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'selectionChangeMethod': the field is declared in an interface type 3 383384
UnnecessaryModifier Unnecessary modifier 'public' on method 'selectionChange': the method is declared in an interface type 3 386

org/vaadin/openesignforms/ckeditor/widgetset/client/ui/CKEditorService.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'onInstanceReady': the method is declared in an interface type 3 160
UnnecessaryModifier Unnecessary modifier 'public' on method 'onChange': the method is declared in an interface type 3 161
UnnecessaryModifier Unnecessary modifier 'public' on method 'onSelectionChange': the method is declared in an interface type 3 162
UnnecessaryModifier Unnecessary modifier 'public' on method 'onModeChange': the method is declared in an interface type 3 163
UnnecessaryModifier Unnecessary modifier 'public' on method 'onDataReady': the method is declared in an interface type 3 164
UnnecessaryModifier Unnecessary modifier 'public' on method 'onBlur': the method is declared in an interface type 3 165
UnnecessaryModifier Unnecessary modifier 'public' on method 'onFocus': the method is declared in an interface type 3 166
UnnecessaryModifier Unnecessary modifier 'public' on method 'onSave': the method is declared in an interface type 3 167

org/vaadin/openesignforms/ckeditor/widgetset/client/ui/VCKEditorTextField.java

Rule Violation Priority Line
EmptyIfStmt Avoid empty if statements 3 303305
EmptyIfStmt Avoid empty if statements 3 326328
UselessQualifiedThis Useless qualified this usage in the same class. 3 339
UselessQualifiedThis Useless qualified this usage in the same class. 3 341
UselessQualifiedThis Useless qualified this usage in the same class. 3 342
EmptyIfStmt Avoid empty if statements 3 357359
EmptyIfStmt Avoid empty if statements 3 379381
EmptyIfStmt Avoid empty if statements 3 392394
EmptyIfStmt Avoid empty if statements 3 395397
CollapsibleIfStatements These nested if statements could be combined 3 411413
EmptyIfStmt Avoid empty if statements 3 495497
EmptyIfStmt Avoid empty if statements 3 498500
EmptyIfStmt Avoid empty if statements 3 515517
EmptyIfStmt Avoid empty if statements 3 518520
CollapsibleIfStatements These nested if statements could be combined 3 532543
EmptyIfStmt Avoid empty if statements 3 559561
EmptyIfStmt Avoid empty if statements 3 587589
UnnecessaryReturn Avoid unnecessary return statements 3 632