PMD Results

The following document contains the results of PMD 5.6.1.

Files

universAAL LDDI Bluetooth Continua Manager service - org/universAAL/lddi/manager/publisher/hdpManager.java

Violation Line
Avoid unused private fields such as 'libNameWithoutExtension_windows_32'. 59
Avoid unused private fields such as 'libNameWithoutExtension_windows_64'. 60
Avoid unused private fields such as 'msg_generator'. 102
Avoid unused private fields such as 'rmp'. 103
Avoid unused private fields such as 'outputData'. 105
Avoid unused private methods such as 'releaseHDPDataChannelFileDescriptor(String)'. 270
Useless parentheses. 478
Useless parentheses. 478
Useless parentheses. 479
Useless parentheses. 523
Useless parentheses. 523

universAAL LDDI Bluetooth Continua Manager service - org/universAAL/lddi/manager/publisher/hdpManagerListener.java

Violation Line
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 69
Avoid modifiers which are implied by the context 80

universAAL LDDI Common ont-based abstraction - org/universAAL/lddi/abstraction/Activator.java

Violation Line
Avoid empty catch blocks 83

universAAL LDDI Common ont-based abstraction - org/universAAL/lddi/abstraction/CommunicationGateway.java

Violation Line
Useless parentheses. 117
Useless parentheses. 388
Avoid empty synchronized blocks 480–482
Avoid empty synchronized blocks 660–662
Useless parentheses. 789
Ternary operators that can be simplified with || or && 789–791

universAAL LDDI Common ont-based abstraction - org/universAAL/lddi/abstraction/ComponentIntegrator.java

Violation Line
Useless parentheses. 268
Useless parentheses. 315

universAAL LDDI Common ont-based abstraction - org/universAAL/lddi/abstraction/ExternalComponent.java

Violation Line
Useless parentheses. 132
Useless parentheses. 169
Useless parentheses. 222
Ternary operators that can be simplified with || or && 222–223
Useless parentheses. 257
Useless parentheses. 258
Useless parentheses. 259
Useless parentheses. 260

universAAL LDDI Common ont-based abstraction - org/universAAL/lddi/abstraction/ExternalDataConverter.java

Violation Line
Avoid modifiers which are implied by the context 15
Avoid modifiers which are implied by the context 18
Avoid modifiers which are implied by the context 19
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 29

universAAL LDDI Common ont-based abstraction - org/universAAL/lddi/abstraction/ExternalDatapoint.java

Violation Line
Avoid modifiers which are implied by the context 67
Avoid modifiers which are implied by the context 72
Avoid modifiers which are implied by the context 74
Avoid modifiers which are implied by the context 76
Avoid modifiers which are implied by the context 78
Avoid modifiers which are implied by the context 80
Avoid modifiers which are implied by the context 82

universAAL LDDI Common ont-based abstraction - org/universAAL/lddi/abstraction/config/protocol/CGwProtocolConfiguration.java

Violation Line
Useless parentheses. 40–41

universAAL LDDI Common ont-based abstraction - org/universAAL/lddi/abstraction/config/tool/DatapointConfigTool.java

Violation Line
Avoid empty catch blocks 574
Avoid empty catch blocks 608
Avoid empty try blocks 619–621

universAAL LDDI Common ont-based abstraction - org/universAAL/lddi/abstraction/simulation/ToggledDatapoint.java

Violation Line
Useless parentheses. 59

universAAL LDDI Exporter of ActivityHub devices (ISO 11073-10471) - org/universAAL/lddi/exporter/activityhub/AHContextPublisher.java

Violation Line
Avoid unused imports such as 'org.universAAL.middleware.container.ModuleContext' 25
Avoid unused imports such as 'org.universAAL.middleware.context.ContextPublisher' 29

universAAL LDDI Exporter of ActivityHub devices (ISO 11073-10471) - org/universAAL/lddi/exporter/activityhub/AHServiceOntology.java

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

universAAL LDDI Exporter of ActivityHub devices (ISO 11073-10471) - org/universAAL/lddi/exporter/activityhub/AHServiceProvider.java

Violation Line
Avoid unused imports such as 'org.universAAL.middleware.container.ModuleContext' 31

universAAL LDDI Exporter of ISO11073 devices (blood pressure, scale) - com/signove/health/manager.java

Violation Line
Avoid unused imports such as 'org.freedesktop.dbus.DBusConnection' 23
Avoid unused imports such as 'org.freedesktop.dbus.exceptions.DBusException' 26

universAAL LDDI Exporter of ISO11073 devices (blood pressure, scale) - org/universAAL/lddi/exporter/x73/Activator.java

Violation Line
Avoid unused local variables such as 'logservice'. 59

universAAL LDDI Exporter of ISO11073 devices (blood pressure, scale) - org/universAAL/lddi/exporter/x73/ISO11073ContextProvider.java

