The following document contains the results of PMD 5.6.1.
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.middleware.owl.MergedRestriction' | 25 |
| Avoid unused imports such as 'org.universAAL.ontology.cryptographic.MultidestinationEncryptedResource' | 39 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.middleware.xsd.util.Base64' | 29 |
| Avoid unused method parameters such as 'digestAlgorithm'. | 102 |
| Avoid unused method parameters such as 'password'. | 102 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 220–225 |
| Violation | Line |
|---|---|
| Method call on object which may be null | 90–98 |
| An operation on an Immutable object (String, BigDecimal or BigInteger) wont change the object itself | 109 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 33 |
| Avoid unused method parameters such as 'delegationForm'. | 90 |
| Violation | Line |
|---|---|
| Useless parentheses. | 244 |
| Useless parentheses. | 244 |
| Avoid unused private methods such as 'updateProperty(Resource,String)'. | 272 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'addTriple(Resource,String)'. | 267 |
| Avoid unused private methods such as 'removeTriple(Resource,String,Resource)'. | 290 |
| Avoid unused private methods such as 'updateObject(Resource)'. | 334 |
| Avoid unused local variables such as 'res'. | 366 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 117–122 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.middleware.service.owls.profile.ResponseTimeInMilliseconds' | 11 |
| Violation | Line |
|---|---|
| Avoid modifiers which are implied by the context | 31 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'PROCESS_INPUT'. | 53 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.ontology.cryptographic.Encryption' | 27 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.ontology.cryptographic.EncryptionKey' | 44 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'mderCallee'. | 30 |
| Violation | Line |
|---|---|
| Useless parentheses. | 81 |
| Violation | Line |
|---|---|
| Avoid modifiers which are implied by the context | 35 |
| Avoid modifiers which are implied by the context | 37 |
| Avoid modifiers which are implied by the context | 39 |
| Avoid modifiers which are implied by the context | 41 |
| Avoid modifiers which are implied by the context | 43 |
| Avoid modifiers which are implied by the context | 45 |
| Avoid modifiers which are implied by the context | 47 |
| Avoid modifiers which are implied by the context | 49 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 94–99 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.middleware.rdf.Resource' | 27 |