The following document contains the results of PMD 5.6.1.
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
| Overriding method merely calls super | 44–46 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
| Overriding method merely calls super | 44–46 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
| Overriding method merely calls super | 44–46 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
| Overriding method merely calls super | 44–46 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Hashtable' | 23 |
| Avoid unused imports such as 'java.util.ArrayList' | 24 |
| Avoid unused imports such as 'java.util.List' | 25 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.middleware.container.utils.LogUtils' | 25 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.ontology.phThing.Device' | 25 |
| Violation | Line |
|---|---|
| Useless parentheses. | 60 |
| Violation | Line |
|---|---|
| Useless parentheses. | 56 |
| Violation | Line |
|---|---|
| Useless parentheses. | 87 |
| Violation | Line |
|---|---|
| Useless parentheses. | 186 |
| Useless parentheses. | 206 |
| These nested if statements could be combined | 420–421 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 42–44 |
| Overriding method merely calls super | 46–48 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 44–46 |
| Overriding method merely calls super | 48–50 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 48–50 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 42–44 |
| Overriding method merely calls super | 46–48 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 50–52 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 42–44 |
| Overriding method merely calls super | 46–48 |
| Violation | Line |
|---|---|
| Ternary operators that can be simplified with || or && | 77 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 81 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 42–44 |
| Overriding method merely calls super | 46–48 |
| Violation | Line |
|---|---|
| Ternary operators that can be simplified with || or && | 62 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 66 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 26 |
| Overriding method merely calls super | 51–54 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 26 |
| Violation | Line |
|---|---|
| Useless parentheses. | 85 |
| Violation | Line |
|---|---|
| Ternary operators that can be simplified with || or && | 127 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 79 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 75 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.middleware.owl.supply.LevelRating' | 18 |
| Violation | Line |
|---|---|
| Useless parentheses. | 77 |
| Useless parentheses. | 82 |
| Useless parentheses. | 83 |
| Useless parentheses. | 88 |
| Useless parentheses. | 93 |
| Violation | Line |
|---|---|
| Useless parentheses. | 163 |
| Useless parentheses. | 168 |
| Violation | Line |
|---|---|
| Useless parentheses. | 67 |
| Violation | Line |
|---|---|
| Useless parentheses. | 98–99 |
| Violation | Line |
|---|---|
| Useless parentheses. | 50 |
| Useless parentheses. | 50 |
| Violation | Line |
|---|---|
| Useless parentheses. | 53 |
| Useless parentheses. | 53 |
| Violation | Line |
|---|---|
| Ternary operators that can be simplified with || or && | 110 |
| Ternary operators that can be simplified with || or && | 128 |
| Violation | Line |
|---|---|
| Useless parentheses. | 105 |
| Useless parentheses. | 164–165 |
| Violation | Line |
|---|---|
| Useless parentheses. | 64 |
| Violation | Line |
|---|---|
| Useless parentheses. | 225 |
| Violation | Line |
|---|---|
| Useless parentheses. | 72 |
| Useless parentheses. | 121 |
| Useless parentheses. | 220 |
| Useless parentheses. | 220 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'sortByDistance(JgclPoint3D,JgclPoint3D)'. | 153 |
| Violation | Line |
|---|---|
| Useless parentheses. | 104 |
| Violation | Line |
|---|---|
| Useless parentheses. | 96–97 |
| Useless parentheses. | 195 |
| Useless parentheses. | 195 |
| Violation | Line |
|---|---|
| Useless parentheses. | 140 |
| Violation | Line |
|---|---|
| Useless parentheses. | 55 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.ontology.health.owl.TakeMeasurementActivity' | 33 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.ontology.profile.User' | 54 |
| Unnecessary use of fully qualified name 'org.universAAL.ontology.profile.Caregiver.MY_URI' due to existing import 'org.universAAL.ontology.profile.Caregiver' | 507 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.ontology.measurement.Measurement' | 20 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 81 |
| Violation | Line |
|---|---|
| Ternary operators that can be simplified with || or && | 98 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'stTime'. | 39 |
| Avoid unused constructor parameters such as 'duration'. | 39 |
| Avoid unused constructor parameters such as 'performed'. | 40 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 81 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'assistedPerson'. | 61 |
| Avoid unused constructor parameters such as 'description'. | 61 |
| Avoid unused constructor parameters such as 'assistedPerson'. | 86 |
| Avoid unused constructor parameters such as 'description'. | 87 |
| Avoid unused constructor parameters such as 'description'. | 137 |
| Avoid unused constructor parameters such as 'description'. | 160 |
| Useless parentheses. | 331 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'recurrence'. | 44 |
| Violation | Line |
|---|---|
| Useless parentheses. | 53 |
| Violation | Line |
|---|---|
| Useless parentheses. | 62 |
| Violation | Line |
|---|---|
| Useless parentheses. | 62 |
| Violation | Line |
|---|---|
| Useless parentheses. | 56 |
| Violation | Line |
|---|---|
| Useless parentheses. | 66 |
| Violation | Line |
|---|---|
| Useless parentheses. | 485 |
| Violation | Line |
|---|---|
| Ternary operators that can be simplified with || or && | 160 |
| Useless parentheses. | 337 |
| Violation | Line |
|---|---|
| Ternary operators that can be simplified with || or && | 205 |
| Useless parentheses. | 581 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 45–48 |
| Overriding method merely calls super | 50–52 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 55–57 |
| Overriding method merely calls super | 59–61 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 79–82 |
| Overriding method merely calls super | 84–86 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 54–57 |
| Overriding method merely calls super | 59–61 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 45–48 |
| Overriding method merely calls super | 50–52 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 54–56 |
| Overriding method merely calls super | 58–60 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 79–82 |
| Overriding method merely calls super | 84–86 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 54–57 |
| Overriding method merely calls super | 59–61 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.ArrayList' | 18 |
| Avoid unused imports such as 'java.util.Collection' | 19 |
| Avoid unused imports such as 'java.util.List' | 20 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 55–57 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 55–57 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 55–57 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 53–55 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'addDefaultAccessRight()'. | 67 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 51–53 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 45–47 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 45–47 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 51–53 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 46–48 |
| Overriding method merely calls super | 51–53 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 45–47 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 54–56 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 25 |
| Overriding method merely calls super | 67–69 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 59–61 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 66–68 |
| Violation | Line |
|---|---|
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 65 |
| Violation | Line |
|---|---|
| Useless parentheses. | 75 |
| Violation | Line |
|---|---|
| Useless parentheses. | 198 |
| Useless parentheses. | 210 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 49–51 |
| Overriding method merely calls super | 53–55 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 49–51 |
| Overriding method merely calls super | 53–55 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 49–51 |
| Overriding method merely calls super | 53–55 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 53–55 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 59–61 |