Violation Line
Avoid unused private fields such as 'theServer'. 48
Avoid unused private methods such as 'constructx73URIfromLocalID(String)'. 186

universAAL LDDI Exporter of ISO11073 devices (blood pressure, scale) - org/universAAL/lddi/exporter/x73/ISO11073DBusServer.java

Violation Line
Avoid unused private fields such as 'context'. 41
Avoid unused local variables such as 'condition'. 72

universAAL LDDI Exporter of ISO11073 devices (blood pressure, scale) - org/universAAL/lddi/exporter/x73/MyAgent.java

Violation Line
Avoid duplicate imports such as 'java.io' 34
Avoid unused private fields such as 'unit'. 44
Avoid unused private fields such as 'measuredValue_18949'. 47
Avoid unused private fields such as 'measuredValue_18950'. 48
Avoid unused private fields such as 'measuredValue_18951'. 49
Avoid unused constructor parameters such as 't_contextProvider'. 69
Avoid unused local variables such as 'xmlData'. 107
Avoid unused private methods such as 'getTagValue(String,Element)'. 118
Avoid empty if statements 155–157

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/ActivityHubBaseDeviceCategory.java

Violation Line
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 40
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 48
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 58

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073CoSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073ContactClosureSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073EnuresisSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073FallSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073GasSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073MedicationDosageSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073MotionSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073PersSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073PropertyExitSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073SmokeSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073SwitchSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073TemperatureSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073UsageSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/devicecategory/Iso11073WaterSensor.java

Violation Line
Avoid modifiers which are implied by the context 42

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/driver/interfaces/ActivityHubDriverClient.java

Violation Line
Avoid modifiers which are implied by the context 34–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 44

universAAL LDDI Library for ISO/IEEE 11073 standard - ActivityHub Specification - org/universAAL/lddi/lib/activityhub/driver/interfaces/IActivityHubActuator.java

Violation Line
Avoid modifiers which are implied by the context 39

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/events/EventIEEEListener.java

Violation Line
Avoid modifiers which are implied by the context 23

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/events/EventIEEEType.java

Violation Line
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 44

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/gui/Constant.java

Violation Line
Do not hard code the IP address 41

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/gui/GUI.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.manager.Manager' 48
Avoid unused private fields such as 'outputTextJTextArea'. 77

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/main/Middleware.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.events.EventIEEEManager' 22
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.manager.Manager' 23

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/manager/Manager.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.utils.Testing' 32
Avoid unused constructor parameters such as 'eventmanager'. 69
Avoid unused private methods such as 'notACKMeasures(ApduType)'. 196
Avoid unused local variables such as 'bais'. 198
Avoid unused private methods such as 'rejectAssociation()'. 220
Avoid unused local variables such as 'bais'. 221

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/manager/apdu/APDUProcessor.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.utils.BitArrayInputStream' 30
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.DataReqModeCapab' 51
Useless parentheses. 319
Useless parentheses. 320
Avoid unused method parameters such as 'rlrq'. 402
Avoid unused method parameters such as 'rlre'. 470
Avoid unused method parameters such as 'abrt'. 529

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/mder/DecoderMDER.java

Violation Line
Avoid unused imports such as 'java.lang.annotation.Annotation' 24
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.annotations.constraints.ASN1ValueRangeConstraint' 29
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.coders.IASN1PreparedElementData' 34
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.metadata.constraints.IASN1ConstraintMetadata' 38
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.DataProtoId' 40
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.INT_U16' 41
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.INT_U8' 42
Useless parentheses. 82
Useless parentheses. 82
Useless parentheses. 84
Useless parentheses. 84
Useless parentheses. 86
Useless parentheses. 86
An empty statement (semicolon) not part of a loop 356

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/mder/EncoderMDER.java

Violation Line
Useless parentheses. 116
Useless parentheses. 116
Useless parentheses. 118
Useless parentheses. 118
Useless parentheses. 120
Useless parentheses. 120

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/measurements/Measurement.java

Violation Line
Avoid unused imports such as 'java.util.Calendar' 23
Avoid unused imports such as 'java.util.Hashtable' 24
Avoid unused imports such as 'java.util.Set' 26
Avoid unused local variables such as 'month_fixed'. 272
Avoid unused local variables such as 'day_fixed'. 272
Avoid unused local variables such as 'hour_fixed'. 272
Avoid unused local variables such as 'year_fixed'. 272
Avoid unused local variables such as 'secs_fixed'. 272
Avoid unused local variables such as 'min_fixed'. 272
Avoid unused local variables such as 'value_to_fix'. 329

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/IDecoder.java

Violation Line
Avoid modifiers which are implied by the context 36

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/IEncoder.java

Violation Line
Avoid modifiers which are implied by the context 35

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/CoderUtils.java

