PMD Results
The following document contains the results of PMD 4.2.2.
Files
org/microemu/app/Main.java
| Violation | Line |
|---|
| Avoid empty if statements | 292 - 300 |
| Avoid empty if statements | 953 - 955 |
| Avoid unused local variables such as 'midletString'. | 1058 |
org/microemu/app/capture/NeuQuant.java
| Violation | Line |
|---|
| Avoid unused local variables such as 'j'. | 350 |
| Avoid empty catch blocks | 385 - 386 |
| Avoid empty catch blocks | 394 - 395 |
org/microemu/app/ui/swing/MIDletUrlPanel.java
| Violation | Line |
|---|
| No need to import a type that lives in the same package | 31 |
org/microemu/app/ui/swing/RecordStoreManagerDialog.java
| Violation | Line |
|---|
| These nested if statements could be combined | 91 - 112 |
org/microemu/app/ui/swing/SwingDeviceComponent.java
| Violation | Line |
|---|
| Avoid empty if statements | 377 - 379 |
| Avoid empty catch blocks | 447 - 449 |
org/microemu/app/ui/swing/SwingDisplayComponent.java
| Violation | Line |
|---|
| These nested if statements could be combined | 200 - 215 |
org/microemu/app/ui/swing/SwingErrorMessageDialogPanel.java
| Violation | Line |
|---|
| Avoid unused imports such as 'java.awt.Insets' | 33 |
org/microemu/app/ui/swing/SwingSelectDevicePanel.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 123 - 124 |
org/microemu/app/ui/swing/logconsole/LogTextArea.java
| Violation | Line |
|---|
| Avoid unused constructor parameters such as 'maxLines'. | 46 - 52 |
org/microemu/app/util/AppletProducer.java
| Violation | Line |
|---|
| An empty statement (semicolon) not part of a loop | 178 |
org/microemu/applet/CookieRecordStoreManager.java
| Violation | Line |
|---|
| Avoid unused local variables such as 'format'. | 75 |
| These nested if statements could be combined | 124 - 142 |
| Avoid empty catch blocks | 137 - 138 |
org/microemu/applet/Main.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 117 - 118 |
| Avoid empty catch blocks | 206 - 207 |
| Avoid empty catch blocks | 211 - 212 |
| Avoid empty catch blocks | 229 - 230 |
| Avoid unnecessary return statements | 256 |
org/microemu/device/j2se/J2SEDeviceButtonsHelper.java
| Violation | Line |
|---|
| These nested if statements could be combined | 80 - 82 |
org/microemu/device/j2se/J2SEDeviceDisplay.java
| Violation | Line |
|---|
| Avoid modifying an outer loop incrementer in an inner loop for update expression | 409 - 411 |
org/microemu/device/j2se/J2SEImmutableImage.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 77 - 78 |
| Avoid empty catch blocks | 117 - 118 |
org/microemu/device/j2se/J2SESystemFont.java
| Violation | Line |
|---|
| Avoid empty if statements | 114 - 116 |
org/microemu/device/j2se/J2SETrueTypeFont.java
| Violation | Line |
|---|
| Avoid empty if statements | 119 - 121 |