PMD Results

The following document contains the results of PMD 4.2.5.

Files

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

ViolationLine
Avoid unused private fields such as 'libNameWithoutExtension_windows_32'.57
Avoid unused private fields such as 'libNameWithoutExtension_windows_64'.58
Avoid unused private fields such as 'msg_generator'.94
Avoid unused private fields such as 'rmp'.95
Avoid unused private fields such as 'outputData'.97
Avoid unused private methods such as 'releaseHDPDataChannelFileDescriptor(String)'.226

universAAL LDDI Continua Manager service subscriber test - org/universAAL/lddi/subscriber/test/gui/GUI.java

ViolationLine
No need to import a type that lives in the same package45

universAAL LDDI Continua Manager service subscriber test - org/universAAL/lddi/subscriber/test/main/Activator.java

ViolationLine
Avoid unused private fields such as 'sbc'.46

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

ViolationLine
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

ViolationLine
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

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

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

ViolationLine
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) for uAAL - org/universAAL/lddi/exporter/x73/Activator.java

ViolationLine
Avoid unused local variables such as 'logservice'.60

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

ViolationLine
Avoid unused private fields such as 'theServer'.48
Avoid unused private methods such as 'constructx73URIfromLocalID(String)'.176

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

ViolationLine
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) for uAAL - org/universAAL/lddi/exporter/x73/MyAgent.java

ViolationLine
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 - 71
Avoid unused local variables such as 'xmlData'.105
Avoid unused private methods such as 'getTagValue(String,Element)'.116
Avoid empty if statements151 - 153

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

ViolationLine
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 !41

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

ViolationLine
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

ViolationLine
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/apdu/APDUProcessor.java

ViolationLine
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.utils.BitArrayInputStream'31
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.DataReqModeCapab'52
Avoid unused method parameters such as 'rlrq'.374 - 393
Avoid unused method parameters such as 'rlre'.442 - 454
Avoid unused method parameters such as 'abrt'.499 - 503

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

ViolationLine
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.utils.Testing'34
Avoid unused constructor parameters such as 'eventmanager'.70 - 125
Avoid unused private methods such as 'notACKMeasures(ApduType)'.198
Avoid unused local variables such as 'bais'.200
Avoid unused private methods such as 'rejectAssociation()'.223
Avoid unused local variables such as 'bais'.224

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

ViolationLine
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
An empty statement (semicolon) not part of a loop351

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

ViolationLine
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 'year_fixed'.289
Avoid unused local variables such as 'day_fixed'.289
Avoid unused local variables such as 'month_fixed'.289
Avoid unused local variables such as 'hour_fixed'.289
Avoid unused local variables such as 'min_fixed'.289
Avoid unused local variables such as 'secs_fixed'.289
Avoid unused local variables such as 'value_to_fix'.350

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

ViolationLine
These nested if statements could be combined57 - 59

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

ViolationLine
Avoid empty if statements98 - 99

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

ViolationLine
An empty statement (semicolon) not part of a loop40
Avoid unnecessary temporaries when converting primitives to Strings139

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

ViolationLine
These nested if statements could be combined179 - 180

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

ViolationLine
Avoid empty catch blocks203
An empty statement (semicolon) not part of a loop203
These nested if statements could be combined277 - 288
An empty statement (semicolon) not part of a loop290
An empty statement (semicolon) not part of a loop368
An empty statement (semicolon) not part of a loop388
An empty statement (semicolon) not part of a loop458

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

ViolationLine
An empty statement (semicolon) not part of a loop45
These nested if statements could be combined283 - 286
An empty statement (semicolon) not part of a loop323

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

ViolationLine
An empty statement (semicolon) not part of a loop313
These nested if statements could be combined407 - 411
An empty statement (semicolon) not part of a loop607
An empty statement (semicolon) not part of a loop626

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

ViolationLine
Avoid unused local variables such as 'szOfInt'.297
Avoid empty if statements362 - 363
Avoid unused local variables such as 'constraint'.375

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

ViolationLine
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

ViolationLine
Avoid empty catch blocks54 - 56
These nested if statements could be combined123 - 124

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

ViolationLine
Avoid unused private fields such as 'name'.32

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

ViolationLine
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

ViolationLine
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

ViolationLine
Avoid unused private fields such as 'itemClass'.34

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

ViolationLine
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.coders.CoderUtils'26
Avoid unused private fields such as 'hasDefaults'.41
These nested if statements could be combined72 - 75

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

ViolationLine
Ensure you override both equals() and hashCode()27

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

ViolationLine
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

ViolationLine
Avoid unused imports such as 'java.io.File'24
Avoid unused imports such as 'java.util.Hashtable'29
Avoid unused imports such as 'java.util.Iterator'30
Avoid unused imports such as 'java.util.Map'31

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

ViolationLine
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.AbsoluteTimeAdjust'37
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.BITS_16'41

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

ViolationLine
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

ViolationLine
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

ViolationLine
Avoid unused private fields such as 'attrList'.36
The null check here is misplaced; if the variable is null therell be a NullPointerException39

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

ViolationLine
Avoid unused private fields such as 'attrList'.38
The null check here is misplaced; if the variable is null therell be a NullPointerException41

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'24
Avoid unused imports such as 'java.util.LinkedList'25
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.HANDLE'28

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

ViolationLine
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

ViolationLine
The null check here is misplaced; if the variable is null therell be a NullPointerException38

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

ViolationLine
Avoid unused private fields such as 'attrList'.52
The null check here is misplaced; if the variable is null therell be a NullPointerException55

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

ViolationLine
Avoid unused private fields such as 'attrList'.37
The null check here is misplaced; if the variable is null therell be a NullPointerException41

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

ViolationLine
Avoid unused private fields such as 'segmentlist'.43

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

ViolationLine
Avoid unused private fields such as 'attrList'.39
The null check here is misplaced; if the variable is null therell be a NullPointerException43

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

ViolationLine
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

ViolationLine
Avoid unused private fields such as 'manager'.44

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

ViolationLine
These nested if statements could be combined180 - 184
Avoid empty catch blocks424 - 426

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

ViolationLine
Avoid unused private fields such as 'animationDescriptions'.41

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

ViolationLine
Avoid empty if statements134 - 136
These nested if statements could be combined139 - 150

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

ViolationLine
Avoid unnecessary temporaries when converting primitives to Strings172
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.376
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.379
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.410
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.414
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.446
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.450
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.481
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.485

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

ViolationLine
Avoid unused private fields such as 'serverFS20DeviceRestrictions'.137

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

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

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

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

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

ViolationLine
Avoid unused imports such as 'java.util.Set'26

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

ViolationLine
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

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

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

ViolationLine
Avoid unused constructor parameters such as 'bpDescription'.59 - 69
Avoid unused constructor parameters such as 'bpName'.59 - 69
Avoid unused constructor parameters such as 'bpType'.59 - 69

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

ViolationLine
Avoid unused private fields such as 'repeat'.46
Avoid unused private fields such as 'targetIsGroupAddress'.56
Avoid unused private fields such as 'routingCounter'.62

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

ViolationLine
Avoid unused private fields such as 'pc'.72

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

ViolationLine
Avoid unused private fields such as 'IAS_WD_STOP'.83
Avoid unused private fields such as 'IAS_WD_BURGLAR'.84
Avoid unused private fields such as 'IAS_WD_FIRE'.85
Avoid empty catch blocks715

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

ViolationLine
These nested if statements could be combined103 - 107

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

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.182
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.190

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

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.141

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

ViolationLine
This for loop could be simplified to a while loop91 - 96

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

ViolationLine
This for loop could be simplified to a while loop81 - 86

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

ViolationLine
This for loop could be simplified to a while loop81 - 86

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

ViolationLine
This for loop could be simplified to a while loop91 - 96

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

ViolationLine
This for loop could be simplified to a while loop91 - 96

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

ViolationLine
This for loop could be simplified to a while loop91 - 96

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

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.125

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

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.123

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

ViolationLine
Avoid empty catch blocks182 - 184
Avoid unused local variables such as 'connectionInfo'.282
Avoid unused local variables such as 'connectionInfo'.342

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

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'23

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

ViolationLine
Avoid unused imports such as 'org.universAAL.lddi.zwave.exporter.MotionContact.MotionContactSensorPublisher'23

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

ViolationLine
Avoid unused imports such as 'java.io.FileOutputStream'24
Avoid unused local variables such as 'dir1'.43

universAAL Middleware Broker API (Core) - org/universAAL/middleware/brokers/message/aalspace/AALSpaceMessage.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.brokers.message.BrokerMessageFields'25
Avoid unused imports such as 'org.universAAL.middleware.interfaces.ChannelDescriptor'27
Avoid unused imports such as 'com.google.gson.Gson'31
Avoid unused imports such as 'com.google.gson.GsonBuilder'32

universAAL Middleware Broker API (Core) - org/universAAL/middleware/brokers/message/control/ControlMessage.java

ViolationLine
Avoid unused private fields such as 'space'.49
Avoid unused private fields such as 'payload'.50

universAAL Middleware Broker API (Core) - org/universAAL/middleware/brokers/message/gson/BrokerMessageSerializer.java

ViolationLine
Avoid unused local variables such as 'prim'.62

universAAL Middleware Broker Control (Core) - org/universAAL/middleware/brokers/control/ControlBroker.java

ViolationLine
Avoid unused imports such as 'java.util.Collections'28
Avoid unused imports such as 'org.universAAL.middleware.brokers.message.BrokerMessage.BrokerMessageTypes'37
Avoid empty catch blocks410 - 412
Avoid unused local variables such as 'METHOD'.803

