PMD Results

The following document contains the results of PMD 5.6.1.

Files

me/felinewith/kcpu/KBoard.java

Violation Line
Useless parentheses. 91
Useless parentheses. 95
Useless parentheses. 121
Useless parentheses. 181
Useless parentheses. 181
Useless parentheses. 246
Useless parentheses. 246
Useless parentheses. 247
Useless parentheses. 247
Useless parentheses. 247
Avoid empty if statements 256
Avoid empty if statements 263
Avoid empty catch blocks 295
Avoid empty catch blocks 336
Avoid empty catch blocks 339
Avoid empty catch blocks 360

me/felinewith/kcpu/KMemorySecurity.java

Violation Line
No need to import a type that lives in the same package 3

me/felinewith/kcpu/Kasm.java

Violation Line
Avoid empty catch blocks 119
Avoid empty catch blocks 160
Avoid empty if statements 281
Avoid empty catch blocks 350

me/felinewith/kcpu/Kcpu.java

Violation Line
Avoid unused private fields such as 'settings'. 24
Useless parentheses. 66
Useless parentheses. 87
Avoid empty catch blocks 144
Useless parentheses. 181
Useless parentheses. 182
Useless parentheses. 183
Useless parentheses. 203

me/felinewith/kcpu/Kemulator.java

Violation Line
Avoid empty catch blocks 59
Avoid empty catch blocks 75

me/felinewith/kcpu/interfaces/IDevice.java

Violation Line
Avoid modifiers which are implied by the context 12
Avoid modifiers which are implied by the context 13
Avoid modifiers which are implied by the context 15
Avoid modifiers which are implied by the context 16

me/felinewith/kcpu/interfaces/IMemory.java

Violation Line
Avoid modifiers which are implied by the context 12
Avoid modifiers which are implied by the context 13
Avoid modifiers which are implied by the context 14
Avoid modifiers which are implied by the context 15
Avoid modifiers which are implied by the context 16
Avoid modifiers which are implied by the context 17
Avoid modifiers which are implied by the context 18
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 21

me/felinewith/kcpu/memory/Buffer.java

Violation Line
Avoid empty catch blocks 56
Avoid empty catch blocks 71

me/felinewith/kcpu/opcodes/IOpcodeHandler.java

Violation Line
Avoid modifiers which are implied by the context 10

me/felinewith/kcpu/opcodes/Memory.java

Violation Line
Avoid unused local variables such as 'addr'. 15

me/felinewith/kcpu/opcodes/OpDirector.java

Violation Line
Useless parentheses. 106
Avoid empty catch blocks 115