PMD Results

The following document contains the results of PMD 4.2.5.

Files

cz/cuni/amis/pogamut/shady/engine/ShadeEngine.java

ViolationLine
Avoid unused local variables such as 'call'.51
Avoid unused private fields such as 'name'.127
Avoid unused private fields such as 'ctx'.132

cz/cuni/amis/pogamut/shady/IArgument.java

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

cz/cuni/amis/pogamut/shady/ShadeNode.java

ViolationLine
Avoid unused private fields such as 'descr'.14

cz/cuni/amis/pogamut/shady/ShadyParser.java

ViolationLine
An empty statement (semicolon) not part of a loop25
Do not use if statements that are always true or always false34
An empty statement (semicolon) not part of a loop53
Do not use if statements that are always true or always false61
Do not use if statements that are always true or always false74
Do not use if statements that are always true or always false81
Do not use if statements that are always true or always false94
Do not use if statements that are always true or always false98
Do not use if statements that are always true or always false105
Do not use if statements that are always true or always false111
An empty statement (semicolon) not part of a loop123
Do not use if statements that are always true or always false131
An empty statement (semicolon) not part of a loop143
Do not use if statements that are always true or always false151
Do not use if statements that are always true or always false158
Do not use if statements that are always true or always false165
Do not use if statements that are always true or always false172
Do not use if statements that are always true or always false179
Do not use if statements that are always true or always false186
Do not use if statements that are always true or always false193
Do not use if statements that are always true or always false215
Do not use if statements that are always true or always false219
Do not use if statements that are always true or always false223
Do not use if statements that are always true or always false242
Do not use if statements that are always true or always false253
An empty statement (semicolon) not part of a loop267
Do not use if statements that are always true or always false276
Do not use if statements that are always true or always false286
Do not use if statements that are always true or always false290
Do not use if statements that are always true or always false294
Do not use if statements that are always true or always false298
An empty statement (semicolon) not part of a loop320
Do not use if statements that are always true or always false329
Avoid empty catch blocks602

cz/cuni/amis/pogamut/shady/ShadyParserTokenManager.java

ViolationLine
These nested if statements could be combined218 - 219
Do not start a literal by 0 unless it's an octal value429
Do not start a literal by 0 unless it's an octal value533
Do not start a literal by 0 unless it's an octal value697

cz/cuni/amis/pogamut/shady/TokenMgrError.java

ViolationLine
Overriding method merely calls super124 - 126

cz/cuni/amis/pogamut/sposh/elements/ActionPattern.java

ViolationLine
These nested if statements could be combined169 - 174

cz/cuni/amis/pogamut/sposh/elements/Arguments.java

ViolationLine
These nested if statements could be combined165 - 167

cz/cuni/amis/pogamut/sposh/elements/Competence.java

ViolationLine
These nested if statements could be combined131 - 133

cz/cuni/amis/pogamut/sposh/elements/PoshElement.java

ViolationLine
Avoid unused imports such as 'java.beans.PropertyChangeListener'6

cz/cuni/amis/pogamut/sposh/elements/PoshParser.java