universAAL Middleware Broker Control (Core) - org/universAAL/middleware/brokers/control/WaitForResponse.java

ViolationLine
Avoid unused private fields such as 'timeout'.34

universAAL Middleware Context Bus (Core) - org/universAAL/middleware/context/ContextEvent.java

ViolationLine
These nested if statements could be combined455 - 456

universAAL Middleware Context Bus (Core) - org/universAAL/middleware/context/ContextEventPattern.java

ViolationLine
These nested if statements could be combined114 - 168

universAAL Middleware Context Bus (Core) - org/universAAL/middleware/context/impl/ContextStrategy.java

ViolationLine
Avoid empty catch blocks183 - 184

universAAL Middleware Bus JUnit - org/universAAL/middleware/bus/junit/ManifestTestCase.java

ViolationLine
Avoid empty while statements209 - 210
These nested if statements could be combined242 - 243
These nested if statements could be combined246 - 247
These nested if statements could be combined259 - 261

universAAL Middleware Bus Model (Core) - org/universAAL/middleware/bus/model/BusStrategy.java

ViolationLine
Avoid unused private fields such as 'name'.74
Avoid empty catch blocks197 - 198

universAAL Middleware Service Annotated API (Core) - org/universAAL/middleware/api/impl/ServiceCalleeWrapper.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.api.SimpleServiceRegistrator'28
Avoid unused constructor parameters such as 'serviceURI'.66 - 85
Avoid unused constructor parameters such as 'namespace'.66 - 85

universAAL Middleware Service Annotated API (Core) - org/universAAL/middleware/api/SimpleServiceRegistrator.java

ViolationLine
Avoid unused method parameters such as 'name'.387 - 456

universAAL Middleware Service Bus (Core) - org/universAAL/middleware/service/aapi/AapiServiceResponse.java

ViolationLine
Overriding method merely calls super34 - 36

universAAL Middleware Service Bus (Core) - org/universAAL/middleware/service/impl/ServiceMatcher.java

ViolationLine
These nested if statements could be combined360 - 363

universAAL Middleware Service Bus (Core) - org/universAAL/middleware/service/impl/ServiceStrategy.java

ViolationLine
Avoid unused constructor parameters such as 'mc'.139 - 168
Avoid empty if statements165 - 167
Avoid empty catch blocks405 - 406
Avoid empty if statements1066 - 1068
These nested if statements could be combined1257 - 1263
These nested if statements could be combined1267 - 1272
Avoid empty if statements1537 - 1541
Avoid empty catch blocks1786 - 1787

universAAL Middleware Service Bus (Core) - org/universAAL/middleware/service/owl/UserInterfaceService.java

ViolationLine
Avoid empty catch blocks235 - 236

universAAL Middleware Service Bus (Core) - org/universAAL/middleware/service/owls/process/ProcessResult.java

ViolationLine
These nested if statements could be combined205 - 225

universAAL Middleware Service Bus (Core) - org/universAAL/middleware/service/owls/profile/NumberOfSamples.java

ViolationLine
These nested if statements could be combined72 - 76

universAAL Middleware Service Bus (Core) - org/universAAL/middleware/service/owls/profile/QoSRating.java

ViolationLine
These nested if statements could be combined68 - 71

universAAL Middleware Service Bus (Core) - org/universAAL/middleware/service/owls/profile/ResponseTimeInMilliseconds.java

ViolationLine
These nested if statements could be combined69 - 73

universAAL Middleware Service Bus (Core) - org/universAAL/middleware/service/owls/profile/SingleLocationParameter.java

ViolationLine
These nested if statements could be combined71 - 74

universAAL Middleware Service Bus (Core) - org/universAAL/middleware/service/ServiceCall.java

ViolationLine
Avoid unused constructor parameters such as 'dummy'.93 - 96

universAAL Middleware User Interaction Bus (Core) - org/universAAL/middleware/ui/impl/generic/CallBasedStrategy.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.bus.model.BusStrategy'24

universAAL Middleware User Interaction Bus (Core) - org/universAAL/middleware/ui/impl/generic/CoordinatedStrategy.java

ViolationLine
Avoid empty catch blocks326 - 327

universAAL Middleware User Interaction Bus (Core) - org/universAAL/middleware/ui/impl/UIStrategyCaller.java

ViolationLine
Avoid empty if statements308 - 312
Avoid unused method parameters such as 'callerID'.447 - 455

universAAL Middleware User Interaction Bus (Core) - org/universAAL/middleware/ui/impl/UIStrategyHandler.java

ViolationLine
These nested if statements could be combined386 - 390

universAAL Middleware User Interaction Bus (Core) - org/universAAL/middleware/ui/IUIBus.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.ui.rdf.Submit'27

universAAL Middleware User Interaction Bus (Core) - org/universAAL/middleware/ui/rdf/Form.java

ViolationLine
Avoid empty catch blocks507 - 508

universAAL Middleware User Interaction Bus (Core) - org/universAAL/middleware/ui/rdf/Range.java

ViolationLine
Avoid unused local variables such as 'step'.218

universAAL Middleware User Interaction Bus (Core) - org/universAAL/middleware/ui/UICaller.java

ViolationLine
These nested if statements could be combined167 - 170

universAAL Middleware User Interaction Bus (Core) - org/universAAL/middleware/ui/UIHandler.java

ViolationLine
These nested if statements could be combined74 - 79

universAAL Middleware User Interaction Bus (Core) - org/universAAL/middleware/ui/UIHandlerProfile.java

ViolationLine
These nested if statements could be combined97 - 100

universAAL Middleware Connector API (Core) - org/universAAL/middleware/connectors/util/ChannelMessage.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'23
Avoid unused imports such as 'org.universAAL.middleware.interfaces.PeerRole'28

universAAL Middleware Connector Communication JGroups (Core) - org/universAAL/middleware/connectors/communication/jgroups/JGroupsCommunicationConnector.java

ViolationLine
Avoid unused imports such as 'java.util.Collections'30
Avoid unused imports such as 'org.jgroups.Message.Flag'41
Avoid unused imports such as 'org.jgroups.util.UUID'50
Avoid unused local variables such as 'protocols'.405
Avoid unused local variables such as 'protocols'.431
Avoid unused method parameters such as 'code'.551 - 558
Avoid unused method parameters such as 'code'.560 - 566
Avoid unused local variables such as 's'.583
Avoid unused local variables such as 'prova'.585

universAAL Middleware Connector Communication JGroups (Core) - org/universAAL/middleware/connectors/communication/jgroups/util/CryptUtil.java

ViolationLine
Avoid unused imports such as 'java.util.Vector'31

universAAL Middleware Connector Discovery SLP (Core) - org/universAAL/middleware/connectors/discovery/slp/SLPDiscoveryConnector.java

ViolationLine
Avoid unused local variables such as 'activeTasks'.179

universAAL Middleware Container Interfaces (Core) - org/universAAL/middleware/container/utils/Messages.java

ViolationLine
Avoid empty catch blocks151 - 153

universAAL Middleware Container Interfaces (Core) - org/universAAL/middleware/container/utils/StringUtils.java

ViolationLine
Avoid empty catch blocks57 - 58

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/datarep/DataRepFactory.java

ViolationLine
Unnecessary final modifier in final class37 - 46

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/AllValuesFromRestriction.java

ViolationLine
These nested if statements could be combined144 - 147

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/BoundedValueRestriction.java

ViolationLine
These nested if statements could be combined77 - 79
These nested if statements could be combined189 - 217

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/Complement.java

ViolationLine
These nested if statements could be combined80 - 81

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/ExactCardinalityRestriction.java

ViolationLine
Avoid unused constructor parameters such as 'propURI'.64 - 70
Avoid unused constructor parameters such as 'value'.64 - 70
Avoid unused constructor parameters such as 'ce'.64 - 70
Unnecessary final modifier in final class77 - 83
These nested if statements could be combined126 - 127

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/HasValueRestriction.java

ViolationLine
These nested if statements could be combined110 - 111

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/MaxCardinalityRestriction.java

ViolationLine
Avoid unused constructor parameters such as 'propURI'.64 - 70
Avoid unused constructor parameters such as 'value'.64 - 70
Avoid unused constructor parameters such as 'ce'.64 - 70
Unnecessary final modifier in final class77 - 83
These nested if statements could be combined123 - 124

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/MergedRestriction.java

ViolationLine
Unnecessary final modifier in final class185 - 192
Unnecessary final modifier in final class215 - 226
Unnecessary final modifier in final class255 - 292
Unnecessary final modifier in final class325 - 352
Unnecessary final modifier in final class385 - 397
Unnecessary final modifier in final class418 - 447
Unnecessary final modifier in final class468 - 476
These nested if statements could be combined1351 - 1352

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/MinCardinalityRestriction.java

ViolationLine
Avoid unused constructor parameters such as 'propURI'.64 - 70
Avoid unused constructor parameters such as 'value'.64 - 70
Avoid unused constructor parameters such as 'ce'.64 - 70
Unnecessary final modifier in final class77 - 83
These nested if statements could be combined123 - 124

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/ObjectProperty.java

ViolationLine
Avoid unused private fields such as 'inverseOf'.62

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/OntologyManagement.java

ViolationLine
These nested if statements could be combined487 - 488
These nested if statements could be combined526 - 527

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/supply/LevelRating.java

ViolationLine
Unnecessary final modifier in final class92 - 97

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/supply/Rating.java

ViolationLine
Unnecessary final modifier in final class136 - 141

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/owl/util/OntologyTest.java