Violation Line
Useless parentheses. 36
Useless parentheses. 36
Useless parentheses. 41
Useless parentheses. 41
Useless parentheses. 53
Useless parentheses. 53
Useless parentheses. 58
Useless parentheses. 58
Useless parentheses. 70
Useless parentheses. 70
Useless parentheses. 83
Useless parentheses. 83
Useless parentheses. 111
Useless parentheses. 134
These nested if statements could be combined 174–175

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/Decoder.java

Violation Line
Avoid empty catch blocks 154–155
An empty statement (semicolon) not part of a loop 156
These nested if statements could be combined 229–238
An empty statement (semicolon) not part of a loop 241
An empty statement (semicolon) not part of a loop 319
An empty statement (semicolon) not part of a loop 341
An empty statement (semicolon) not part of a loop 404

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/ElementType.java

Violation Line
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 21

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/Encoder.java

Violation Line
An empty statement (semicolon) not part of a loop 46
These nested if statements could be combined 234–237
An empty statement (semicolon) not part of a loop 269

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/TagClass.java

Violation Line
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 21
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 23

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/UniversalTag.java

Violation Line
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 21
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 51

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/ber/BERCoderUtils.java

Violation Line
These nested if statements could be combined 51–53
Useless parentheses. 77
Useless parentheses. 83

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/ber/BERDecoder.java

Violation Line
Avoid empty if statements 96–97
Useless parentheses. 308–309
Useless parentheses. 310

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/ber/BEREncoder.java

Violation Line
Useless parentheses. 67–68
Useless parentheses. 69

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/ber/BERObjectIdentifier.java

Violation Line
Useless parentheses. 30
An empty statement (semicolon) not part of a loop 39
Useless parentheses. 60
Useless parentheses. 68
Avoid unnecessary temporaries when converting primitives to Strings 134
Useless parentheses. 167

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/per/PERAlignedDecoder.java

Violation Line
An empty statement (semicolon) not part of a loop 288
These nested if statements could be combined 378–382
Useless parentheses. 519
An empty statement (semicolon) not part of a loop 552
An empty statement (semicolon) not part of a loop 573

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/per/PERAlignedEncoder.java

Violation Line
Avoid unused local variables such as 'szOfInt'. 279
Avoid empty if statements 335–336
Avoid unused local variables such as 'constraint'. 345
Useless parentheses. 372

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/coders/per/PERCoderUtils.java

Violation Line
Useless parentheses. 61

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/metadata/ASN1BitStringMetadata.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.annotations.ASN1Any' 23

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/metadata/ASN1BoxedTypeMetadata.java

Violation Line
Avoid empty catch blocks 52–54
These nested if statements could be combined 110–111

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/metadata/ASN1ElementMetadata.java

Violation Line
Avoid unused private fields such as 'name'. 30

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/metadata/ASN1FieldMetadata.java

Violation Line
Avoid unused imports such as 'java.lang.reflect.AnnotatedElement' 20

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/metadata/ASN1Metadata.java

Violation Line
Avoid unused imports such as 'java.io.OutputStream' 20
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.coders.ElementInfo' 24
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.coders.IASN1TypesEncoder' 25

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/metadata/ASN1SequenceOfMetadata.java

Violation Line
Avoid unused private fields such as 'itemClass'. 32

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/metadata/ASN1StringMetadata.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.coders.CoderUtils' 26
Avoid unused private fields such as 'hasDefaults'. 39
These nested if statements could be combined 65–68

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/types/NullObject.java

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

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/utils/BitArrayInputStream.java

Violation Line
Useless parentheses. 56

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/org/bn/utils/ReverseByteArrayOutputStream.java

Violation Line
Useless parentheses. 77
Useless parentheses. 77
Useless parentheses. 77
Useless parentheses. 77
Useless parentheses. 77

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/utils/Hour.java

Violation Line
Useless parentheses. 30

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/utils/Testing.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.events.Event' 25
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.events.EventIEEEManager' 26
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.events.EventIEEEType' 27
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.manager.Manager' 28
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.CoderFactory' 30
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.metadata.ASN1TypeMetadata' 33

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/utils/ValueCodesGenerator.java

Violation Line
Avoid unused imports such as 'java.io.File' 23
Avoid unused imports such as 'java.util.Hashtable' 28
Avoid unused imports such as 'java.util.Iterator' 29
Avoid unused imports such as 'java.util.Map' 30

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/nomenclature/NomenclatureCodes.java

