PMD Results

The following document contains the results of PMD 4.2.5.

Files

nanoxml/XMLElement.java

ViolationLine
Avoid empty catch blocks2070 - 2072
Avoid empty catch blocks2200 - 2202
Avoid empty catch blocks2291 - 2293

org/microemu/app/Common.java

ViolationLine
Avoid empty while statements539
Avoid empty catch blocks713 - 714
Avoid empty catch blocks827 - 828
Avoid empty if statements868 - 870

org/microemu/app/Config.java

ViolationLine
An empty statement (semicolon) not part of a loop291

org/microemu/app/classloader/ExtensionsClassLoader.java

ViolationLine
Overriding method merely calls super61 - 63

org/microemu/app/classloader/MIDletClassLoader.java

ViolationLine
Avoid empty catch blocks424 - 425

org/microemu/app/ui/Message.java

ViolationLine
An empty statement (semicolon) not part of a loop130

org/microemu/app/util/BuildVersion.java

ViolationLine
Avoid empty catch blocks54 - 55
Avoid empty catch blocks70 - 71

org/microemu/app/util/DeviceEntry.java

ViolationLine
Avoid unused private fields such as 'className'.44
Avoid unused private fields such as 'emulatorContext'.49

org/microemu/app/util/FileRecordStoreManager.java

ViolationLine
These nested if statements could be combined304 - 306

org/microemu/app/util/IOUtils.java

ViolationLine
Avoid empty catch blocks114 - 116
Avoid empty catch blocks132 - 134
Avoid empty catch blocks150 - 152

org/microemu/app/util/MIDletClassLoader.java

ViolationLine
Avoid unused imports such as 'java.io.ByteArrayInputStream'27
Avoid unused imports such as 'java.io.File'28
Avoid unused imports such as 'java.io.FileInputStream'29
Avoid unused imports such as 'java.io.IOException'30
Avoid unused imports such as 'java.io.InputStream'31
Avoid unused imports such as 'java.net.MalformedURLException'32
Avoid unused imports such as 'java.net.URL'33
Avoid unused imports such as 'java.net.URLConnection'34
Avoid unused imports such as 'java.util.Enumeration'35
Avoid unused imports such as 'java.util.Hashtable'36
Avoid unused imports such as 'java.util.NoSuchElementException'37
Avoid unused imports such as 'java.util.jar.JarEntry'38
Avoid unused imports such as 'java.util.jar.JarInputStream'39

org/microemu/app/util/MIDletOutputStreamRedirector.java

ViolationLine
Overriding method merely calls super105 - 107
Overriding method merely calls super109 - 111
Overriding method merely calls super113 - 115
Overriding method merely calls super117 - 119
Overriding method merely calls super121 - 123
Overriding method merely calls super125 - 127
Overriding method merely calls super129 - 131
Overriding method merely calls super133 - 135
Overriding method merely calls super137 - 139
Overriding method merely calls super141 - 143
Overriding method merely calls super145 - 147
Overriding method merely calls super149 - 151
Overriding method merely calls super153 - 155
Overriding method merely calls super157 - 159
Overriding method merely calls super161 - 163
Overriding method merely calls super165 - 167
Overriding method merely calls super169 - 171
Overriding method merely calls super203 - 205

org/microemu/app/util/MIDletThread.java

ViolationLine
An empty statement (semicolon) not part of a loop165

org/microemu/app/util/MIDletTimer.java

ViolationLine
Avoid unused method parameters such as 'fixedRate'.190 - 198

org/microemu/app/util/MidletURLReference.java

ViolationLine
Ensure you override both equals() and hashCode()63

org/microemu/app/util/RuntimeDetect.java

ViolationLine
Avoid empty catch blocks61 - 62
Avoid empty catch blocks70 - 71

org/microemu/app/util/SystemClassLoader.java

ViolationLine
Avoid unused imports such as 'java.net.URL'27

org/microemu/device/impl/ButtonName.java

ViolationLine
Avoid empty catch blocks103 - 104
Avoid empty catch blocks104 - 105
Avoid empty catch blocks123 - 125

org/microemu/device/impl/DeviceImpl.java

ViolationLine
These nested if statements could be combined409 - 426
Avoid unused private methods such as 'saveDevice(XMLElement)'.691

org/microemu/device/impl/InputMethodImpl.java

ViolationLine
These nested if statements could be combined209 - 212

org/microemu/log/Logger.java

ViolationLine
These nested if statements could be combined122 - 124
An empty statement (semicolon) not part of a loop302
Avoid empty catch blocks347 - 348
Avoid empty catch blocks376 - 377

org/microemu/util/JadProperties.java

ViolationLine
Avoid empty catch blocks112 - 113
Avoid empty catch blocks126 - 127
Avoid empty catch blocks194 - 196