ViolationLine
These nested if statements could be combined329 - 358

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/rdf/LangString.java

ViolationLine
Overriding method merely calls super252 - 254

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/rdf/Property.java

ViolationLine
Avoid unused private fields such as 'equivalentProperties'.64

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/rdf/PropertyPath.java

ViolationLine
Ensure you override both equals() and hashCode()176

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/rdf/RDFClassInfo.java

ViolationLine
These nested if statements could be combined116 - 117
These nested if statements could be combined317 - 318
These nested if statements could be combined348 - 349

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/rdf/Resource.java

ViolationLine
Avoid unused constructor parameters such as 'numProps'.219 - 222
Avoid empty if statements482 - 484
These nested if statements could be combined871 - 874
These nested if statements could be combined884 - 887
These nested if statements could be combined1133 - 1137

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/rdf/UnmodifiableResource.java

ViolationLine
Unnecessary final modifier in final class73 - 76
Unnecessary final modifier in final class228 - 230
Unnecessary final modifier in final class233 - 235
Unnecessary final modifier in final class238 - 240
Unnecessary final modifier in final class243 - 245
Unnecessary final modifier in final class248 - 250
Unnecessary final modifier in final class253 - 255
Unnecessary final modifier in final class258 - 260
Unnecessary final modifier in final class263 - 265
Unnecessary final modifier in final class267 - 269
Unnecessary final modifier in final class271 - 273

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/rdf/UnmodifiableResourceList.java

ViolationLine
Unnecessary final modifier in final class88 - 90

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/rdf/Variable.java

ViolationLine
Avoid empty catch blocks94 - 95
Avoid empty catch blocks113 - 114
Avoid empty catch blocks134 - 135

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/util/GraphIterator.java

ViolationLine
These nested if statements could be combined124 - 125

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/util/ResourceComparator.java

ViolationLine
Avoid empty if statements276 - 282

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/xsd/Base64Binary.java

ViolationLine
Unnecessary final modifier in final class60 - 62
Unnecessary final modifier in final class64 - 71
Ensure you override both equals() and hashCode()73

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/xsd/NonNegativeInteger.java

ViolationLine
Ensure you override both equals() and hashCode()71

universAAL Middleware Data Representation (Core) - org/universAAL/middleware/xsd/util/Base64.java

ViolationLine
Unnecessary final modifier in final class451 - 459
Unnecessary final modifier in final class467 - 475
Avoid empty catch blocks734 - 735
Avoid empty catch blocks738 - 739
Avoid empty catch blocks742 - 743
Avoid empty catch blocks746 - 747
Avoid empty catch blocks778 - 780
Avoid empty catch blocks859 - 861
Avoid empty catch blocks942 - 946
Avoid empty catch blocks1021 - 1022
Avoid empty catch blocks1025 - 1026
Avoid empty catch blocks1029 - 1030
Avoid empty catch blocks1403 - 1404
Avoid empty catch blocks1407 - 1408
Avoid empty catch blocks1411 - 1412
Avoid empty catch blocks1511 - 1512
Avoid empty catch blocks1515 - 1516
Avoid empty catch blocks1561 - 1562
Avoid empty catch blocks1600 - 1601
Avoid empty catch blocks1663 - 1664
Avoid empty catch blocks1721 - 1722
Avoid empty catch blocks1755 - 1756
Avoid empty catch blocks1787 - 1788

universAAL Middleware RDF Turtle serializer (Core) - org/universAAL/middleware/serialization/turtle/TurtleParser.java

ViolationLine
Avoid unnecessary temporaries when converting primitives to Strings152
Avoid unnecessary temporaries when converting primitives to Strings154
These nested if statements could be combined275 - 314
These nested if statements could be combined1514 - 1533

universAAL Middleware RDF Turtle serializer (Core) - org/universAAL/middleware/serialization/turtle/TurtleWriter.java

ViolationLine
These nested if statements could be combined520 - 521
These nested if statements could be combined817 - 818

universAAL Middleware Interfaces (Core) - org/universAAL/middleware/interfaces/aalspace/AALSpaceDescriptor.java

ViolationLine
Avoid unused imports such as 'java.util.Map'26

universAAL Middleware Interfaces (Core) - org/universAAL/middleware/interfaces/mpa/model/FeaturesRoot.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlRootElement'31

universAAL Middleware Interfaces (Core) - org/universAAL/middleware/interfaces/mpa/UAPPStatus.java

ViolationLine
No need to import a type that lives in the same package27
No need to import a type that lives in the same package28

universAAL Middleware Interfaces (Core) - org/universAAL/middleware/interfaces/utils/Util.java

ViolationLine
Avoid returning from a finally block66

universAAL Middleware Manager AALSpace (Core) - org/universAAL/middleware/managers/aalspace/AALSpaceManagerImpl.java

ViolationLine
Avoid unused private fields such as 'spaceExtension'.114
Avoid unused private fields such as 'joinerFuture'.119
Avoid unused local variables such as 'uuid'.216
Avoid empty catch blocks772 - 773
Avoid unused method parameters such as 'spaces'.823 - 826
Avoid unused local variables such as 'result'.1083

universAAL Middleware Manager AALSpace (Core) - org/universAAL/middleware/managers/aalspace/util/Joiner.java

ViolationLine
Avoid unused private fields such as 'stop'.40

universAAL Middleware Manager API (Core) - org/universAAL/middleware/managers/api/DeployManager.java

ViolationLine
Avoid unused imports such as 'java.net.URI'24
Avoid unused imports such as 'java.util.Map'25

universAAL Middleware Manager Deploy (Core) - org/universAAL/middleware/managers/deploy/DeployManagerImpl.java

ViolationLine
Avoid unused method parameters such as 'timeout'.640 - 677
Avoid empty if statements1149 - 1151

universAAL Middleware Module AALSpace (Core) - org/universAAL/middleware/modules/aalspace/AALSpaceModuleImpl.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.brokers.message.BrokerMessage.BrokerMessageTypes'33
Avoid unused imports such as 'org.universAAL.middleware.brokers.message.BrokerMessageFields'34
Avoid unused imports such as 'org.universAAL.middleware.brokers.message.aalspace.AALSpaceMessageFields'38
Avoid unused imports such as 'org.universAAL.middleware.interfaces.aalspace.AALSpaceType'53
Avoid unused imports such as 'com.google.gson.Gson'61
Avoid unused local variables such as 'checkedPeer'.1156

universAAL Middleware Module Communication (Core) - org/universAAL/middleware/modules/communication/CommunicationModuleImpl.java

ViolationLine
Avoid unused imports such as 'java.io.DataInputStream'34
Avoid unused imports such as 'java.io.File'35
Avoid unused imports such as 'java.io.FileInputStream'36
Avoid unused imports such as 'java.io.FileOutputStream'37
Avoid unused imports such as 'java.security.KeyPair'38
Avoid unused imports such as 'java.security.KeyPairGenerator'39
Avoid unused imports such as 'java.security.PrivateKey'40
Avoid unused imports such as 'java.security.PublicKey'41
Avoid unused imports such as 'java.security.SecureRandom'42
Avoid unused imports such as 'java.util.Vector'43
Avoid unused imports such as 'javax.crypto.Cipher'45
Avoid unused imports such as 'javax.crypto.KeyGenerator'46
Avoid unused imports such as 'javax.crypto.SecretKey'47
Avoid unused imports such as 'javax.crypto.SecretKeyFactory'48
Avoid unused imports such as 'javax.crypto.spec.DESKeySpec'49
Avoid unused private fields such as 'aalSpaceModule'.82
Avoid unused private fields such as 'messageQueue'.87
Avoid unused private fields such as 'CORE_POOL_SIZE'.88
Avoid unused private fields such as 'MAXIMUM_POOL_SIZE'.89
Avoid unused private fields such as 'KEEP_ALIVE_TIME'.90

universAAL Middleware Deploy Connector Karaf (OSGi) - org/universAAL/middleware/connectors/deploy/karaf/KarafDeployConnector.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.interfaces.mpa.model.Part'52
Avoid unused private fields such as 'initialized'.76
Avoid unused private fields such as 'UAPP_SUFFIX'.77
Avoid unused private fields such as 'unmarshaller'.86
Avoid unused private fields such as 'unmarshallerKaraf'.87
Avoid unused private fields such as 'marshaller'.88
Avoid unused private fields such as 'marshallerKaraf'.89
Avoid unused local variables such as 'zipEntry'.227

universAAL Middleware OSGi Container - org/universAAL/middleware/container/osgi/uAALBundleContext.java

ViolationLine
Avoid empty catch blocks172 - 173
Avoid empty catch blocks338 - 340
Avoid empty catch blocks353 - 355
Avoid empty catch blocks368 - 370
Avoid unused private methods such as 'getBundleList()'.375

universAAL Middleware OSGi Container - org/universAAL/middleware/container/osgi/util/Messages.java

ViolationLine
Avoid empty catch blocks101 - 102

universAAL Middleware Data Representation (OSGi) - org/universAAL/middleware/datarep/osgi/Activator.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.container.utils.LogUtils'32

universAAL Middleware Karaf Shell - org/universAAL/middleware/shell/universAAL/osgi/TargetAALSpaceCommand.java

ViolationLine
Avoid unused private fields such as 'aalSpaceManager'.37

universAAL Middleware Karaf Shell - org/universAAL/middleware/shell/universAAL/osgi/UAPPCommand.java