Violation Line
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 55
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 61
Avoid modifiers which are implied by the context 62
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 66
Avoid modifiers which are implied by the context 67
Avoid modifiers which are implied by the context 68
Avoid modifiers which are implied by the context 69
Avoid modifiers which are implied by the context 70
Avoid modifiers which are implied by the context 71
Avoid modifiers which are implied by the context 72
Avoid modifiers which are implied by the context 73
Avoid modifiers which are implied by the context 74
Avoid modifiers which are implied by the context 75
Avoid modifiers which are implied by the context 76
Avoid modifiers which are implied by the context 77
Avoid modifiers which are implied by the context 78
Avoid modifiers which are implied by the context 79
Avoid modifiers which are implied by the context 80
Avoid modifiers which are implied by the context 81
Avoid modifiers which are implied by the context 82
Avoid modifiers which are implied by the context 83
Avoid modifiers which are implied by the context 84
Avoid modifiers which are implied by the context 85
Avoid modifiers which are implied by the context 86
Avoid modifiers which are implied by the context 87
Avoid modifiers which are implied by the context 88
Avoid modifiers which are implied by the context 89
Avoid modifiers which are implied by the context 90
Avoid modifiers which are implied by the context 91
Avoid modifiers which are implied by the context 92
Avoid modifiers which are implied by the context 93
Avoid modifiers which are implied by the context 94
Avoid modifiers which are implied by the context 95
Avoid modifiers which are implied by the context 96
Avoid modifiers which are implied by the context 97
Avoid modifiers which are implied by the context 98
Avoid modifiers which are implied by the context 99
Avoid modifiers which are implied by the context 100
Avoid modifiers which are implied by the context 101
Avoid modifiers which are implied by the context 102
Avoid modifiers which are implied by the context 103
Avoid modifiers which are implied by the context 104
Avoid modifiers which are implied by the context 105
Avoid modifiers which are implied by the context 106
Avoid modifiers which are implied by the context 107
Avoid modifiers which are implied by the context 108
Avoid modifiers which are implied by the context 109
Avoid modifiers which are implied by the context 110
Avoid modifiers which are implied by the context 111
Avoid modifiers which are implied by the context 112
Avoid modifiers which are implied by the context 113
Avoid modifiers which are implied by the context 114
Avoid modifiers which are implied by the context 115
Avoid modifiers which are implied by the context 116
Avoid modifiers which are implied by the context 117
Avoid modifiers which are implied by the context 118
Avoid modifiers which are implied by the context 119
Avoid modifiers which are implied by the context 120
Avoid modifiers which are implied by the context 121
Avoid modifiers which are implied by the context 122
Avoid modifiers which are implied by the context 123
Avoid modifiers which are implied by the context 124
Avoid modifiers which are implied by the context 125
Avoid modifiers which are implied by the context 126
Avoid modifiers which are implied by the context 127
Avoid modifiers which are implied by the context 128
Avoid modifiers which are implied by the context 129
Avoid modifiers which are implied by the context 131
Avoid modifiers which are implied by the context 132
Avoid modifiers which are implied by the context 133
Avoid modifiers which are implied by the context 134
Avoid modifiers which are implied by the context 135
Avoid modifiers which are implied by the context 136
Avoid modifiers which are implied by the context 137
Avoid modifiers which are implied by the context 138
Avoid modifiers which are implied by the context 139
Avoid modifiers which are implied by the context 140
Avoid modifiers which are implied by the context 141
Avoid modifiers which are implied by the context 142
Avoid modifiers which are implied by the context 143
Avoid modifiers which are implied by the context 144
Avoid modifiers which are implied by the context 145
Avoid modifiers which are implied by the context 146
Avoid modifiers which are implied by the context 147
Avoid modifiers which are implied by the context 148
Avoid modifiers which are implied by the context 149
Avoid modifiers which are implied by the context 150
Avoid modifiers which are implied by the context 151
Avoid modifiers which are implied by the context 152
Avoid modifiers which are implied by the context 153
Avoid modifiers which are implied by the context 159
Avoid modifiers which are implied by the context 160
Avoid modifiers which are implied by the context 161
Avoid modifiers which are implied by the context 166
Avoid modifiers which are implied by the context 167
Avoid modifiers which are implied by the context 168
Avoid modifiers which are implied by the context 169
Avoid modifiers which are implied by the context 170
Avoid modifiers which are implied by the context 171
Avoid modifiers which are implied by the context 176
Avoid modifiers which are implied by the context 177
Avoid modifiers which are implied by the context 178
Avoid modifiers which are implied by the context 179
Avoid modifiers which are implied by the context 180
Avoid modifiers which are implied by the context 181
Avoid modifiers which are implied by the context 182
Avoid modifiers which are implied by the context 183
Avoid modifiers which are implied by the context 184
Avoid modifiers which are implied by the context 189
Avoid modifiers which are implied by the context 194
Avoid modifiers which are implied by the context 198
Avoid modifiers which are implied by the context 202
Avoid modifiers which are implied by the context 206
Avoid modifiers which are implied by the context 210
Avoid modifiers which are implied by the context 218
Avoid modifiers which are implied by the context 220
Avoid modifiers which are implied by the context 226
Avoid modifiers which are implied by the context 230
Avoid modifiers which are implied by the context 242
Avoid modifiers which are implied by the context 243
Avoid modifiers which are implied by the context 244
Avoid modifiers which are implied by the context 245
Avoid modifiers which are implied by the context 251
Avoid modifiers which are implied by the context 252
Avoid modifiers which are implied by the context 253
Avoid modifiers which are implied by the context 254
Avoid modifiers which are implied by the context 255
Avoid modifiers which are implied by the context 256
Avoid modifiers which are implied by the context 257
Avoid modifiers which are implied by the context 258
Avoid modifiers which are implied by the context 259
Avoid modifiers which are implied by the context 260
Avoid modifiers which are implied by the context 261
Avoid modifiers which are implied by the context 262
Avoid modifiers which are implied by the context 263
Avoid modifiers which are implied by the context 264
Avoid modifiers which are implied by the context 271
Avoid modifiers which are implied by the context 272
Avoid modifiers which are implied by the context 273
Avoid modifiers which are implied by the context 274
Avoid modifiers which are implied by the context 275
Avoid modifiers which are implied by the context 279
Avoid modifiers which are implied by the context 280
Avoid modifiers which are implied by the context 281
Avoid modifiers which are implied by the context 290
Avoid modifiers which are implied by the context 291
Avoid modifiers which are implied by the context 292
Avoid modifiers which are implied by the context 293
Avoid modifiers which are implied by the context 294
Avoid modifiers which are implied by the context 295
Avoid modifiers which are implied by the context 300
Avoid modifiers which are implied by the context 301
Avoid modifiers which are implied by the context 305
Avoid modifiers which are implied by the context 311
Avoid modifiers which are implied by the context 312
Avoid modifiers which are implied by the context 316
Avoid modifiers which are implied by the context 317
Avoid modifiers which are implied by the context 318
Avoid modifiers which are implied by the context 319
Avoid modifiers which are implied by the context 326
Avoid modifiers which are implied by the context 327
Avoid modifiers which are implied by the context 328
Avoid modifiers which are implied by the context 329
Avoid modifiers which are implied by the context 330
Avoid modifiers which are implied by the context 331
Avoid modifiers which are implied by the context 332
Avoid modifiers which are implied by the context 333
Avoid modifiers which are implied by the context 334
Avoid modifiers which are implied by the context 335
Avoid modifiers which are implied by the context 339
Avoid modifiers which are implied by the context 340
Avoid modifiers which are implied by the context 341
Avoid modifiers which are implied by the context 342
Avoid modifiers which are implied by the context 343
Avoid modifiers which are implied by the context 344
Avoid modifiers which are implied by the context 345
Avoid modifiers which are implied by the context 346
Avoid modifiers which are implied by the context 347
Avoid modifiers which are implied by the context 348
Avoid modifiers which are implied by the context 349
Avoid modifiers which are implied by the context 350
Avoid modifiers which are implied by the context 351
Avoid modifiers which are implied by the context 352
Avoid modifiers which are implied by the context 353
Avoid modifiers which are implied by the context 354
Avoid modifiers which are implied by the context 355
Avoid modifiers which are implied by the context 356
Avoid modifiers which are implied by the context 357
Avoid modifiers which are implied by the context 358
Avoid modifiers which are implied by the context 359
Avoid modifiers which are implied by the context 360
Avoid modifiers which are implied by the context 361
Avoid modifiers which are implied by the context 362
Avoid modifiers which are implied by the context 363
Avoid modifiers which are implied by the context 364
Avoid modifiers which are implied by the context 365
Avoid modifiers which are implied by the context 366
Avoid modifiers which are implied by the context 367
Avoid modifiers which are implied by the context 368
Avoid modifiers which are implied by the context 369
Avoid modifiers which are implied by the context 370
Avoid modifiers which are implied by the context 371
Avoid modifiers which are implied by the context 372
Avoid modifiers which are implied by the context 373
Avoid modifiers which are implied by the context 374
Avoid modifiers which are implied by the context 379
Avoid modifiers which are implied by the context 380
Avoid modifiers which are implied by the context 381
Avoid modifiers which are implied by the context 382
Avoid modifiers which are implied by the context 383

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p104zz/DeviceSpecialization.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.AbsoluteTimeAdjust' 36
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.BITS_16' 40

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p104zz/ExtendedConfiguration.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.ConfigReport' 32

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/DIM.java

