The following document contains the results of PMD 4.2.2.
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 182 |
Violation | Line |
---|---|
Avoid empty catch blocks | 90 - 92 |
Violation | Line |
---|---|
Avoid empty catch blocks | 90 - 92 |
Violation | Line |
---|---|
These nested if statements could be combined | 169 - 170 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'map'. | 54 - 57 |
Avoid unnecessary return statements | 269 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 41 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 95 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 42 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 42 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 41 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 155 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 68 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.omwg.ontology.ComplexDataType' | 30 |
Avoid duplicate imports such as 'org.omwg.ontology.SimpleDataType' | 31 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'v'. | 129 - 211 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'factory'. | 53 - 59 |
Ensure you override both equals() and hashCode() | 197 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 197 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 324 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 87 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 225 |
Violation | Line |
---|---|
These nested if statements could be combined | 146 - 149 |
Ensure you override both equals() and hashCode() | 165 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.openrdf.model.Value' | 29 |
Avoid duplicate imports such as 'org.wsmo.common.Namespace' | 40 |
Avoid unused local variables such as 'v'. | 768 |
Avoid empty if statements | 795 - 796 |
An empty statement (semicolon) not part of a loop | 1069 |
Avoid empty catch blocks | 1311 - 1313 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.wsmo.validator.ValidationError' | 36 |
Avoid unused imports such as 'org.wsmo.validator.ValidationWarning' | 37 |
Avoid empty catch blocks | 166 - 168 |
Avoid empty catch blocks | 171 - 173 |
Violation | Line |
---|---|
Avoid unused private fields such as 'factory'. | 44 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'props'. | 41 - 43 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'map'. | 60 - 61 |
Avoid unnecessary return statements | 140 |
Avoid unnecessary return statements | 144 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 378 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 48 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 44 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 120 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 48 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 123 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 44 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 86 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 103 |
Violation | Line |
---|---|
Avoid empty catch blocks | 115 |
Violation | Line |
---|---|
These nested if statements could be combined | 172 - 178 |
Violation | Line |
---|---|
These nested if statements could be combined | 590 - 593 |
Avoid unused method parameters such as 'concept'. | 671 - 688 |
Avoid unused method parameters such as 'statement'. | 893 - 902 |
Avoid empty if statements | 896 - 898 |
Violation | Line |
---|---|
Overriding method merely calls super | 77 - 79 |
Violation | Line |
---|---|
Overriding method merely calls super | 108 - 110 |
Violation | Line |
---|---|
Avoid unused private fields such as 'container'. | 48 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.omwg.ontology.Axiom' | 25 |
Avoid empty catch blocks | 182 - 184 |
Avoid empty catch blocks | 188 - 190 |
Avoid unused local variables such as 'preprevious'. | 267 |
Avoid unused local variables such as 'str'. | 313 |
Violation | Line |
---|---|
Avoid unused private fields such as 'container'. | 41 |
Avoid unused private fields such as 'terms'. | 43 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.openrdf.model.Value' | 26 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.openrdf.vocabulary.RDF' | 24 |
Avoid unused imports such as 'org.openrdf.vocabulary.RDFS' | 25 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.openrdf.model.Value' | 26 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.openrdf.model.Value' | 24 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.openrdf.model.Value' | 24 |
Violation | Line |
---|---|
Avoid empty if statements | 37 - 38 |
Avoid empty if statements | 39 - 40 |
Avoid empty if statements | 41 - 42 |
Violation | Line |
---|---|
Avoid unnecessary return statements | 196 |
Avoid unnecessary return statements | 200 |
Violation | Line |
---|---|
Avoid empty catch blocks | 65 - 68 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.omwg.ontology.Parameter' | 26 |
Avoid unused local variables such as 'infix'. | 62 |
Avoid unused local variables such as 'key'. | 151 |
Avoid unused local variables such as 'n'. | 381 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.omwg.logicalexpression.terms.Visitor' | 26 |
Avoid unused local variables such as 'iri'. | 156 |
These nested if statements could be combined | 265 - 266 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.omwg.logicalexpression.terms.Visitor' | 25 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.omwg.logicalexpression.Visitor' | 22 |
Ensure you override both equals() and hashCode() | 60 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.omwg.logicalexpression.Visitor' | 21 |
Ensure you override both equals() and hashCode() | 59 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.omwg.logicalexpression.Visitor' | 22 |
Ensure you override both equals() and hashCode() | 60 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 82 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.omwg.logicalexpression.Visitor' | 25 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 60 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 57 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 61 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 60 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 66 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 60 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 60 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 60 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.omwg.logicalexpression.Visitor' | 21 |
Ensure you override both equals() and hashCode() | 54 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 57 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 57 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.omwg.logicalexpression.Visitor' | 21 |
Ensure you override both equals() and hashCode() | 50 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 79 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 67 |
Violation | Line |
---|---|
These nested if statements could be combined | 111 - 113 |
These nested if statements could be combined | 146 - 148 |
These nested if statements could be combined | 194 - 195 |
Violation | Line |
---|---|
Overriding method merely calls super | 114 - 116 |
Violation | Line |
---|---|
Overriding method merely calls super | 138 - 140 |
Violation | Line |
---|---|
Overriding method merely calls super | 102 - 104 |
Violation | Line |
---|---|
These nested if statements could be combined | 227 - 231 |
These nested if statements could be combined | 245 - 249 |
These nested if statements could be combined | 319 - 323 |
These nested if statements could be combined | 366 - 370 |
These nested if statements could be combined | 867 - 870 |
These nested if statements could be combined | 927 - 931 |
Avoid unused method parameters such as 'v'. | 1159 - 1166 |
Avoid unused method parameters such as 'checkList'. | 1159 - 1166 |
Avoid unused method parameters such as 'from'. | 1159 - 1166 |
Violation | Line |
---|---|
Overriding method merely calls super | 103 - 107 |
Overriding method merely calls super | 114 - 118 |
Overriding method merely calls super | 125 - 129 |
Overriding method merely calls super | 138 - 143 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.omwg.logicalexpression.Visitor' | 25 |
These nested if statements could be combined | 243 - 247 |
These nested if statements could be combined | 287 - 291 |
These nested if statements could be combined | 408 - 416 |
These nested if statements could be combined | 543 - 553 |
These nested if statements could be combined | 1097 - 1100 |
These nested if statements could be combined | 1142 - 1145 |
Avoid unused method parameters such as 'v'. | 1450 - 1457 |
Avoid unused method parameters such as 'checkList'. | 1450 - 1457 |
Avoid unused method parameters such as 'from'. | 1450 - 1457 |
Violation | Line |
---|---|
These nested if statements could be combined | 474 - 476 |
These nested if statements could be combined | 509 - 520 |
These nested if statements could be combined | 539 - 550 |
Violation | Line |
---|---|
Overriding method merely calls super | 79 - 81 |
Overriding method merely calls super | 88 - 90 |
Overriding method merely calls super | 97 - 99 |
Overriding method merely calls super | 108 - 111 |
Violation | Line |
---|---|
These nested if statements could be combined | 117 - 121 |