ViolationLine
Avoid unused imports such as 'java.util.Map'23
Avoid unused imports such as 'org.osgi.framework.ServiceReference'27
Avoid unused imports such as 'org.universAAL.middleware.interfaces.mpa.UAPPStatus'28
Avoid unused imports such as 'org.universAAL.middleware.interfaces.mpa.Pair'29
Avoid unused imports such as 'org.universAAL.middleware.managers.api.DeployManager'30

universAAL Middleware XSD Schemas - org/universAAL/middleware/interfaces/aalspace/model/IAALSpace.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.interfaces.aalspace.xml.model.Aalspace'23

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/AttributeReply.java

ViolationLine
These nested if statements could be combined94 - 98

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/AttributeRequest.java

ViolationLine
Avoid unused imports such as 'ch.ethz.iks.slp.ServiceLocationException'37

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/DAAdvertisement.java

ViolationLine
These nested if statements could be combined133 - 137

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/ServiceAcknowledgement.java

ViolationLine
Avoid unused imports such as 'ch.ethz.iks.slp.ServiceLocationException'36

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/ServiceDeregistration.java

ViolationLine
These nested if statements could be combined109 - 113

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/ServiceRegistration.java

ViolationLine
These nested if statements could be combined140 - 144

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/ServiceReply.java

ViolationLine
These nested if statements could be combined90 - 93

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/ServiceRequest.java

ViolationLine
Avoid unused imports such as 'ch.ethz.iks.slp.ServiceLocationException'38

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/ServiceTypeReply.java

ViolationLine
Avoid unused imports such as 'ch.ethz.iks.slp.ServiceLocationException'35

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/ServiceTypeRequest.java

ViolationLine
Avoid unused imports such as 'ch.ethz.iks.slp.ServiceLocationException'38

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/SLPConfiguration.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.251 - 252
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.261 - 262

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/SLPCore.java

ViolationLine
Avoid unused imports such as 'java.net.Inet4Address'42
Avoid unused imports such as 'java.net.InetSocketAddress'44
Avoid unused imports such as 'java.net.SocketAddress'48
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 !98
Avoid empty catch blocks208 - 209
Avoid empty catch blocks217 - 218
Avoid empty catch blocks226 - 227
Avoid empty finally blocks936 - 938
Avoid empty catch blocks1007 - 1008

universAAL Thirdparty jslp library (Core) - ch/ethz/iks/slp/impl/SLPDaemonImpl.java

ViolationLine
These nested if statements could be combined368 - 370

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

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

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

ViolationLine
These nested if statements could be combined434 - 435

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.73

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
Avoid unused imports such as 'java.util.Hashtable'19
Avoid unused imports such as 'java.util.ArrayList'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'23

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

ViolationLine
No need to import a type that lives in the same package27
Overriding method merely calls super53 - 56

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

ViolationLine
No need to import a type that lives in the same package27

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

ViolationLine
Ensure you override both equals() and hashCode()83

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

ViolationLine
Ensure you override both equals() and hashCode()79

universAAL Ontology for Health Measurements - org/universAAL/ontology/healthmeasurement/owl/HealthMeasurementOntology.java

ViolationLine
Avoid unused local variables such as 'beatsPerMinute'.150

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

ViolationLine
Avoid unused imports such as 'org.universAAL.ontology.profile.User'54

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

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

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

ViolationLine
Ensure you override both equals() and hashCode()89

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

ViolationLine
Avoid unused constructor parameters such as 'stTime'.43 - 46
Avoid unused constructor parameters such as 'duration'.43 - 46
Avoid unused constructor parameters such as 'performed'.43 - 46

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

ViolationLine
Ensure you override both equals() and hashCode()82

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

ViolationLine
Avoid unused constructor parameters such as 'description'.69 - 93
Avoid unused constructor parameters such as 'assistedPerson'.69 - 93
Avoid unused constructor parameters such as 'description'.95 - 121
Avoid unused constructor parameters such as 'assistedPerson'.95 - 121
Avoid unused constructor parameters such as 'description'.147 - 169
Avoid unused constructor parameters such as 'description'.171 - 194

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

ViolationLine
Avoid unused constructor parameters such as 'recurrence'.50 - 54

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

ViolationLine
Overriding method merely calls super50 - 53
Overriding method merely calls super55 - 57

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

ViolationLine
Overriding method merely calls super56 - 58
Overriding method merely calls super60 - 62

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

ViolationLine
Overriding method merely calls super82 - 85
Overriding method merely calls super87 - 89

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

ViolationLine
Overriding method merely calls super58 - 61
Overriding method merely calls super63 - 65

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

ViolationLine
Overriding method merely calls super49 - 52
Overriding method merely calls super54 - 56

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

ViolationLine
Overriding method merely calls super60 - 62
Overriding method merely calls super64 - 66

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

ViolationLine
Overriding method merely calls super81 - 84
Overriding method merely calls super86 - 88

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

ViolationLine
Overriding method merely calls super56 - 59
Overriding method merely calls super61 - 63

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

ViolationLine
Overriding method merely calls super56 - 58

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

ViolationLine
Overriding method merely calls super54 - 56

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

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'20
Overriding method merely calls super54 - 56

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

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual'20
Overriding method merely calls super54 - 56

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

ViolationLine
Overriding method merely calls super60 - 62

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

ViolationLine
Overriding method merely calls super61 - 63

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

ViolationLine
Overriding method merely calls super67 - 69

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

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.67

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

ViolationLine
Overriding method merely calls super53 - 55

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

ViolationLine
Overriding method merely calls super61 - 63

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

ViolationLine
Ensure you override both equals() and hashCode()117

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

ViolationLine
Overriding method merely calls super60 - 62

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

ViolationLine
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

ViolationLine
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 super45 - 47

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

ViolationLine
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

ViolationLine
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 super45 - 47

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

ViolationLine
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 super44 - 46

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

ViolationLine
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/MDS.java

ViolationLine
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

ViolationLine
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

ViolationLine
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 super45 - 47

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

ViolationLine
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

ViolationLine
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

ViolationLine
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

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

universAAL Remote Interoperability SOAP Server - org/universAAL/ri/soap/cxf/server/osgi/Activator.java

ViolationLine
Avoid unused private fields such as '_sr'.34

universAAL Remote Interoperability AALSpace Gateway - org/universAAL/ri/gateway/communicator/service/impl/CommunicatorStarter.java

ViolationLine
Avoid unused private fields such as 'context'.61
Avoid unused private fields such as 'id'.68

universAAL Remote Interoperability AALSpace Gateway - org/universAAL/ri/gateway/communicator/service/impl/GatewayCommunicatorImpl.java

ViolationLine
Avoid empty catch blocks662 - 664

universAAL Remote Interoperability AALSpace Gateway - org/universAAL/ri/gateway/eimanager/impl/exporting/ExportedProxyManager.java

ViolationLine
Avoid unused private fields such as 'contextBus'.64

universAAL Remote Interoperability AALSpace Gateway - org/universAAL/ri/gateway/eimanager/impl/exporting/ProxyServiceCaller.java

ViolationLine
Avoid unused private fields such as 'serverNamespace'.42

universAAL Remote Interoperability AALSpace Gateway - org/universAAL/ri/gateway/eimanager/impl/ExportManagerImpl.java

ViolationLine
Avoid unused private fields such as 'communicator'.53

universAAL Remote Interoperability AALSpace Gateway - org/universAAL/ri/gateway/eimanager/impl/importing/ImportedProxyManager.java

ViolationLine
These nested if statements could be combined112 - 116
These nested if statements could be combined194 - 196

universAAL Remote Interoperability AALSpace Gateway - org/universAAL/ri/gateway/eimanager/impl/importing/ProxyContextPublisher.java

ViolationLine
Avoid unused constructor parameters such as 'info'.36 - 42

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/internetgateway/InternetGateway.java

ViolationLine
Avoid unused imports such as 'org.universAAL.ri.wsdlToolkit.invocation.InvocationResult'28
These nested if statements could be combined55 - 57

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/restToolkit/ClientHttpRequest.java

ViolationLine
Avoid unused private methods such as 'postCookies()'.121
Avoid unused local variables such as 'navailable'.192

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/restToolkit/RestClient.java

ViolationLine
Avoid unused imports such as 'java.io.BufferedWriter'24
Avoid unused imports such as 'java.util.Map'31
Avoid unused local variables such as 'data'.41

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/axis2Parser/AdditionalTypesParser.java

ViolationLine
Avoid empty if statements2632 - 2634
Avoid unused local variables such as 'elem1'.3340
These nested if statements could be combined3441 - 3443

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/axis2Parser/Axis2ParserWrapper.java

ViolationLine
Avoid empty if statements308 - 312
Avoid empty if statements313 - 316
Avoid empty if statements1188 - 1191
These nested if statements could be combined2373 - 2382

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/axis2Parser/ComplexTypesParser.java

ViolationLine
These nested if statements could be combined81 - 126
These nested if statements could be combined82 - 125
Avoid empty if statements164 - 165
Avoid empty if statements203 - 205
Avoid empty try blocks286 - 287
Avoid empty if statements305 - 306
Avoid empty if statements308 - 309
These nested if statements could be combined374 - 379
Avoid empty if statements1076 - 1077
Avoid empty if statements1946 - 1947

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/axis2Parser/ParsingUtils.java

ViolationLine
Avoid empty if statements85 - 92
Avoid empty if statements525 - 527
Avoid empty if statements549 - 551
These nested if statements could be combined665 - 667
These nested if statements could be combined670 - 672

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/axis2Parser/SimpleTypesParser.java

ViolationLine
Avoid empty if statements269 - 271

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/invocation/Axis1WebServiceInvoker.java