Violation Line
Avoid unused imports such as 'java.util.Iterator' 23
Avoid unused imports such as 'java.util.LinkedList' 24

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/Enumeration.java

Violation Line
Avoid unused private fields such as 'attrList'. 37
The null check here is misplaced; if the variable is null there will be a NullPointerException 40

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/EpiCfgScanner_Events.java

Violation Line
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 55
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 69
Avoid modifiers which are implied by the context 75
Avoid modifiers which are implied by the context 82

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/EpiCfgscanner.java

Violation Line
Avoid unused private fields such as 'attrList'. 36
The null check here is misplaced; if the variable is null there will be a NullPointerException 39

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/GET_Service.java

Violation Line
Avoid modifiers which are implied by the context 33

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/MDS.java

Violation Line
Avoid unused imports such as 'java.util.Hashtable' 22
Avoid unused imports such as 'java.util.LinkedList' 23
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.HANDLE' 26

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/MDS_Events.java

Violation Line
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 72
Avoid modifiers which are implied by the context 78
Avoid modifiers which are implied by the context 84

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/Metric.java

Violation Line
Avoid unused imports such as 'java.util.LinkedList' 22

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/Numeric.java

Violation Line
The null check here is misplaced; if the variable is null there will be a NullPointerException 38

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/PM_Segment.java

