PMD Results

The following document contains the results of PMD 5.6.1.

Files

universAAL Ontology x73 devices - org/universAAL/ontology/X73/AbsoluteTimeStamp.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/BloodPressureDia.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/BloodPressureMonitor.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/BloodPressureSys.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/BodyWeight.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/MDS.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/MDSAttribute.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/Pulse.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/SystemModel.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/WeighingScale.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/X73.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73/compoundBasicNuValue.java

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

universAAL Ontology x73 devices - org/universAAL/ontology/X73Activator.java

Violation Line
Avoid unused imports such as 'org.universAAL.middleware.container.utils.LogUtils' 25

universAAL Ontology for ISO 11073-10471 Sensors - org/universAAL/ontology/activityhub/ext/AdaptorPlugActuator.java

Violation Line
Avoid unused imports such as 'org.universAAL.ontology.phThing.Device' 25

universAAL Ontology Audio - Video - org/universAAL/ontology/av/device/LoudSpeaker.java

Violation Line
Useless parentheses. 60

universAAL Ontology Audio - Video - org/universAAL/ontology/av/device/Microphone.java

Violation Line
Useless parentheses. 56

universAAL Ontology Audio - Video - org/universAAL/ontology/av/device/VideoCamera.java

Violation Line
Useless parentheses. 87

universAAL Ontology Context History Entrepot - org/universAAL/ontology/che/ContextEvent.java

Violation Line
Useless parentheses. 186
Useless parentheses. 206
These nested if statements could be combined 420–421

universAAL Ontology Cryptographic - org/universAAL/ontology/cryptographic/CertificationAuthority.java

Violation Line
Overriding method merely calls super 42–44
Overriding method merely calls super 46–48

universAAL Ontology Cryptographic - org/universAAL/ontology/cryptographic/CryptographicService.java

Violation Line
Overriding method merely calls super 44–46
Overriding method merely calls super 48–50

universAAL Ontology Cryptographic - org/universAAL/ontology/cryptographic/CryptographicTechnique.java

Violation Line
Overriding method merely calls super 48–50

universAAL Ontology Cryptographic - org/universAAL/ontology/cryptographic/Digest.java

Violation Line
Overriding method merely calls super 42–44
Overriding method merely calls super 46–48

universAAL Ontology Cryptographic - org/universAAL/ontology/cryptographic/EncryptionKey.java

Violation Line
Overriding method merely calls super 50–52

universAAL Ontology Cryptographic - org/universAAL/ontology/cryptographic/KeyExchange.java

Violation Line
Overriding method merely calls super 42–44
Overriding method merely calls super 46–48

universAAL Ontology Cryptographic - org/universAAL/ontology/cryptographic/SignAndVerifyService.java

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

universAAL Ontology Cryptographic - org/universAAL/ontology/cryptographic/SimpleBlockEncryption.java

Violation Line
Overriding method merely calls super 42–44
Overriding method merely calls super 46–48

universAAL Ontology Dependability - org/universAAL/ontology/dependability/Fault.java

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

universAAL Ontology Drools - org/universAAL/ontology/drools/Consequence.java

Violation Line
No need to import a type that lives in the same package 26
Overriding method merely calls super 51–54

universAAL Ontology Drools - org/universAAL/ontology/drools/Fact.java

Violation Line
No need to import a type that lives in the same package 26

universAAL Ontology Gesture Pointing - org/universAAL/ontology/gesture/pointing/GestureRecognition.java

Violation Line
Useless parentheses. 85

universAAL Ontology for Diseases - org/universAAL/ontology/disease/owl/Disease.java

Violation Line
Ternary operators that can be simplified with || or && 127

universAAL Ontology for Diseases - org/universAAL/ontology/disease/owl/DiseaseSeverityStatus.java

Violation Line
Ensure you override both equals() and hashCode() 79

universAAL Ontology for Diseases - org/universAAL/ontology/disease/owl/DiseaseTimeEvolvingStatus.java

Violation Line
Ensure you override both equals() and hashCode() 75

universAAL Ontology HVAC - org/universAAL/ontology/hvac/Hvac.java

Violation Line
Avoid unused imports such as 'org.universAAL.middleware.owl.supply.LevelRating' 18

LDDI Datapoints Ontology - org/universAAL/ontology/lddi/config/datapoints/Component.java

Violation Line
Useless parentheses. 77
Useless parentheses. 82
Useless parentheses. 83
Useless parentheses. 88
Useless parentheses. 93

LDDI Datapoints Ontology - org/universAAL/ontology/lddi/config/datapoints/Datapoint.java

Violation Line
Useless parentheses. 163
Useless parentheses. 168

universAAL Ontology Lighting - org/universAAL/ontology/lighting/BeamingSource.java

Violation Line
Useless parentheses. 67

universAAL Ontology Lighting - org/universAAL/ontology/lighting/LightSource.java

Violation Line
Useless parentheses. 98–99