ViolationLine
Avoid unused local variables such as 'theInvocationResult'.50
Avoid unused local variables such as 'no'.72
Avoid unused local variables such as 'no'.82
Avoid unused method parameters such as 'theDefinition'.91 - 118
Avoid unused method parameters such as 'theParsedOperation'.91 - 118
Avoid unused local variables such as 'no'.103
Avoid unused local variables such as 'obj'.104
Avoid unused local variables such as 'co'.109
Avoid unused local variables such as 'obj'.110
Avoid unused method parameters such as 'theParsedOperation'.222 - 225
Avoid unused method parameters such as 'operationInput'.222 - 225

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/invocation/Axis2_RpcEncodedMessageBuilder.java

ViolationLine
Avoid unused method parameters such as 'operationNs'.176 - 194

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/invocation/Axis2InvocationResultHandler.java

ViolationLine
Avoid empty catch blocks274 - 275
Avoid unnecessary return statements277
These nested if statements could be combined554 - 611

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/invocation/Axis2InvocationResultHandler_RPC.java

ViolationLine
Avoid empty catch blocks275 - 276
Avoid unnecessary return statements278
Avoid unused local variables such as 'vec'.508
These nested if statements could be combined566 - 623

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/invocation/Axis2InvocationResultHandler_RpcEncoded.java

ViolationLine
Avoid unused private methods such as 'findOMNodesAmongChildren_ITERATIVE(OMElementImpl,QName)'.265 - 266
Avoid empty catch blocks382 - 384

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/invocation/Axis2WebServiceInvoker.java

ViolationLine
Avoid unused local variables such as 'wsdlURL'.61
Avoid unused method parameters such as 'operationNamespace'.398 - 415

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/ioApi/ComplexObject.java

ViolationLine
Avoid unused private methods such as 'checkIfCOhasParentTheSameCO_MOD(ComplexObject)'.575
These nested if statements could be combined591 - 646
These nested if statements could be combined607 - 612
These nested if statements could be combined630 - 635

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/parser/Axis1ParserWrapper.java

ViolationLine
Avoid empty if statements113 - 116
Avoid empty catch blocks133 - 136
Avoid empty if statements206 - 207
Avoid empty if statements226 - 228
Avoid empty if statements363 - 365
These nested if statements could be combined623 - 659
These nested if statements could be combined640 - 656
These nested if statements could be combined879 - 915
These nested if statements could be combined896 - 912
Avoid unused method parameters such as 'theSymbolTable'.1084 - 1088
Avoid empty if statements1478 - 1479
Avoid empty if statements1599 - 1600

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/parser/DocumentStyleWSDLParser.java

ViolationLine
Avoid unused imports such as 'com.ibm.wsdl.extensions.schema.SchemaReferenceImpl'25
Avoid unused local variables such as 'referencedType'.88
Avoid empty if statements93 - 95
Avoid unused method parameters such as 'iterNumber'.168 - 206
Avoid unused method parameters such as 'theWSDLxsdSchema'.168 - 206
These nested if statements could be combined189 - 202
These nested if statements could be combined191 - 201
Avoid unused local variables such as 'baseType'.193
These nested if statements could be combined231 - 263
Avoid unused method parameters such as 'iterNumber'.292 - 650
Avoid empty if statements299 - 301
Avoid empty try blocks304 - 307
Avoid empty catch blocks307 - 309
Avoid empty if statements313 - 315
Avoid unused local variables such as 'objectAlreadyExistsInHashMap'.371
Avoid empty if statements471 - 473
Avoid unused local variables such as 'newNativeObject'.617
Avoid empty if statements624 - 626
Avoid unused local variables such as 'nObjs'.636
These nested if statements could be combined659 - 661
These nested if statements could be combined727 - 736
These nested if statements could be combined728 - 735
These nested if statements could be combined756 - 764
These nested if statements could be combined757 - 763
These nested if statements could be combined783 - 790
These nested if statements could be combined784 - 789
Avoid empty if statements935 - 937
These nested if statements could be combined968 - 1031
These nested if statements could be combined1041 - 1046
These nested if statements could be combined1056 - 1060
These nested if statements could be combined1070 - 1075
These nested if statements could be combined1085 - 1089
These nested if statements could be combined1212 - 1285
Avoid empty if statements1290 - 1292
These nested if statements could be combined1299 - 1308
These nested if statements could be combined1318 - 1326
These nested if statements could be combined1336 - 1343
These nested if statements could be combined1353 - 1361
These nested if statements could be combined1574 - 1585
Avoid empty try blocks1589 - 1595
Avoid empty catch blocks1595 - 1597
Avoid empty if statements1772 - 1774
Avoid empty if statements1779 - 1782
Avoid unused method parameters such as 'iterNumber'.1801 - 1949
Avoid unused method parameters such as 'fromLiteral'.1801 - 1949
Avoid unused local variables such as 'att1'.1874
Avoid empty if statements1876 - 1878
Avoid unused local variables such as 'typeFoundOK'.1889
These nested if statements could be combined1895 - 1903
These nested if statements could be combined1915 - 1922
These nested if statements could be combined1934 - 1940
Avoid empty if statements1983 - 1985
Avoid unused local variables such as 'parsedAttribute'.2103
Avoid unused local variables such as 'nn1'.2292
Avoid unused local variables such as 'parsedAttribute'.2448
Avoid empty if statements2462 - 2464
Avoid unused local variables such as 'parsedAttribute'.2540
Avoid empty if statements2562 - 2564
Avoid unused local variables such as 's'.2581
Avoid empty if statements2592 - 2599

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/parser/MitsosParser.java

ViolationLine
Avoid empty catch blocks311 - 313
Avoid empty catch blocks317 - 319
Avoid empty catch blocks378 - 380
Avoid empty finally blocks409 - 411
Avoid unused local variables such as 'httpbimpl'.446
Avoid empty finally blocks451 - 453
Avoid unused local variables such as 'extel'.463
Avoid unused local variables such as 'mimecontimpl'.494
Avoid empty catch blocks498 - 500
Avoid unused method parameters such as 'no'.585 - 781
Avoid unused local variables such as 'parsedAttribute'.722
Avoid unused local variables such as 's11111'.1209
Avoid empty if statements1234 - 1236
Avoid empty catch blocks1309 - 1313
Avoid empty if statements1314 - 1316
Avoid empty if statements1316 - 1318
Avoid empty if statements1325 - 1328
Avoid empty if statements1330 - 1333
Avoid empty if statements1335 - 1337
Avoid empty catch blocks1338 - 1340
Avoid unused local variables such as 's11111'.1362
Avoid empty if statements1387 - 1389
Avoid empty catch blocks1446 - 1450
Avoid empty if statements1451 - 1453
Avoid empty catch blocks1454 - 1458
Avoid empty if statements1464 - 1467
Avoid empty if statements1468 - 1471
Avoid empty if statements1472 - 1474
Avoid empty catch blocks1475 - 1477
Avoid empty if statements1485 - 1487
Avoid empty if statements1487 - 1489
Avoid unused local variables such as 's11111'.1561
Avoid empty if statements1586 - 1588
Avoid empty if statements1640 - 1643
Avoid empty catch blocks1644 - 1648
Avoid unused local variables such as 's11111'.1658
Avoid empty if statements1683 - 1685
Avoid empty catch blocks1742 - 1746
Avoid empty if statements1751 - 1754
Avoid empty if statements1756 - 1759
Avoid empty if statements1761 - 1763
Avoid empty catch blocks1769 - 1773
Avoid empty if statements1806 - 1808
Avoid empty if statements2014 - 2016
Avoid empty if statements2016 - 2018
Avoid unused method parameters such as 'mitsosDefinition'.2051 - 2086
Avoid unused local variables such as 'imp'.2063
Avoid unused local variables such as 'imp'.2070
Avoid unused local variables such as 'n1'.2101
Avoid empty if statements2110 - 2112
Avoid unused local variables such as 'n1'.2124
Avoid empty if statements2133 - 2135
Avoid empty if statements2136 - 2138
These nested if statements could be combined2186 - 2198
These nested if statements could be combined2642 - 2719
Avoid empty if statements2649 - 2651
Avoid empty if statements2651 - 2653
Avoid unused local variables such as 'typesBelongingToTheComplexType111'.2664
Avoid unused local variables such as 'baseN'.2690
Avoid unused local variables such as 'typeName'.2699
Avoid empty if statements2709 - 2712
Avoid empty if statements2722 - 2724
Avoid empty if statements2734 - 2736
These nested if statements could be combined2774 - 2783
These nested if statements could be combined2982 - 3385

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/parser/WSDL_XSD_SchemaToolkit.java

ViolationLine
Avoid unused imports such as 'com.ibm.wsdl.extensions.schema.SchemaImpl'23
Avoid unused imports such as 'org.w3c.dom.Element'35
Avoid empty if statements69 - 71
Avoid unused local variables such as 'res'.72
Avoid unused local variables such as 'theNodeNamespaceKey'.75
These nested if statements could be combined108 - 173
These nested if statements could be combined181 - 185
These nested if statements could be combined195 - 199
These nested if statements could be combined209 - 213
These nested if statements could be combined224 - 228
Avoid empty if statements252 - 254
Avoid empty if statements291 - 293
Avoid empty if statements332 - 334
Avoid empty finally blocks356 - 357
Avoid empty if statements373 - 375
These nested if statements could be combined431 - 496
These nested if statements could be combined504 - 508
These nested if statements could be combined518 - 522
These nested if statements could be combined532 - 536
These nested if statements could be combined547 - 551
Avoid empty if statements574 - 576
Avoid empty if statements613 - 615
Avoid empty if statements653 - 655
Avoid empty finally blocks677 - 678
Avoid empty if statements722 - 724
Avoid empty catch blocks743 - 745

