The following document contains the results of PMD 4.2.5.
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 31 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'descr'. | 14 |
| Violation | Line |
|---|---|
| An empty statement (semicolon) not part of a loop | 25 |
| Do not use if statements that are always true or always false | 34 |
| An empty statement (semicolon) not part of a loop | 53 |
| Do not use if statements that are always true or always false | 61 |
| Do not use if statements that are always true or always false | 74 |
| Do not use if statements that are always true or always false | 81 |
| Do not use if statements that are always true or always false | 94 |
| Do not use if statements that are always true or always false | 98 |
| Do not use if statements that are always true or always false | 105 |
| Do not use if statements that are always true or always false | 111 |
| An empty statement (semicolon) not part of a loop | 123 |
| Do not use if statements that are always true or always false | 131 |
| An empty statement (semicolon) not part of a loop | 143 |
| Do not use if statements that are always true or always false | 151 |
| Do not use if statements that are always true or always false | 158 |
| Do not use if statements that are always true or always false | 165 |
| Do not use if statements that are always true or always false | 172 |
| Do not use if statements that are always true or always false | 179 |
| Do not use if statements that are always true or always false | 186 |
| Do not use if statements that are always true or always false | 193 |
| Do not use if statements that are always true or always false | 215 |
| Do not use if statements that are always true or always false | 219 |
| Do not use if statements that are always true or always false | 223 |
| Do not use if statements that are always true or always false | 242 |
| Do not use if statements that are always true or always false | 253 |
| An empty statement (semicolon) not part of a loop | 267 |
| Do not use if statements that are always true or always false | 276 |
| Do not use if statements that are always true or always false | 286 |
| Do not use if statements that are always true or always false | 290 |
| Do not use if statements that are always true or always false | 294 |
| Do not use if statements that are always true or always false | 298 |
| An empty statement (semicolon) not part of a loop | 320 |
| Do not use if statements that are always true or always false | 329 |
| Avoid empty catch blocks | 602 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 218 - 219 |
| Do not start a literal by 0 unless it's an octal value | 429 |
| Do not start a literal by 0 unless it's an octal value | 533 |
| Do not start a literal by 0 unless it's an octal value | 697 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 124 - 126 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'call'. | 51 |
| Avoid unused private fields such as 'name'. | 135 |
| Avoid unused private fields such as 'ctx'. | 140 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 174 - 176 |
| These nested if statements could be combined | 300 - 302 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 64 - 66 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 236 - 238 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 170 - 172 |
| These nested if statements could be combined | 259 - 261 |
| Unnecessary final modifier in final class | 279 - 300 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.exceptions.UnexpectedElementException' | 5 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.ArrayList' | 5 |
| Avoid unused imports such as 'java.util.Collection' | 7 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.awt.Desktop' | 3 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'getReachableActionNames()'. | 87 |
| Avoid unused method parameters such as 'c'. | 107 - 109 |
| Avoid unused method parameters such as 'ap'. | 111 - 113 |
| These nested if statements could be combined | 515 - 517 |
| These nested if statements could be combined | 522 - 524 |
| These nested if statements could be combined | 556 - 558 |
| These nested if statements could be combined | 563 - 565 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.logging.Level' | 5 |
| Avoid unused imports such as 'java.util.logging.Logger' | 6 |
| Avoid empty catch blocks | 107 - 108 |
| Avoid empty catch blocks | 112 - 113 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.exceptions.InvalidFormatException' | 3 |
| Avoid unused imports such as 'java.util.LinkedList' | 8 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'removed'. | 188 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.engine.VariableContext' | 3 |
| Avoid unused imports such as 'java.util.LinkedList' | 12 |
| Avoid unused imports such as 'java.util.logging.Level' | 13 |
| Avoid unused imports such as 'java.util.logging.Logger' | 14 |
| Avoid unused private methods such as 'getElementParameters(PoshElement)'. | 128 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.Competence' | 6 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.engine.FireResult.Type' | 11 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.engine.FireResult.Type' | 6 |
| Avoid unused private fields such as 'runningOnceResult'. | 19 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.ActionPattern' | 5 |
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.Adopt' | 6 |
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.Competence' | 7 |
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.TriggeredAction' | 11 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Collections' | 7 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.ActionPattern' | 7 |
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.Competence' | 8 |
| Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.TriggeredAction' | 13 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Set' | 7 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'comparison'. | 125 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.logging.Level' | 12 |
| Avoid unused imports such as 'java.util.logging.Logger' | 13 |
| Violation | Line |
|---|---|
| Do not use if statements that are always true or always false | 53 |
| Avoid unused local variables such as 'dc'. | 64 |
| Do not use if statements that are always true or always false | 122 |
| Do not use if statements that are always true or always false | 133 |
| Do not use if statements that are always true or always false | 144 |
| Do not use if statements that are always true or always false | 194 |
| Do not use if statements that are always true or always false | 204 |
| Do not use if statements that are always true or always false | 214 |
| An empty statement (semicolon) not part of a loop | 264 |
| An empty statement (semicolon) not part of a loop | 274 |
| Do not use if statements that are always true or always false | 319 |
| Do not use if statements that are always true or always false | 342 |
| Do not use if statements that are always true or always false | 361 |
| Do not use if statements that are always true or always false | 373 |
| Do not use if statements that are always true or always false | 386 |
| Do not use if statements that are always true or always false | 396 |
| Do not use if statements that are always true or always false | 412 |
| Do not use if statements that are always true or always false | 417 |
| Do not use if statements that are always true or always false | 421 |
| Do not use if statements that are always true or always false | 436 |
| Do not use if statements that are always true or always false | 441 |
| Do not use if statements that are always true or always false | 445 |
| Avoid unused local variables such as '_comment'. | 457 |
| An empty statement (semicolon) not part of a loop | 466 |
| Do not use if statements that are always true or always false | 474 |
| An empty statement (semicolon) not part of a loop | 493 |
| Do not use if statements that are always true or always false | 506 |
| Do not use if statements that are always true or always false | 510 |
| Do not use if statements that are always true or always false | 523 |
| Do not use if statements that are always true or always false | 559 |
| Do not use if statements that are always true or always false | 569 |
| Do not use if statements that are always true or always false | 578 |
| An empty statement (semicolon) not part of a loop | 606 |
| An empty statement (semicolon) not part of a loop | 616 |
| Do not use if statements that are always true or always false | 623 |
| Avoid unused local variables such as '_element'. | 631 |
| An empty statement (semicolon) not part of a loop | 646 |
| Do not use if statements that are always true or always false | 652 |
| Do not use if statements that are always true or always false | 664 |
| Do not use if statements that are always true or always false | 668 |
| Do not use if statements that are always true or always false | 683 |
| Do not use if statements that are always true or always false | 687 |
| An empty statement (semicolon) not part of a loop | 708 |
| Do not use if statements that are always true or always false | 716 |
| An empty statement (semicolon) not part of a loop | 736 |
| Do not use if statements that are always true or always false | 746 |
| Avoid unused local variables such as '_actList'. | 757 |
| An empty statement (semicolon) not part of a loop | 765 |
| Do not use if statements that are always true or always false | 795 |
| Do not use if statements that are always true or always false | 806 |
| Do not use if statements that are always true or always false | 810 |
| Do not use if statements that are always true or always false | 814 |
| Do not use if statements that are always true or always false | 818 |
| Do not use if statements that are always true or always false | 848 |
| Do not use if statements that are always true or always false | 859 |
| Do not use if statements that are always true or always false | 863 |
| Do not use if statements that are always true or always false | 867 |
| Do not use if statements that are always true or always false | 871 |
| Do not use if statements that are always true or always false | 875 |
| Do not use if statements that are always true or always false | 879 |
| Do not use if statements that are always true or always false | 898 |
| Do not use if statements that are always true or always false | 911 |
| Do not use if statements that are always true or always false | 917 |
| An empty statement (semicolon) not part of a loop | 941 |
| Do not use if statements that are always true or always false | 948 |
| Do not use if statements that are always true or always false | 964 |
| Do not use if statements that are always true or always false | 968 |
| Do not use if statements that are always true or always false | 989 |
| Do not use if statements that are always true or always false | 991 |
| An empty statement (semicolon) not part of a loop | 1013 |
| Do not use if statements that are always true or always false | 1015 |
| Do not use if statements that are always true or always false | 1035 |
| An empty statement (semicolon) not part of a loop | 1041 |
| Do not use if statements that are always true or always false | 1056 |
| Do not use if statements that are always true or always false | 1060 |
| Do not use if statements that are always true or always false | 1088 |
| Do not use if statements that are always true or always false | 1090 |
| Do not use if statements that are always true or always false | 1100 |
| Do not use if statements that are always true or always false | 1113 |
| An empty statement (semicolon) not part of a loop | 1123 |
| Do not use if statements that are always true or always false | 1130 |
| Do not use if statements that are always true or always false | 1132 |
| Do not use if statements that are always true or always false | 1197 |
| Do not use if statements that are always true or always false | 1201 |
| Do not use if statements that are always true or always false | 1205 |
| Do not use if statements that are always true or always false | 1209 |
| Do not use if statements that are always true or always false | 1213 |
| Do not use if statements that are always true or always false | 1217 |
| Do not use if statements that are always true or always false | 1221 |
| Do not use if statements that are always true or always false | 1225 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'cz.cuni.amis.pogamut.shady.ArgString' | 3 |
| Avoid unused imports such as 'java.util.Collections' | 4 |
| Avoid unused imports such as 'java.util.LinkedList' | 5 |
| Avoid unused imports such as 'java.util.List' | 6 |
| Do not start a literal by 0 unless it's an octal value | 887 |
| These nested if statements could be combined | 909 - 910 |
| Do not start a literal by 0 unless it's an octal value | 1084 |
| Do not start a literal by 0 unless it's an octal value | 1257 |
| Do not start a literal by 0 unless it's an octal value | 1265 |