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 local variables such as 'call'. | 46 |
Avoid unused private fields such as 'name'. | 130 |
Avoid unused private fields such as 'ctx'. | 135 |
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 imports such as 'cz.cuni.amis.pogamut.sposh.exceptions.MissingParameterException' | 7 |
These nested if statements could be combined | 174 - 176 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.Arguments.Argument' | 3 |
Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.exceptions.MissingParameterException' | 7 |
These nested if statements could be combined | 78 - 80 |
Violation | Line |
---|---|
These nested if statements could be combined | 189 - 191 |
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 | 539 - 541 |
These nested if statements could be combined | 546 - 548 |
These nested if statements could be combined | 580 - 582 |
These nested if statements could be combined | 587 - 589 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.executor.ParamInfo' | 4 |
Avoid unused imports such as 'java.util.regex.Matcher' | 6 |
Avoid unused imports such as 'java.util.regex.Pattern' | 7 |
Avoid empty catch blocks | 111 - 112 |
Avoid empty catch blocks | 116 - 117 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.exceptions.InvalidFormatException' | 6 |
Violation | Line |
---|---|
Avoid unused local variables such as 'removed'. | 188 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.exceptions.FubarException' | 11 |
Avoid unused method parameters such as 'plan'. | 117 - 132 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.exceptions.FubarException' | 5 |
Violation | Line |
---|---|
Avoid unused private fields such as 'competence'. | 17 |
Avoid unused private fields such as 'choice'. | 18 |
Violation | Line |
---|---|
Avoid unused local variables such as 'resultType'. | 138 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 89 - 92 |
Unnecessary final modifier in final class | 161 - 163 |
Unnecessary final modifier in final class | 170 - 172 |
Violation | Line |
---|---|
Avoid unused local variables such as 'comparison'. | 127 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.logging.Logger' | 14 |
Violation | Line |
---|---|
Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.elements.Result' | 4 |
Avoid unused imports such as 'cz.cuni.amis.pogamut.sposh.exceptions.FubarException' | 5 |
Avoid unused imports such as 'java.util.Arrays' | 6 |
Avoid unused imports such as 'java.util.HashSet' | 7 |
Avoid unused imports such as 'java.util.Set' | 8 |
Avoid unused imports such as 'java.util.logging.Level' | 9 |
Avoid unused imports such as 'java.util.logging.Logger' | 10 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.lang.reflect.Field' | 8 |
Avoid unused imports such as 'java.util.logging.Level' | 14 |
Avoid unused imports such as 'java.util.logging.Logger' | 15 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 3 |
No need to import a type that lives in the same package | 4 |
No need to import a type that lives in the same package | 5 |
No need to import a type that lives in the same package | 6 |
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 | 385 |
Do not use if statements that are always true or always false | 395 |
Do not use if statements that are always true or always false | 411 |
Do not use if statements that are always true or always false | 416 |
Do not use if statements that are always true or always false | 420 |
Do not use if statements that are always true or always false | 435 |
Do not use if statements that are always true or always false | 440 |
Do not use if statements that are always true or always false | 444 |
Avoid unused local variables such as '_comment'. | 456 |
An empty statement (semicolon) not part of a loop | 465 |
Do not use if statements that are always true or always false | 473 |
An empty statement (semicolon) not part of a loop | 492 |
Do not use if statements that are always true or always false | 505 |
Do not use if statements that are always true or always false | 509 |
Do not use if statements that are always true or always false | 522 |
Do not use if statements that are always true or always false | 558 |
Do not use if statements that are always true or always false | 568 |
Do not use if statements that are always true or always false | 577 |
An empty statement (semicolon) not part of a loop | 605 |
An empty statement (semicolon) not part of a loop | 615 |
Do not use if statements that are always true or always false | 622 |
Avoid unused local variables such as '_element'. | 630 |
An empty statement (semicolon) not part of a loop | 645 |
Do not use if statements that are always true or always false | 651 |
Do not use if statements that are always true or always false | 663 |
Do not use if statements that are always true or always false | 667 |
Do not use if statements that are always true or always false | 682 |
Do not use if statements that are always true or always false | 686 |
An empty statement (semicolon) not part of a loop | 707 |
Do not use if statements that are always true or always false | 715 |
An empty statement (semicolon) not part of a loop | 735 |
Do not use if statements that are always true or always false | 745 |
Avoid unused local variables such as '_actList'. | 756 |
An empty statement (semicolon) not part of a loop | 764 |
Do not use if statements that are always true or always false | 794 |
Do not use if statements that are always true or always false | 805 |
Do not use if statements that are always true or always false | 809 |
Do not use if statements that are always true or always false | 813 |
Do not use if statements that are always true or always false | 817 |
Do not use if statements that are always true or always false | 847 |
Do not use if statements that are always true or always false | 858 |
Do not use if statements that are always true or always false | 862 |
Do not use if statements that are always true or always false | 866 |
Do not use if statements that are always true or always false | 870 |
Do not use if statements that are always true or always false | 874 |
Do not use if statements that are always true or always false | 878 |
Do not use if statements that are always true or always false | 897 |
Do not use if statements that are always true or always false | 910 |
Do not use if statements that are always true or always false | 916 |
An empty statement (semicolon) not part of a loop | 940 |
Do not use if statements that are always true or always false | 947 |
Do not use if statements that are always true or always false | 963 |
Do not use if statements that are always true or always false | 967 |
Do not use if statements that are always true or always false | 988 |
Do not use if statements that are always true or always false | 990 |
An empty statement (semicolon) not part of a loop | 1012 |
Do not use if statements that are always true or always false | 1014 |
Do not use if statements that are always true or always false | 1034 |
An empty statement (semicolon) not part of a loop | 1040 |
Do not use if statements that are always true or always false | 1055 |
Do not use if statements that are always true or always false | 1059 |
Do not use if statements that are always true or always false | 1086 |
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 | 1098 |
Do not use if statements that are always true or always false | 1110 |
An empty statement (semicolon) not part of a loop | 1120 |
Do not use if statements that are always true or always false | 1127 |
Do not use if statements that are always true or always false | 1129 |
Do not use if statements that are always true or always false | 1193 |
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 |
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 | 884 |
These nested if statements could be combined | 900 - 901 |
Do not start a literal by 0 unless it's an octal value | 1062 |
Do not start a literal by 0 unless it's an octal value | 1235 |
Do not start a literal by 0 unless it's an octal value | 1243 |