universAAL Remote Interoperability Internet Gateway - org/universAAL/ri/wsdlToolkit/parser/WSDLParser.java

ViolationLine
Avoid empty catch blocks260 - 262
Avoid empty catch blocks285 - 287
Avoid unused local variables such as 'extel'.302
Avoid empty catch blocks326 - 327
Avoid unused local variables such as 'data'.803

universAAL Remote Interoperability Service Gateway - org/universAAL/ri/servicegateway/impl/Base64.java

ViolationLine
Avoid unused private methods such as 'usage(String)'.447
Avoid unused local variables such as 'dontBreakLines'.606
Avoid empty catch blocks630 - 631
Avoid empty catch blocks634 - 635
Avoid empty catch blocks638 - 639
Avoid empty catch blocks642 - 643
Avoid empty catch blocks771 - 772
Avoid empty catch blocks775 - 776
Avoid empty catch blocks779 - 780
Avoid empty catch blocks1055 - 1057
Avoid empty catch blocks1061 - 1062
Avoid empty catch blocks1065 - 1066
Avoid empty catch blocks1069 - 1070
Avoid empty catch blocks1113 - 1114
Avoid empty catch blocks1117 - 1118
Avoid empty catch blocks1151 - 1152
Avoid empty catch blocks1184 - 1185
Avoid empty catch blocks1238 - 1239
Avoid empty catch blocks1290 - 1291
Avoid empty catch blocks1327 - 1328
Avoid empty catch blocks1331 - 1332
Avoid empty catch blocks1368 - 1369
Avoid empty catch blocks1372 - 1373
Avoid unused private fields such as 'alphabet'.1398
Avoid unused private fields such as 'alphabet'.1616

universAAL Support Integration Tests Framework - org/universAAL/itests/IntegrationTest.java

ViolationLine
Avoid unused imports such as 'org.springframework.osgi.test.platform.Platforms'63
These nested if statements could be combined514 - 528
These nested if statements could be combined516 - 525
These nested if statements could be combined714 - 718
These nested if statements could be combined814 - 836

universAAL Support Integration Tests Framework - org/universAAL/itests/MvnUrlHandler.java

ViolationLine
Avoid unused local variables such as 'localRepo'.100
Avoid unused local variables such as 'modifiedRepo'.121

universAAL Support Manifest Maven Plugin - org/universAAL/support/maven/manifest/ManifestCombine.java

ViolationLine
Avoid empty catch blocks78 - 79

universAAL Support Manifest Maven Plugin - org/universAAL/support/maven/manifest/ManifestWriter.java

ViolationLine
Avoid empty catch blocks45 - 46
Avoid empty catch blocks79 - 80

universAAL Support Manifest Maven Plugin - org/universAAL/support/maven/manifest/MavenPlugin.java

ViolationLine
Avoid unused private fields such as 'combine'.44

universAAL Support Maven Plugin - org/universAAL/maven/LaunchOrderDependencyNodeVisitor.java

ViolationLine
These nested if statements could be combined251 - 256
These nested if statements could be combined390 - 403
These nested if statements could be combined397 - 400

universAAL Support Maven Plugin - org/universAAL/maven/treebuilder/DependencyTreeBuilder.java

ViolationLine
These nested if statements could be combined335 - 338
These nested if statements could be combined344 - 347
These nested if statements could be combined643 - 672
These nested if statements could be combined644 - 671
These nested if statements could be combined988 - 991
These nested if statements could be combined1260 - 1268
These nested if statements could be combined1262 - 1267
These nested if statements could be combined1384 - 1395
These nested if statements could be combined1412 - 1418
These nested if statements could be combined1414 - 1417

universAAL Support Maven Plugin - org/universAAL/maven/treebuilder/ExecutionListCreator.java

ViolationLine
Avoid unused imports such as 'org.apache.maven.plugin.MojoExecutionException'37
Avoid unused imports such as 'org.apache.maven.plugin.MojoFailureException'38

universAAL Support Maven Plugin - org/universAAL/maven/UaalRunnerMojo.java

ViolationLine
Too many static imports may lead to messy code21 - 242
Avoid unused private fields such as 'separatedGroupIds'.160

universAAL Support Maven Plugin - org/universAAL/maven/UaalTestMojo.java

ViolationLine
Avoid unused imports such as 'org.sonatype.inject.Parameters'45

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/checks/CodificationCheck.java

ViolationLine
Avoid unused imports such as 'java.nio.ByteBuffer'24
Avoid unused imports such as 'java.nio.charset.CharsetDecoder'28

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/checks/DependencyManagementCheckFix.java

ViolationLine
Avoid empty catch blocks175 - 176

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/checks/LicenseFileCheckFix.java

ViolationLine
Avoid empty catch blocks84
Avoid unused local variables such as 'notice'.102

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/checks/MavenCoordinateCheck.java

ViolationLine
Avoid empty catch blocks95 - 96

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/mojos/UpdateParentPom.java

ViolationLine
Avoid empty catch blocks61 - 62

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/procedures/UpdateParentPomInteractiveProcedure.java

ViolationLine
These nested if statements could be combined96 - 102

universAAL Samples AAPI Regular Lighting Client - org/universAAL/samples/lighting/client_regular/LightClient.java

ViolationLine
Avoid unused private methods such as 'setComponentPopupMenu(java.awt.Component,javax.swing.JPopupMenu)'.149

universAAL Samples AAPI Regular Lighting Client - org/universAAL/samples/lighting/client_regular/LightingConsumerLevel1.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.container.utils.LogUtils'25
Avoid unused imports such as 'org.universAAL.middleware.context.ContextEvent'26
Avoid unused imports such as 'org.universAAL.middleware.context.ContextEventPattern'27
Avoid unused imports such as 'org.universAAL.middleware.context.ContextSubscriber'28
Avoid unused imports such as 'org.universAAL.middleware.owl.MergedRestriction'29
Avoid unused imports such as 'org.universAAL.ontology.lighting.simple.LightingServerURIs'37
Avoid unused imports such as 'org.universAAL.ontology.lighting.simple.LightingSimplified'38
Avoid unused imports such as 'org.universAAL.ontology.phThing.Device'39

universAAL Samples AAPI Regular Lighting Client - org/universAAL/samples/lighting/client_regular/LightingConsumerLevel2.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.container.utils.LogUtils'29

universAAL Samples AAPI Regular Lighting Server - org/universAAL/samples/lighting/server_regular/LightingProviderLevel3.java

ViolationLine
Avoid unused imports such as 'org.universAAL.ontology.location.indoor.Room'34
Avoid unused private methods such as 'constructLampURIfromLocalID(int)'.52
Avoid unused private methods such as 'constructLocationURIfromLocalID(String)'.56
Avoid unused private methods such as 'extractLocalIDfromLampURI(String)'.60

universAAL Samples AAPI Regular Lighting Server - org/universAAL/samples/lighting/server_regular/ProvidedLightingServiceLevel1.java

ViolationLine
Avoid unused private fields such as 'serverLightingRestrictions'.43

universAAL Samples AAPI Lighting Server Simplified - org/universAAL/samples/lighting/server/Activator.java

ViolationLine
Avoid unused imports such as 'org.universAAL.ontology.lighting.simple.LightingInterfaceLevel1'28
Avoid unused imports such as 'org.universAAL.ontology.lighting.simple.LightingInterfaceLevel2'29
Avoid unused imports such as 'org.universAAL.ontology.lighting.simple.LightingInterfaceLevel3'30
Avoid empty try blocks46 - 54

universAAL Samples Activity Hub Client - org/universAAL/lddi/samples/activityhub/client/Activator.java

ViolationLine
Avoid unused private fields such as 'contextListener'.40

universAAL Samples Activity Hub Client - org/universAAL/lddi/samples/activityhub/client/ActivityHubClient.java

ViolationLine
Avoid unused imports such as 'java.awt.Scrollbar'24

universAAL Samples Activity Hub Client - org/universAAL/lddi/samples/activityhub/client/MyActivityHubServiceConsumer.java

ViolationLine
Avoid unused local variables such as 'i'.282

universAAL Samples LDDI Simulator of ActivityHub events (ISO 11073-10471) - org/universAAL/lddi/hw/simulator/activityhub/Activator.java

ViolationLine
Avoid unused private fields such as 'ahSimulator'.40

universAAL Samples LDDI Simulator of ActivityHub events (ISO 11073-10471) - org/universAAL/lddi/hw/simulator/activityhub/AHContextPublisherSimulator.java

ViolationLine
Avoid unused imports such as 'org.universAAL.ontology.activityhub.ActivityHubSensorEvent'38
Avoid unused imports such as 'org.universAAL.ontology.activityhub.factory.ActivityHubEventFactory'49

universAAL Samples Device Client - org/universAAL/lddi/samples/device/client/Activator.java

ViolationLine
Avoid unused private fields such as 'contextListener'.40

universAAL Samples Device Client - org/universAAL/lddi/samples/device/client/DeviceClient.java

ViolationLine
Avoid unused imports such as 'javax.swing.Action'27
Avoid unused private fields such as 'field1'.83

universAAL Samples Device Client - org/universAAL/lddi/samples/device/client/DeviceServiceCaller.java

ViolationLine
Avoid unused imports such as 'org.universAAL.ontology.device.SwitchActuator'32
Avoid unused imports such as 'org.universAAL.ontology.device.ValueDevice'34
Avoid unused private methods such as 'setLightValueRequest(String,int)'.103