ViolationLine
Do not use if statements that are always true or always false30
Do not use if statements that are always true or always false56
Do not use if statements that are always true or always false67
Do not use if statements that are always true or always false99
Do not use if statements that are always true or always false110
Do not use if statements that are always true or always false160
Do not use if statements that are always true or always false170
Do not use if statements that are always true or always false191
An empty statement (semicolon) not part of a loop219
An empty statement (semicolon) not part of a loop229
Do not use if statements that are always true or always false238
Do not use if statements that are always true or always false254
Do not use if statements that are always true or always false258
Avoid unused local variables such as '_goal'.273
Do not use if statements that are always true or always false277
Do not use if statements that are always true or always false297
Do not use if statements that are always true or always false313
Do not use if statements that are always true or always false325
Do not use if statements that are always true or always false336
Do not use if statements that are always true or always false346
Do not use if statements that are always true or always false360
Do not use if statements that are always true or always false365
Do not use if statements that are always true or always false369
Do not use if statements that are always true or always false383
Do not use if statements that are always true or always false388
Do not use if statements that are always true or always false392
Avoid unused local variables such as 'tg'.403
Avoid unused local variables such as '_comment'.405
An empty statement (semicolon) not part of a loop414
Do not use if statements that are always true or always false422
An empty statement (semicolon) not part of a loop441
Do not use if statements that are always true or always false454
Do not use if statements that are always true or always false458
Do not use if statements that are always true or always false471
Do not use if statements that are always true or always false507
Do not use if statements that are always true or always false517
Do not use if statements that are always true or always false526
An empty statement (semicolon) not part of a loop554
An empty statement (semicolon) not part of a loop564
Do not use if statements that are always true or always false571
Avoid unused local variables such as '_element'.579
An empty statement (semicolon) not part of a loop594
An empty statement (semicolon) not part of a loop603
Do not use if statements that are always true or always false610
Do not use if statements that are always true or always false622
Do not use if statements that are always true or always false626
Avoid unused local variables such as '_solTime'.637
Avoid unused local variables such as '_ap'.638
An empty statement (semicolon) not part of a loop649
Do not use if statements that are always true or always false657
An empty statement (semicolon) not part of a loop725
Do not use if statements that are always true or always false733
Do not use if statements that are always true or always false757
Do not use if statements that are always true or always false768
Do not use if statements that are always true or always false772
Do not use if statements that are always true or always false776
Do not use if statements that are always true or always false780
Do not use if statements that are always true or always false810
Do not use if statements that are always true or always false821
Do not use if statements that are always true or always false825
Do not use if statements that are always true or always false829
Do not use if statements that are always true or always false833
Do not use if statements that are always true or always false837
Do not use if statements that are always true or always false841
Do not use if statements that are always true or always false859
Do not use if statements that are always true or always false871
Do not use if statements that are always true or always false877
An empty statement (semicolon) not part of a loop901
Do not use if statements that are always true or always false908
Do not use if statements that are always true or always false924
Do not use if statements that are always true or always false928
Do not use if statements that are always true or always false949
Do not use if statements that are always true or always false951
An empty statement (semicolon) not part of a loop973
Do not use if statements that are always true or always false975
Do not use if statements that are always true or always false995
An empty statement (semicolon) not part of a loop1001
Do not use if statements that are always true or always false1016
Do not use if statements that are always true or always false1020
Do not use if statements that are always true or always false1044
Do not use if statements that are always true or always false1046
Do not use if statements that are always true or always false1056
Do not use if statements that are always true or always false1067
An empty statement (semicolon) not part of a loop1077
Do not use if statements that are always true or always false1082
Do not use if statements that are always true or always false1084
Do not use if statements that are always true or always false1147
Do not use if statements that are always true or always false1151
Do not use if statements that are always true or always false1155
Do not use if statements that are always true or always false1159
Do not use if statements that are always true or always false1163
Do not use if statements that are always true or always false1167

cz/cuni/amis/pogamut/sposh/elements/PoshParserTokenManager.java

ViolationLine
Do not start a literal by 0 unless it's an octal value839
These nested if statements could be combined891 - 892
Do not start a literal by 0 unless it's an octal value1007
Do not start a literal by 0 unless it's an octal value1179
Do not start a literal by 0 unless it's an octal value1187

cz/cuni/amis/pogamut/sposh/elements/PoshPlan.java

ViolationLine
These nested if statements could be combined340 - 342
These nested if statements could be combined347 - 349
These nested if statements could be combined368 - 370
These nested if statements could be combined375 - 377

cz/cuni/amis/pogamut/sposh/elements/Result.java

ViolationLine
Avoid empty catch blocks100 - 101
Avoid empty catch blocks105 - 106

cz/cuni/amis/pogamut/sposh/elements/TokenMgrError.java

ViolationLine
Overriding method merely calls super124 - 126

cz/cuni/amis/pogamut/sposh/engine/CExecutor.java

ViolationLine
Avoid unused imports such as 'java.util.Collections'6

cz/cuni/amis/pogamut/sposh/engine/SenseExecutor.java

ViolationLine
Avoid unused local variables such as 'comparison'.124

cz/cuni/amis/pogamut/sposh/engine/SenseListExecutor.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.Sense.SenseCall'5

cz/cuni/amis/pogamut/sposh/executor/StateSense.java

ViolationLine
Avoid unused private fields such as 'name'.14