Violation Line
Avoid unused private fields such as 'attrList'. 36
The null check here is misplaced; if the variable is null there will be a NullPointerException 39

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/PM_Store.java

Violation Line
Avoid unused private fields such as 'segmentlist'. 43

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/PM_Store_Events.java

Violation Line
Avoid modifiers which are implied by the context 39

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/PeriCfgScanner.java

Violation Line
Avoid unused private fields such as 'attrList'. 52
The null check here is misplaced; if the variable is null there will be a NullPointerException 55

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/PeriCfgScanner_Events.java

Violation Line
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 52

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/RT_SA.java

Violation Line
Avoid unused private fields such as 'attrList'. 34
The null check here is misplaced; if the variable is null there will be a NullPointerException 37

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/dim/Scanner.java

Violation Line
Avoid unused imports such as 'java.util.LinkedList' 22

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/fsm/StateMachine20601.java

Violation Line
Avoid unused private fields such as 'manager'. 43

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/mdnf/FloatType.java

Violation Line
Useless parentheses. 53
Useless parentheses. 56
Useless parentheses. 91
Useless parentheses. 91
Useless parentheses. 93
Useless parentheses. 93
Useless parentheses. 103

universAAL LDDI Library IEEE x073 standard implementation - org/universAAL/lddi/lib/ieeex73std/x73/p20601/mdnf/SFloatType.java

Violation Line
Useless parentheses. 84
Useless parentheses. 84
Useless parentheses. 86
Useless parentheses. 86
Useless parentheses. 96

universAAL LDDI FS20 Connector - org/universAAL/lddi/fs20/connect/FHZ1000PC.java

Violation Line
Avoid modifiers which are implied by the context 90
Avoid modifiers which are implied by the context 92
Avoid modifiers which are implied by the context 94
Avoid modifiers which are implied by the context 96
These nested if statements could be combined 186–190
Useless parentheses. 357
Useless parentheses. 357
Useless parentheses. 357
Useless parentheses. 423
Useless parentheses. 423
Useless parentheses. 423
Avoid empty catch blocks 437–439
Useless parentheses. 484
Useless parentheses. 484
Useless parentheses. 484

universAAL LDDI FS20 Connector - org/universAAL/lddi/fs20/connect/FS20EventListener.java

Violation Line
Avoid modifiers which are implied by the context 22

universAAL LDDI FS20 Connector - org/universAAL/lddi/fs20/connect/FS20Listener.java

Violation Line
Useless parentheses. 116
Useless parentheses. 116

universAAL LDDI FS20 Connector - org/universAAL/lddi/fs20/devicemodel/FS20Device.java

Violation Line
Dont call Thread.run() explicitly, use Thread.start() 183–192

universAAL LDDI FS20 Connector - org/universAAL/lddi/fs20/devicemodel/FS20RGBSADevice.java

Violation Line
Avoid unused private fields such as 'animationDescriptions'. 40

universAAL LDDI FS20 Exporter - org/universAAL/lddi/fs20/exporter/Activator.java

Violation Line
Dont call Thread.run() explicitly, use Thread.start() 77–82
Avoid empty if statements 126–128
These nested if statements could be combined 129–142

universAAL LDDI FS20 Exporter - org/universAAL/lddi/fs20/exporter/FS20Server.java

Violation Line
Avoid unnecessary temporaries when converting primitives to Strings 161
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 358
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 360
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 391
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 394
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 425
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 428
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 459
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 462

universAAL LDDI FS20 Exporter - org/universAAL/lddi/fs20/exporter/ProvidedFS20Service.java

Violation Line
Avoid unused private fields such as 'serverFS20DeviceRestrictions'. 137

universAAL LDDI KNX device manager - org/universAAL/lddi/knx/devicemanager/KnxDeviceManager.java

Violation Line
Unnecessary use of fully qualified name 'org.osgi.framework.Constants.OBJECTCLASS' due to existing import 'org.osgi.framework.Constants' 69

universAAL LDDI KNX Exporter - org/universAAL/lddi/knx/driver/KnxDpt1Instance.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.knx.interfaces.IKnxSendMessage' 31

universAAL LDDI KNX Exporter - org/universAAL/lddi/knx/driver/KnxDpt5Instance.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.knx.groupdevicecategory.IKnxDpt1' 28