universAAL Samples Context bus tester for Android - org/universAAL/samples/ctxtbus/CPublisher.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.182

universAAL Samples Context bus tester - org/universAAL/samples/ctxtbus/CPublisher.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.186
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.198

universAAL Samples Context bus tester - org/universAAL/samples/ctxtbus/GUIPanel.java

ViolationLine
Avoid unused method parameters such as 'evt'.663 - 674
Avoid unused method parameters such as 'evt'.676 - 687
Avoid unused method parameters such as 'evt'.689 - 725
Avoid unused method parameters such as 'evt'.727 - 737
Avoid unused method parameters such as 'evt'.739 - 748
Avoid unused method parameters such as 'evt'.750 - 753
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.805
Avoid unused method parameters such as 'evt'.887 - 890
Avoid unused method parameters such as 'evt'.892 - 904
Avoid unused local variables such as 'query'.893
Avoid unused method parameters such as 'evt'.906 - 922
Avoid unused method parameters such as 'evt'.924 - 937
Avoid unused method parameters such as 'evt'.945 - 1021

universAAL Samples Context bus tester - org/universAAL/samples/ctxtbus/ProfileCaller.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'25
Avoid unused imports such as 'org.universAAL.ontology.vcard.Tel'51

universAAL Samples Service bus tester - org/universAAL/samples/servbus/GUIPanel.java

ViolationLine
Avoid unused constructor parameters such as 'context'.59 - 67
Avoid unused method parameters such as 'evt'.135 - 186
Avoid unused method parameters such as 'evt'.188 - 223

universAAL Samples Service bus Test Server - org/universAAL/samples/servserver/SCallee.java

ViolationLine
Avoid unused method parameters such as 'lampURI'.97 - 110

universAAL Samples UI bus tester - org/universAAL/samples/uibus/GUIPanel.java

ViolationLine
Avoid unused constructor parameters such as 'context'.50 - 58
Avoid unused method parameters such as 'evt'.163 - 173
Avoid unused method parameters such as 'evt'.193 - 204

universAAL Samples UI bus tester - org/universAAL/samples/uibus/OPublisher.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.ui.rdf.Repeat'46

universAAL Samples LDDI Continua Manager Client (unix OS version) - org/universAAL/lddi/manager/publisher/hdpManager.java

ViolationLine
Avoid unused private fields such as 'libNameWithoutExtension_windows_32'.56
Avoid unused private fields such as 'libNameWithoutExtension_windows_64'.57
Avoid unused private fields such as 'msg_generator'.93
Avoid unused private fields such as 'rmp'.94
Avoid unused private fields such as 'outputData'.96
Avoid unused private methods such as 'releaseHDPDataChannelFileDescriptor(String)'.219

universAAL Samples LDDI Continua Manager Client (windows OS version) - org/universAAL/lddi/manager/publisher/Activator.java

ViolationLine
Avoid unused private fields such as 'service'.62

universAAL Samples LDDI Continua Manager Client (windows OS version) - org/universAAL/lddi/manager/publisher/hdpManager.java

ViolationLine
Avoid unused private fields such as 'dataTypeValue'.47
These nested if statements could be combined184 - 186

universAAL Samples LDDI Continua Manager Client (windows OS version) - org/universAAL/lddi/manager/publisher/ServiceProvider.java

ViolationLine
Avoid unused local variables such as 'inputUser'.93

universAAL Samples LDDI Weighing scale agent publisher - org/universAAL/lddi/weighingscale/publisher/hdpManager.java

ViolationLine
Avoid unused private fields such as 'msg_generator'.91
Avoid unused private fields such as 'rmp'.92
Avoid unused private methods such as 'releaseHDPDataChannelFileDescriptor(String)'.217
These nested if statements could be combined375 - 382

universAAL Samples LDDI Weighing scale agent publisher - org/universAAL/lddi/weighingscale/publisher/Publisher.java

ViolationLine
Avoid unused private fields such as 'cp'.47

universAAL Samples Lighting Client (OSGi) - org/universAAL/samples/lighting/client/LightClient.java

ViolationLine
Avoid unused private methods such as 'setComponentPopupMenu(java.awt.Component,javax.swing.JPopupMenu)'.192

universAAL Samples Context Situation Reasoner Test Client - org/universAAL/samples/context/reasoner/client/osgi/GUIActivator.java

ViolationLine
Avoid unused constructor parameters such as 'osgiContext'.33 - 37

universAAL Samples Context Situation Reasoner Test Client - org/universAAL/samples/context/reasoner/client/osgi/UAALInterfaceActivator.java

ViolationLine
Avoid unused constructor parameters such as 'context'.34 - 48

universAAL Samples Middleware Broker Client - org/universAAL/middleware/broker/client/osgi/Activator.java

ViolationLine
Avoid unused local variables such as 'ref'.42

universAAL Samples Middleware Deploy Client - org/universAAL/middleware/managers/deploy/client/osgi/Activator.java

ViolationLine
Avoid unused imports such as 'java.io.File'23
Avoid unused imports such as 'javax.xml.bind.JAXBException'33
Avoid unused imports such as 'org.universAAL.middleware.deploymanager.uapp.model.AalUapp'50
Avoid unused imports such as 'org.universAAL.middleware.deploymanager.uapp.model.ObjectFactory'51
Avoid unused private fields such as 'jc'.68
Avoid unused private fields such as 'unmarshaller'.69
Avoid unused private fields such as 'marshaller'.70
Avoid unused local variables such as 'uAAPUri'.103

universAAL Samples AALSpace Gateway Communicator :: Android Node - org/universAAL/ri/gateway/support/android/LightClient.java

ViolationLine
Avoid unused private methods such as 'setComponentPopupMenu(java.awt.Component,javax.swing.JPopupMenu)'.193

universAAL Samples AALSpace Gateway Communicator :: Home Node - org/universAAL/ri/gateway/support/home/Activator.java

ViolationLine
Avoid unused private fields such as 'provider2'.32

universAAL Samples AALSpace Gateway Communicator :: Home Node - org/universAAL/ri/gateway/support/home/LightingProvider1.java

ViolationLine
No need to import a type that lives in the same package44

universAAL Context CHE - Context History Entrepot for Mobile - org/universAAL/context/chemobile/MobileHistorySubscriber.java

ViolationLine
These nested if statements could be combined75 - 78

universAAL Context CHE - Context History Entrepot - org/universAAL/context/che/Hub.java

ViolationLine
These nested if statements could be combined250 - 252

universAAL Context Drools Reasoner - org/universAAL/drools/Activator.java

ViolationLine
Avoid unused local variables such as 're'.57

universAAL Context Drools Reasoner - org/universAAL/drools/DevelopingRulesUI.java

ViolationLine
Avoid unused imports such as 'javax.swing.JLabel'28

universAAL Context Drools Reasoner - org/universAAL/drools/engine/RulesEngine.java

ViolationLine
Avoid unused imports such as 'org.universAAL.ontology.device.Sensor'60
Avoid unused local variables such as 'a'.356
Avoid empty if statements361 - 363

universAAL Context Drools Reasoner - org/universAAL/drools/engine/Suscriber.java

ViolationLine
Avoid empty if statements63 - 66

universAAL Context Reliability Reasoner - org/universAAL/reliability/reasoner/ReliabilityReasonerPublisher.java

ViolationLine
Avoid unused constructor parameters such as 'providerInfo'.31 - 35

universAAL Context Situation Reasoner - org/universAAL/context/reasoner/RuleModel.java

ViolationLine
These nested if statements could be combined111 - 121

AAL Space Server - org/universAAL/context/space/serv/SCaller.java

ViolationLine
Avoid unused imports such as 'org.universAAL.ontology.profile.Profilable'44
These nested if statements could be combined510 - 512

universAAL Context Sesame SAIL for OWL Lite - org/universAAL/context/sesame/sail/crypt/CryptDataStore.java

ViolationLine
Avoid unused imports such as 'info.aduna.io.ByteArrayUtil'18

universAAL Context Sesame SAIL for OWL Lite - org/universAAL/context/sesame/sail/crypt/CryptUtil.java

ViolationLine
Avoid unused imports such as 'java.util.Vector'31

universAAL Context Sesame SAIL for OWL Lite - org/universAAL/context/sesame/sail/model/NativeBNode.java

ViolationLine
Ensure you override both equals() and hashCode()63

universAAL Context Sesame SAIL for OWL Lite - org/universAAL/context/sesame/sail/model/NativeLiteral.java

ViolationLine
Ensure you override both equals() and hashCode()82

universAAL Context Sesame SAIL for OWL Lite - org/universAAL/context/sesame/sail/model/NativeURI.java

ViolationLine
Ensure you override both equals() and hashCode()67

universAAL Context Sesame SAIL for OWL Lite - org/universAAL/context/sesame/sail/TripleStore.java

ViolationLine
Avoid unused private methods such as 'getCurrentIndexSpecStr()'.434
Avoid unused private methods such as 'checkAllCommitted()'.898

universAAL Context Sesame SAIL for OWL Lite - org/universAAL/context/sesame/sail/ValueStore.java

ViolationLine
Avoid unused method parameters such as 'create'.454 - 464

universAAL UI Dialog Manager 2.0 - org/universAAL/ui/dm/dialogManagement/DialogPoolFileStorage.java

ViolationLine
Avoid empty catch blocks94 - 96

universAAL UI Dialog Manager 2.0 - org/universAAL/ui/dm/ui/preferences/caller/helpers/UIPreferencesSubprofilePrerequisitesHelper.java

ViolationLine
These nested if statements could be combined340 - 341

