PMD Results
The following document contains the results of
PMD.
Files
org/dbe/studio/editors/bml/BMLEditorMain.java
Violation | Line |
---|
Avoid empty catch blocks |
1852
|
Avoid empty 'if' statements |
1930
|
org/dbe/studio/editors/bml/actions/AddInputParameterAction.java
Violation | Line |
---|
Avoid unused imports such as 'BMLEditorMain' |
10
|
Avoid unused imports such as 'BMLEditorV1Plugin' |
11
|
Avoid unused imports such as 'Constants' |
14
|
Avoid unused imports such as 'IEditorInput' |
24
|
Avoid unused imports such as 'IEditorPart' |
25
|
Avoid unused imports such as 'IViewPart' |
26
|
org/dbe/studio/editors/bml/actions/BMLActionBarContributor.java
Violation | Line |
---|
Avoid unused imports such as 'BMLEditorMain' |
3
|
Avoid unused imports such as 'IActionBars' |
5
|
Avoid unused imports such as 'IWorkbenchActionConstants' |
6
|
Avoid unused imports such as 'ActionFactory' |
7
|
org/dbe/studio/editors/bml/actions/DeleteModelAction.java
Violation | Line |
---|
Avoid empty 'if' statements |
107
|
org/dbe/studio/editors/bml/actions/FadaNodeAction.java
Violation | Line |
---|
Avoid unused imports such as 'BMLEditorMain' |
4
|
Avoid unused imports such as 'Action' |
6
|
Avoid unused imports such as 'IAction' |
7
|
Avoid unused imports such as 'ImageDescriptor' |
8
|
Avoid unused imports such as 'SWT' |
9
|
Avoid unused imports such as 'Button' |
10
|
Avoid unused imports such as 'Display' |
11
|
Avoid unused imports such as 'Label' |
12
|
Avoid unused imports such as 'Listener' |
13
|
Avoid unused imports such as 'Shell' |
14
|
Avoid unused imports such as 'Text' |
15
|
org/dbe/studio/editors/bml/actions/SMEInformationsAction.java
Violation | Line |
---|
Avoid unused imports such as 'BMLEditorMain' |
3
|
Avoid unused imports such as 'Action' |
4
|
Avoid unused imports such as 'IAction' |
5
|
Avoid unused imports such as 'ImageDescriptor' |
6
|
org/dbe/studio/editors/bml/commands/BasicConnectionCmd.java
Violation | Line |
---|
This for loop could be simplified to a while loop |
1671
|
This for loop could be simplified to a while loop |
1709
|
This for loop could be simplified to a while loop |
1733
|
This for loop could be simplified to a while loop |
1758
|
This for loop could be simplified to a while loop |
1769
|
This for loop could be simplified to a while loop |
1798
|
This for loop could be simplified to a while loop |
1805
|
org/dbe/studio/editors/bml/commands/DeleteBasicNodeElementCmd.java
Violation | Line |
---|
Avoid unused formal parameters such as 'part' |
79
|
This for loop could be simplified to a while loop |
146
|
This for loop could be simplified to a while loop |
153
|
This for loop could be simplified to a while loop |
190
|
This for loop could be simplified to a while loop |
220
|
org/dbe/studio/editors/bml/commands/DirectEditAttributeCmd.java
Violation | Line |
---|
This for loop could be simplified to a while loop |
161
|
Avoid empty 'if' statements |
220
|
org/dbe/studio/editors/bml/editParts/BasicNodeElementEditPart.java
Violation | Line |
---|
This for loop could be simplified to a while loop |
397
|
This for loop could be simplified to a while loop |
405
|
This for loop could be simplified to a while loop |
413
|
This for loop could be simplified to a while loop |
421
|
This for loop could be simplified to a while loop |
429
|
This for loop could be simplified to a while loop |
463
|
This for loop could be simplified to a while loop |
471
|
This for loop could be simplified to a while loop |
479
|
This for loop could be simplified to a while loop |
487
|
This for loop could be simplified to a while loop |
495
|
org/dbe/studio/editors/bml/metamodels/basic/BasicGroupElement.java
Violation | Line |
---|
This for loop could be simplified to a while loop |
87
|
org/dbe/studio/editors/bml/metamodels/ssl/ServiceAttribute.java
Violation | Line |
---|
Avoid unnecessary temporaries when converting primitives to Strings |
288
|
org/dbe/studio/editors/bml/metamodels/ssl/ServiceOutput.java
Violation | Line |
---|
Avoid unnecessary temporaries when converting primitives to Strings |
266
|
org/dbe/studio/editors/bml/utils/Base64.java
Violation | Line |
---|
Avoid empty catch blocks |
307
|
Avoid empty catch blocks |
310
|
Avoid empty catch blocks |
313
|
Avoid empty catch blocks |
316
|
Avoid empty catch blocks |
428
|
Avoid empty catch blocks |
431
|
Avoid empty catch blocks |
434
|
Avoid empty catch blocks |
673
|
Avoid empty catch blocks |
676
|
Avoid empty catch blocks |
679
|
Avoid empty catch blocks |
682
|
Avoid empty catch blocks |
722
|
Avoid empty catch blocks |
725
|
Avoid empty catch blocks |
755
|
Avoid empty catch blocks |
784
|
Avoid empty catch blocks |
838
|
Avoid empty catch blocks |
883
|
org/dbe/studio/editors/bml/utils/ChangeModelNamePage.java
Violation | Line |
---|
Avoid unused imports such as 'IDialogPage' |
10
|
org/dbe/studio/editors/bml/utils/ComboBoxDirectEditManager.java
Violation | Line |
---|
This for loop could be simplified to a while loop |
153
|
org/dbe/studio/editors/bml/utils/Runner.java
Violation | Line |
---|
Avoid empty catch blocks |
79
|
Avoid empty catch blocks |
127
|
org/dbe/studio/editors/bml/utils/SMEPage.java
Violation | Line |
---|
Avoid unused imports such as 'IDialogPage' |
15
|
This for loop could be simplified to a while loop |
157
|
org/dbe/studio/editors/bml/utils/SMEWizard.java
Violation | Line |
---|
Avoid unused imports such as 'IWorkbenchWizard' |
15
|
Avoid empty 'if' statements |
68
|
org/dbe/studio/editors/bml/utils/listeners/BMLPerspectiveListener.java
Violation | Line |
---|
Avoid unused imports such as 'ModelNavigatorView' |
11
|
org/dbe/studio/editors/bml/utils/listeners/PreferencesListener.java
Violation | Line |
---|
Avoid unused imports such as 'Vector' |
3
|
Avoid unused imports such as 'BMLEditorMain' |
5
|
Avoid unused imports such as 'BMLEditorV1Plugin' |
6
|
Avoid unused imports such as 'Constants' |
7
|
Avoid unused imports such as 'ModelNavigatorView' |
8
|
Avoid unused imports such as 'Button' |
9
|
Avoid unused imports such as 'Event' |
10
|
Avoid unused imports such as 'Listener' |
11
|
Avoid unused imports such as 'Shell' |
12
|
Avoid unused imports such as 'Text' |
13
|
Avoid unused imports such as 'IEditorInput' |
14
|
Avoid unused imports such as 'PartInitException' |
15
|
org/dbe/studio/editors/bml/views/BMLEditorPropertiesView.java
Violation | Line |
---|
Avoid unused imports such as 'IWorkbenchPage' |
35
|
Avoid unused imports such as 'BMLEditorV1Plugin' |
39
|
org/dbe/studio/editors/bml/views/ModelNavigatorView.java
Violation | Line |
---|
Avoid unused imports such as 'IViewPart' |
72
|
This for loop could be simplified to a while loop |
303
|
This for loop could be simplified to a while loop |
428
|