universAAL LDDI KNX Exporter - org/universAAL/lddi/knx/exporter/KnxManager.java

Violation Line
Avoid unused imports such as 'java.util.Set' 26

universAAL LDDI KNX Exporter - org/universAAL/lddi/knx/exporter/KnxServiceCallee.java

Violation Line
Avoid unused imports such as 'java.util.Iterator' 24
Avoid unused imports such as 'java.util.Set' 26
Avoid unused imports such as 'org.universAAL.ontology.device.LightController' 39

universAAL LDDI KNX Exporter - org/universAAL/lddi/knx/exporter/KnxServiceCalleeProvidedService.java

Violation Line
Avoid unused imports such as 'org.universAAL.ontology.device.LightController' 31

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/groupdevicecategory/IKnxDpt1.java

Violation Line
Avoid modifiers which are implied by the context 41
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
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 55
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 64

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/groupdevicecategory/IKnxDpt2.java

Violation Line
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 61
Avoid modifiers which are implied by the context 62
Avoid modifiers which are implied by the context 86
Avoid modifiers which are implied by the context 87
Avoid modifiers which are implied by the context 88
Avoid modifiers which are implied by the context 89

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/groupdevicecategory/IKnxDpt3.java

Violation Line
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 67
Avoid modifiers which are implied by the context 68
Avoid modifiers which are implied by the context 69
Avoid modifiers which are implied by the context 72
Avoid modifiers which are implied by the context 78
Avoid modifiers which are implied by the context 79
Avoid modifiers which are implied by the context 86
Avoid modifiers which are implied by the context 87

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/groupdevicecategory/IKnxDpt4.java

Violation Line
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 55
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 61
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 69
Avoid modifiers which are implied by the context 70
Avoid modifiers which are implied by the context 77
Avoid modifiers which are implied by the context 83

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/groupdevicecategory/IKnxDpt5.java

Violation Line
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 61
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 72
Avoid modifiers which are implied by the context 78
Avoid modifiers which are implied by the context 84
Avoid modifiers which are implied by the context 94

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/groupdevicecategory/IKnxDpt9.java

Violation Line
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 67
Avoid modifiers which are implied by the context 68
Avoid modifiers which are implied by the context 69
Avoid modifiers which are implied by the context 72
Avoid modifiers which are implied by the context 76
Avoid modifiers which are implied by the context 80
Avoid modifiers which are implied by the context 91

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/interfaces/IKnxDriverClient.java

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 53–54
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 78–79
Avoid modifiers which are implied by the context 89
Avoid modifiers which are implied by the context 103–104
Avoid modifiers which are implied by the context 114–115

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/interfaces/IKnxNetwork.java

Violation Line
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 59

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/interfaces/IKnxReceiveMessage.java

Violation Line
Avoid modifiers which are implied by the context 35

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/interfaces/IKnxSendMessage.java

Violation Line
Avoid modifiers which are implied by the context 35

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/utils/KnxEncoder.java

Violation Line
Avoid modifiers which are implied by the context 32–34

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/utils/KnxGroupAddress.java

Violation Line
Avoid unused constructor parameters such as 'bpName'. 60
Avoid unused constructor parameters such as 'bpDescription'. 60
Avoid unused constructor parameters such as 'bpType'. 60

universAAL LDDI KNX Datapoint Type Library - org/universAAL/lddi/knx/utils/KnxTelegram.java

Violation Line
Avoid unused private fields such as 'repeat'. 48
Avoid unused private fields such as 'targetIsGroupAddress'. 57
Avoid unused private fields such as 'routingCounter'. 62
Useless parentheses. 97

universAAL LDDI KNX network driver - org/universAAL/lddi/knx/networkdriver/KnxReader.java

Violation Line
Avoid unused private fields such as 'pc'. 73
Useless parentheses. 138

universAAL LDDI KNX Refinement driver for Datapoint Type 1.* to ISO 11073-10471 device - org/universAAL/lddi/knx/refinementdriver/dpt1/activityhub/KnxDpt1Instance.java

Violation Line
Unnecessary use of fully qualified name 'org.osgi.service.device.Constants.DEVICE_CATEGORY' due to existing import 'org.osgi.service.device.Constants' 179

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/Activator.java

Violation Line
This for loop could be simplified to a while loop 160–164

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/BlindActuatorWrapper.java

Violation Line
Overriding method merely calls super 120–122

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/BlindControllerWrapper.java

Violation Line
Avoid empty if statements 130–132

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/BlindSensorWrapper.java

Violation Line
Avoid empty if statements 112–114

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/CurtainActuatorWrapper.java

Violation Line
Overriding method merely calls super 122–124

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/CurtainControllerWrapper.java

Violation Line
Avoid empty if statements 130–132

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/CurtainSensorWrapper.java

Violation Line
Avoid empty if statements 114–116

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/DimmerActuatorWrapper.java