universAAL Ontology Multimedia Devices - org/universAAL/ontology/multimedia/Stereoset.java

Violation Line
Useless parentheses. 50
Useless parentheses. 50

universAAL Ontology Multimedia Devices - org/universAAL/ontology/multimedia/TV.java

Violation Line
Useless parentheses. 53
Useless parentheses. 53

universAAL Ontology Orchestration - org/universAAL/ontology/orchestration/Script.java

Violation Line
Ternary operators that can be simplified with || or && 110
Ternary operators that can be simplified with || or && 128

universAAL Ontology Physical World - org/universAAL/ontology/location/Location.java

Violation Line
Useless parentheses. 105
Useless parentheses. 164–165

universAAL Ontology Physical World - org/universAAL/ontology/phThing/PhysicalThing.java

Violation Line
Useless parentheses. 64

universAAL Ontology Physical World - org/universAAL/ontology/shape/Box.java

Violation Line
Useless parentheses. 225

universAAL Ontology Physical World - org/universAAL/ontology/shape/ConeSegment.java

Violation Line
Useless parentheses. 72
Useless parentheses. 121
Useless parentheses. 220
Useless parentheses. 220

universAAL Ontology Physical World - org/universAAL/ontology/shape/Ellipse.java

Violation Line
Avoid unused private methods such as 'sortByDistance(JgclPoint3D,JgclPoint3D)'. 153

universAAL Ontology Physical World - org/universAAL/ontology/shape/Line.java

Violation Line
Useless parentheses. 104

universAAL Ontology Physical World - org/universAAL/ontology/shape/LineSegment.java

Violation Line
Useless parentheses. 96–97
Useless parentheses. 195
Useless parentheses. 195

universAAL Ontology Physical World - org/universAAL/ontology/shape/Sphere.java

Violation Line
Useless parentheses. 140

universAAL Ontology Physical World - org/universAAL/ontology/space/SpaceConfigurationService.java

Violation Line
Useless parentheses. 55

universAAL Ontology for Health - org/universAAL/ontology/health/HealthOntologyFactory.java

Violation Line
Avoid unused imports such as 'org.universAAL.ontology.health.owl.TakeMeasurementActivity' 33

universAAL Ontology for Health - org/universAAL/ontology/health/owl/HealthProfileOntology.java

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

universAAL Ontology for Health - org/universAAL/ontology/health/owl/MeasurementRequirements.java

Violation Line
Avoid unused imports such as 'org.universAAL.ontology.measurement.Measurement' 20

universAAL Ontology for Health - org/universAAL/ontology/health/owl/MotivationalStatusType.java

Violation Line
Ensure you override both equals() and hashCode() 81

universAAL Ontology for Health - org/universAAL/ontology/health/owl/PerformedSession.java

Violation Line
Ternary operators that can be simplified with || or && 98

universAAL Ontology for Health - org/universAAL/ontology/health/owl/PlannedSession.java

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

universAAL Ontology for Health - org/universAAL/ontology/health/owl/StatusType.java

Violation Line
Ensure you override both equals() and hashCode() 81

universAAL Ontology for Health - org/universAAL/ontology/health/owl/Treatment.java

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

universAAL Ontology for Health - org/universAAL/ontology/health/owl/TreatmentPlanning.java

Violation Line
Avoid unused constructor parameters such as 'recurrence'. 44

universAAL Ontology Profiling - org/universAAL/ontology/profile/AppService.java

Violation Line
Useless parentheses. 53

universAAL Ontology Profiling - org/universAAL/ontology/profile/AssistedPerson.java

Violation Line
Useless parentheses. 62

universAAL Ontology Profiling - org/universAAL/ontology/profile/Caregiver.java

Violation Line
Useless parentheses. 62

universAAL Ontology Profiling - org/universAAL/ontology/profile/Space.java

Violation Line
Useless parentheses. 56

universAAL Ontology Profiling - org/universAAL/ontology/profile/User.java

Violation Line
Useless parentheses. 66

universAAL Ontology Questionnaire - org/universAAL/ontology/questionnaire/AnsweredQuestionnaire.java

Violation Line
Useless parentheses. 485

universAAL Ontology Questionnaire - org/universAAL/ontology/questionnaire/Question.java

Violation Line
Ternary operators that can be simplified with || or && 160
Useless parentheses. 337

universAAL Ontology Questionnaire - org/universAAL/ontology/questionnaire/Questionnaire.java

Violation Line
Ternary operators that can be simplified with || or && 205
Useless parentheses. 581

universAAL Ontology Recommendations - org/universAAL/ontology/recommendations/Alignment.java

Violation Line
Overriding method merely calls super 45–48
Overriding method merely calls super 50–52

universAAL Ontology Recommendations - org/universAAL/ontology/recommendations/CSSRecommendation.java

Violation Line
Overriding method merely calls super 55–57
Overriding method merely calls super 59–61