universAAL UI Dialog Manager 2.0 - org/universAAL/ui/dm/ui/preferences/editor/UIPreferencesDialogBuilder.java

ViolationLine
Avoid unused local variables such as 'currentLang'.245
Avoid unused local variables such as 'systemMenuPreferences'.323
Avoid unused local variables such as 'visualPreferences'.517
Avoid unused local variables such as 'auditoryPreferences'.897
Avoid unused local variables such as 'alertPreferences'.1065
Avoid unused local variables such as 'accessModePreferences'.1112

universAAL UI Dialog Manager 2.0 - org/universAAL/ui/dm/userInteraction/mainMenu/AggregatedMainMenuProvider.java

ViolationLine
Avoid unused imports such as 'org.universAAL.ui.dm.UserDialogManager'31

universAAL UI Dialog Manager 2.0 - org/universAAL/ui/dm/userInteraction/mainMenu/profilable/SCallee.java

ViolationLine
Avoid empty catch blocks203 - 205

universAAL UI Dialog Manager 2.0 - org/universAAL/ui/dm/userInteraction/systemMenu/ClassicSystemMenuProvider.java

ViolationLine
Avoid empty if statements86 - 88

universAAL UI Dialog Manager 2.0 - org/universAAL/ui/dm/userInteraction/systemMenu/SmartPendingSystemMenuProvider.java

ViolationLine
Avoid empty if statements89 - 91
Avoid empty if statements169 - 171
Avoid empty if statements178 - 180

universAAL UI Dialog Manager 2.0 - org/universAAL/ui/dm/userInteraction/systemMenu/TaskBarSystemMenuProvider.java

ViolationLine
Avoid empty if statements94 - 96
Avoid empty if statements181 - 183
Avoid empty if statements199 - 201

universAAL UI Handler Swing Look and Feel Bluesteel - org/universAAL/ui/gui/swing/bluesteelLAF/FormLAF.java

ViolationLine
Avoid unused imports such as 'java.awt.Toolkit'24
Avoid unused imports such as 'javax.swing.border.CompoundBorder'38
Avoid unused imports such as 'javax.swing.border.LineBorder'39
Avoid unused imports such as 'org.universAAL.ui.gui.swing.bluesteelLAF.support.ColorBorder'43
Avoid unused imports such as 'org.universAAL.ui.handler.gui.swing.defaultLookAndFeel.Layout.FormLayout'47

universAAL UI Handler Swing Look and Feel Bluesteel - org/universAAL/ui/gui/swing/bluesteelLAF/GroupPanelLAF.java

ViolationLine
Avoid unused imports such as 'javax.swing.JComponent'22

universAAL UI Handler Swing Look and Feel Bluesteel - org/universAAL/ui/gui/swing/bluesteelLAF/specialButtons/UCCButton.java

ViolationLine
Avoid empty while statements142

universAAL UI Handler Swing Look and Feel Bluesteel - org/universAAL/ui/gui/swing/bluesteelLAF/specialButtons/UStoreButton.java

ViolationLine
Avoid unused constructor parameters such as 'render'.37 - 39

universAAL UI Handler Swing Look and Feel Bluesteel - org/universAAL/ui/gui/swing/bluesteelLAF/support/ImageMedia.java

ViolationLine
Avoid unused imports such as 'java.awt.Image'19
Avoid unused imports such as 'javax.swing.ImageIcon'22

universAAL UI Handler Swing Look and Feel Bluesteel - org/universAAL/ui/gui/swing/bluesteelLAF/support/KickerButton.java

ViolationLine
Avoid unused imports such as 'java.awt.Image'21
Avoid unused imports such as 'javax.swing.ImageIcon'28

universAAL UI Handler Swing Look and Feel Bluesteel - org/universAAL/ui/gui/swing/bluesteelLAF/support/UAALTray.java

ViolationLine
Avoid empty catch blocks76 - 77

universAAL UI Handler Swing Look and Feel Classic - org/universAAL/ui/handler/gui/swing/classic/GroupLAF.java

ViolationLine
These nested if statements could be combined73 - 77
These nested if statements could be combined160 - 168

universAAL UI Handler Swing Look and Feel Classic - org/universAAL/ui/handler/gui/swing/classic/MediaObjectLAF.java

ViolationLine
These nested if statements could be combined53 - 58

universAAL UI Handler Swing Look and Feel Classic - org/universAAL/ui/handler/gui/swing/classic/specialButtons/uCCButton.java

ViolationLine
Avoid empty while statements101

universAAL UI Handler Swing Look and Feel Classic - org/universAAL/ui/handler/gui/swing/classic/specialButtons/uStoreButton.java

ViolationLine
Avoid unused constructor parameters such as 'render'.41 - 43

universAAL UI Handler Swing - org/universAAL/ui/handler/gui/swing/defaultLookAndFeel/Init.java

ViolationLine
Avoid unused imports such as 'javax.swing.JFrame'19

universAAL UI Handler Swing - org/universAAL/ui/handler/gui/swing/defaultLookAndFeel/Layout/VerticalUnitLayout.java

ViolationLine
Avoid unused imports such as 'java.awt.Component'18
Avoid unused imports such as 'java.awt.Container'19
Avoid unused imports such as 'java.awt.Dimension'20
Avoid unused imports such as 'java.awt.Insets'21
Avoid unused imports such as 'javax.swing.JViewport'27

universAAL UI Handler Swing - org/universAAL/ui/handler/gui/swing/defaultLookAndFeel/SimpleOutputLAF.java

ViolationLine
These nested if statements could be combined65 - 68

universAAL UI Handler Swing - org/universAAL/ui/handler/gui/swing/formManagement/OverlayFormManager.java

ViolationLine
Avoid unused private fields such as 'gbSchedule'.74

universAAL UI Handler Swing - org/universAAL/ui/handler/gui/swing/model/FormControl/GroupModel.java

ViolationLine
Overriding method merely calls super83 - 85
Avoid unused private methods such as 'getNewLineCompoent()'.166

universAAL UI Handler Swing - org/universAAL/ui/handler/gui/swing/model/FormControl/InputFieldModel.java

ViolationLine
These nested if statements could be combined172 - 174
These nested if statements could be combined177 - 179
Avoid empty catch blocks234 - 235

universAAL UI Handler Swing - org/universAAL/ui/handler/gui/swing/model/FormControl/MediaObjectModel.java

ViolationLine
Avoid unused imports such as 'java.net.URI'21
Avoid unused imports such as 'java.net.URISyntaxException'22

universAAL UI Handler Swing - org/universAAL/ui/handler/gui/swing/model/Model.java

ViolationLine
Avoid unused imports such as 'java.awt.event.HierarchyListener'23

universAAL UI Handler Swing - org/universAAL/ui/handler/gui/swing/osgi/Activator.java

ViolationLine
Avoid using ThreadGroup; it is not thread safe59

universAAL UI Handler Swing - org/universAAL/ui/handler/gui/swing/Renderer.java

ViolationLine
Avoid empty catch blocks288
Avoid empty catch blocks345
Avoid empty catch blocks718 - 720

universAAL UI Handler SMS - net/vsms/bulksms/SmsSender.java

ViolationLine
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself113
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself116
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself119
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself122
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself125
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself128
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself131
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself134
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself137
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself140
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself143
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself146 - 147
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself150
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself153
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself156
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself159
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself162
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself165
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself168
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself171
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself174 - 175
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself178

universAAL UI HTML5 Web Handler - org/universAAL/ui/ui/handler/web/html/fm/SimpleFormManager.java

ViolationLine
Avoid empty if statements104 - 106

universAAL UI HTML5 Web Handler - org/universAAL/ui/ui/handler/web/html/model/FormModel.java

ViolationLine
Avoid unused imports such as 'org.universAAL.ui.ui.handler.web.html.ResourceMapper'26

universAAL UI HTML5 Web Handler - org/universAAL/ui/ui/handler/web/html/model/RepeatModel.java

ViolationLine
Avoid unused local variables such as 'i'.47

universAAL UI HTML5 Web Handler - org/universAAL/ui/ui/handler/web/html/model/SimpleOutputModel.java

ViolationLine
Avoid unused imports such as 'java.util.Properties'20

universAAL UI HTML5 Web Handler - org/universAAL/ui/ui/handler/web/html/model/SubmitModel.java

ViolationLine
These nested if statements could be combined63 - 67

universAAL UI HTML5 Web Handler - org/universAAL/ui/ui/handler/web/html/UpdatedPropertiesFile.java

ViolationLine
Avoid empty catch blocks93
An empty statement (semicolon) not part of a loop103
Avoid empty catch blocks106

universAAL Security Dummy Authenticator - org/universAAL/security/security/authenticator/dummy/UserPasswordCallee.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.xsd.util.Base64'29
Avoid unused method parameters such as 'password'.100 - 118
Avoid unused method parameters such as 'digestAlgorithm'.100 - 118

universAAL Security Profiling Server Managed User Password Authenticator - org/universAAL/security/security/authenticator/profile/UserPasswordCallee.java

ViolationLine
Avoid empty catch blocks204 - 212

universAAL Security Session Manager - org/security/session/manager/helpers/CHeQuery.java

ViolationLine
Avoid empty catch blocks91 - 99

universAAL Security Session Manager - org/security/session/manager/helpers/UserDeviceWrapper.java

ViolationLine
Avoid unused imports such as 'org.universAAL.middleware.rdf.Resource'27

universAAL Security Session Manager - org/security/session/manager/impl/SituationMonitorImpl.java

ViolationLine
These nested if statements could be combined251 - 253
These nested if statements could be combined256 - 258