Violation Line
Overriding method merely calls super 114–116

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/GenericDevice.java

Violation Line
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 41

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/LightdimmerActuatorWrapper.java

Violation Line
Overriding method merely calls super 112–114

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/LightswitchActuatorWrapper.java

Violation Line
Overriding method merely calls super 112–114

universAAL LDDI Eclipse Smarthome Exporter - org/universAAL/lddi/smarthome/exporter/devices/SwitchActuatorWrapper.java

Violation Line
Overriding method merely calls super 99–101

universAAL LDDI ZigBee commissioning bundle - org/universAAL/lddi/zigbee/commissioning/Activator.java

Violation Line
Avoid unused private fields such as 'IAS_WD_STOP'. 82
Avoid unused private fields such as 'IAS_WD_BURGLAR'. 83
Avoid unused private fields such as 'IAS_WD_FIRE'. 84
Avoid unused local variables such as 'sensor'. 544
Useless parentheses. 631
Avoid empty catch blocks 744–745
Avoid unused local variables such as 'occupancy_sensor_devices_sensor'. 766

universAAL LDDI ZigBee commissioning bundle - org/universAAL/lddi/zigbee/commissioning/clusters/impl/OccupancyBridgeListeners.java

Violation Line
These nested if statements could be combined 108–114
Useless parentheses. 109

universAAL LDDI ZigBee commissioning bundle - org/universAAL/lddi/zigbee/commissioning/devices/api/IAS_ZoneBridge.java

Violation Line
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 38

universAAL LDDI ZigBee commissioning bundle - org/universAAL/lddi/zigbee/commissioning/devices/api/OccupancySensorBridge.java

Violation Line
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 36–37
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 49

universAAL LDDI ZigBee exporter - Home Automation - org/universAAL/hw/exporter/zigbee/ha/devices/ExporterActuatorCallee.java

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

universAAL LDDI ZigBee exporter - Home Automation - org/universAAL/hw/exporter/zigbee/ha/devices/IASZoneCallee.java

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

universAAL LDDI ZigBee exporter - Home Automation - org/universAAL/hw/exporter/zigbee/ha/devices/OccupancySensorCallee.java

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

universAAL LDDI ZigBee exporter - Home Automation - org/universAAL/hw/exporter/zigbee/ha/devices/PresenceDetectorCallee.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 110
Useless parentheses. 131

universAAL LDDI ZigBee exporter - Home Automation - org/universAAL/hw/exporter/zigbee/ha/devices/listeners/DimmerLightListener.java

Violation Line
This for loop could be simplified to a while loop 85–90

universAAL LDDI ZigBee exporter - Home Automation - org/universAAL/hw/exporter/zigbee/ha/devices/listeners/IASZoneListener.java

Violation Line
This for loop could be simplified to a while loop 74–79

universAAL LDDI ZigBee exporter - Home Automation - org/universAAL/hw/exporter/zigbee/ha/devices/listeners/OccupancySensorListener.java

Violation Line
This for loop could be simplified to a while loop 74–79

universAAL LDDI ZigBee exporter - Home Automation - org/universAAL/hw/exporter/zigbee/ha/devices/listeners/OnOffLightListener.java

Violation Line
This for loop could be simplified to a while loop 85–90

universAAL LDDI ZigBee exporter - Home Automation - org/universAAL/hw/exporter/zigbee/ha/devices/listeners/PresenceDetectorListener.java

Violation Line
This for loop could be simplified to a while loop 84–89

universAAL LDDI ZigBee exporter - Home Automation - org/universAAL/hw/exporter/zigbee/ha/devices/listeners/TemperatureSensorListener.java

Violation Line
This for loop could be simplified to a while loop 85–90

universAAL LDDI ZWave Exporter - org/universAAL/lddi/zwave/exporter/Server/AbstractSocketServerXSocket.java

Violation Line
Avoid empty catch blocks 184–186
Avoid unused local variables such as 'connectionInfo'. 281
Avoid unused local variables such as 'connectionInfo'. 343

universAAL LDDI ZWave Exporter - org/universAAL/lddi/zwave/exporter/Server/ConnectionLinker.java

Violation Line
Useless parentheses. 116
Useless parentheses. 116

universAAL LDDI ZWave Exporter - org/universAAL/lddi/zwave/exporter/Server/MotionDecoder.java

Violation Line
Avoid unused imports such as 'java.util.ArrayList' 22

universAAL LDDI ZWave Exporter - org/universAAL/lddi/zwave/exporter/Server/MotionServer.java

Violation Line
Avoid unused imports such as 'org.universAAL.lddi.zwave.exporter.MotionContact.MotionContactSensorPublisher' 22

universAAL LDDI ZWave Exporter - org/universAAL/lddi/zwave/exporter/Setup.java

Violation Line
Avoid unused local variables such as 'dir1'. 38