universAAL Ontology Recommendations - org/universAAL/ontology/recommendations/HorizontalAlignment.java

Violation Line
Overriding method merely calls super 79–82
Overriding method merely calls super 84–86

universAAL Ontology Recommendations - org/universAAL/ontology/recommendations/HorizontalLayout.java

Violation Line
Overriding method merely calls super 54–57
Overriding method merely calls super 59–61

universAAL Ontology Recommendations - org/universAAL/ontology/recommendations/Layout.java

Violation Line
Overriding method merely calls super 45–48
Overriding method merely calls super 50–52

universAAL Ontology Recommendations - org/universAAL/ontology/recommendations/ScriptedRecommendation.java

Violation Line
Overriding method merely calls super 54–56
Overriding method merely calls super 58–60

universAAL Ontology Recommendations - org/universAAL/ontology/recommendations/VerticalAlignment.java

Violation Line
Overriding method merely calls super 79–82
Overriding method merely calls super 84–86

universAAL Ontology Recommendations - org/universAAL/ontology/recommendations/VerticalLayout.java

Violation Line
Overriding method merely calls super 54–57
Overriding method merely calls super 59–61

universAAL Ontology Security - org/universAAL/ontology/security/AccessRight.java

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

universAAL Ontology Security - org/universAAL/ontology/security/AnonymizationService.java

Violation Line
Overriding method merely calls super 55–57

universAAL Ontology Security - org/universAAL/ontology/security/AuthenticationService.java

Violation Line
Overriding method merely calls super 55–57

universAAL Ontology Security - org/universAAL/ontology/security/AuthorizationService.java

Violation Line
Overriding method merely calls super 55–57

universAAL Ontology Security - org/universAAL/ontology/security/Credentials.java

Violation Line
Overriding method merely calls super 53–55

universAAL Ontology Security - org/universAAL/ontology/security/DelegationForm.java

Violation Line
Avoid unused private methods such as 'addDefaultAccessRight()'. 67

universAAL Ontology Security - org/universAAL/ontology/security/DeviceBoundSession.java

Violation Line
Overriding method merely calls super 51–53

universAAL Ontology Security - org/universAAL/ontology/security/InherenceFactor.java

Violation Line
Overriding method merely calls super 45–47

universAAL Ontology Security - org/universAAL/ontology/security/KnowledgeFactor.java

Violation Line
Overriding method merely calls super 45–47

universAAL Ontology Security - org/universAAL/ontology/security/LocationBoundSession.java

Violation Line
Overriding method merely calls super 51–53

universAAL Ontology Security - org/universAAL/ontology/security/OneTimePassword.java

Violation Line
Overriding method merely calls super 46–48
Overriding method merely calls super 51–53

universAAL Ontology Security - org/universAAL/ontology/security/PossessionFactor.java

Violation Line
Overriding method merely calls super 45–47

universAAL Ontology Security - org/universAAL/ontology/security/RoleManagementService.java

Violation Line
Overriding method merely calls super 54–56

universAAL Ontology Security - org/universAAL/ontology/security/SecuritySubprofile.java

Violation Line
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' 25
Overriding method merely calls super 67–69

universAAL Ontology Security - org/universAAL/ontology/security/Session.java

Violation Line
Overriding method merely calls super 59–61

universAAL Ontology Security - org/universAAL/ontology/security/SessionManagementService.java

Violation Line
Overriding method merely calls super 66–68

universAAL Ontology Reasoning - org/universAAL/ontology/reasoner/Persistent.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 65

universAAL Ontology Reasoning - org/universAAL/ontology/reasoner/Query.java

Violation Line
Useless parentheses. 75

universAAL Ontology Reasoning - org/universAAL/ontology/reasoner/util/ElementModel.java

Violation Line
Useless parentheses. 198
Useless parentheses. 210

universAAL Ontology System Info - org/universAAL/ontology/sysinfo/PeerCardDescriptor.java

Violation Line
Overriding method merely calls super 49–51
Overriding method merely calls super 53–55

universAAL Ontology System Info - org/universAAL/ontology/sysinfo/SpaceDescriptor.java

Violation Line
Overriding method merely calls super 49–51
Overriding method merely calls super 53–55

universAAL Ontology System Info - org/universAAL/ontology/sysinfo/SpaceStatusDescriptor.java

Violation Line
Overriding method merely calls super 49–51
Overriding method merely calls super 53–55

universAAL Ontology Unit - org/universAAL/ontology/unit/DerivedUnit.java

Violation Line
Overriding method merely calls super 53–55

universAAL Ontology Unit - org/universAAL/ontology/unit/DividedUnit.java

Violation Line
Overriding method merely calls super 59–61

universAAL Ontology Unit - org/universAAL/ontology/unit/MeasurableDimension.java

Violation Line
Ensure you override both equals() and hashCode() 130

universAAL Ontology Unit - org/universAAL/ontology/unit/MultipliedUnit.java

Violation Line
Overriding method merely calls super 56–58