The following document contains the results of PMD 4.2.5.
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 45 |
Violation | Line |
---|---|
Avoid unused private fields such as 'sbc'. | 46 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.container.ModuleContext' | 25 |
Avoid unused imports such as 'org.universAAL.middleware.context.ContextPublisher' | 29 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.container.ModuleContext' | 25 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.container.ModuleContext' | 31 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.freedesktop.dbus.DBusConnection' | 23 |
Avoid unused imports such as 'org.freedesktop.dbus.exceptions.DBusException' | 26 |
Violation | Line |
---|---|
Avoid unused local variables such as 'logservice'. | 60 |
Violation | Line |
---|---|
Avoid unused private fields such as 'theServer'. | 48 |
Avoid unused private methods such as 'constructx73URIfromLocalID(String)'. | 176 |
Violation | Line |
---|---|
Avoid unused private fields such as 'context'. | 41 |
Avoid unused local variables such as 'condition'. | 72 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'java.io' | 34 |
Avoid unused private fields such as 'unit'. | 44 |
Avoid unused private fields such as 'measuredValue_18949'. | 47 |
Avoid unused private fields such as 'measuredValue_18950'. | 48 |
Avoid unused private fields such as 'measuredValue_18951'. | 49 |
Avoid unused constructor parameters such as 't_contextProvider'. | 69 - 71 |
Avoid unused local variables such as 'xmlData'. | 105 |
Avoid unused private methods such as 'getTagValue(String,Element)'. | 116 |
Avoid empty if statements | 151 - 153 |
Violation | Line |
---|---|
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! | 41 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.manager.Manager' | 48 |
Avoid unused private fields such as 'outputTextJTextArea'. | 77 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.events.EventIEEEManager' | 22 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.manager.Manager' | 23 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.lang.annotation.Annotation' | 24 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.annotations.constraints.ASN1ValueRangeConstraint' | 29 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.coders.IASN1PreparedElementData' | 34 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.metadata.constraints.IASN1ConstraintMetadata' | 38 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.DataProtoId' | 40 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.INT_U16' | 41 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.INT_U8' | 42 |
An empty statement (semicolon) not part of a loop | 351 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Calendar' | 23 |
Avoid unused imports such as 'java.util.Hashtable' | 24 |
Avoid unused imports such as 'java.util.Set' | 26 |
Avoid unused local variables such as '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 |
Violation | Line |
---|---|
These nested if statements could be combined | 57 - 59 |
Violation | Line |
---|---|
Avoid empty if statements | 98 - 99 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 40 |
Avoid unnecessary temporaries when converting primitives to Strings | 139 |
Violation | Line |
---|---|
These nested if statements could be combined | 179 - 180 |
Violation | Line |
---|---|
Avoid empty catch blocks | 203 |
An empty statement (semicolon) not part of a loop | 203 |
These nested if statements could be combined | 277 - 288 |
An empty statement (semicolon) not part of a loop | 290 |
An empty statement (semicolon) not part of a loop | 368 |
An empty statement (semicolon) not part of a loop | 388 |
An empty statement (semicolon) not part of a loop | 458 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 45 |
These nested if statements could be combined | 283 - 286 |
An empty statement (semicolon) not part of a loop | 323 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 313 |
These nested if statements could be combined | 407 - 411 |
An empty statement (semicolon) not part of a loop | 607 |
An empty statement (semicolon) not part of a loop | 626 |
Violation | Line |
---|---|
Avoid unused local variables such as 'szOfInt'. | 297 |
Avoid empty if statements | 362 - 363 |
Avoid unused local variables such as 'constraint'. | 375 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.annotations.ASN1Any' | 23 |
Violation | Line |
---|---|
Avoid empty catch blocks | 54 - 56 |
These nested if statements could be combined | 123 - 124 |
Violation | Line |
---|---|
Avoid unused private fields such as 'name'. | 32 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.lang.reflect.AnnotatedElement' | 20 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.io.OutputStream' | 20 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.coders.ElementInfo' | 24 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.coders.IASN1TypesEncoder' | 25 |
Violation | Line |
---|---|
Avoid unused private fields such as 'itemClass'. | 34 |
Violation | Line |
---|---|
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 combined | 72 - 75 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 27 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.events.Event' | 25 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.events.EventIEEEManager' | 26 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.events.EventIEEEType' | 27 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.manager.Manager' | 28 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.CoderFactory' | 30 |
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.org.bn.metadata.ASN1TypeMetadata' | 33 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.lddi.lib.ieeex73std.x73.p20601.ConfigReport' | 32 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Iterator' | 23 |
Avoid unused imports such as 'java.util.LinkedList' | 24 |
Violation | Line |
---|---|
Avoid unused private fields such as 'attrList'. | 36 |
The null check here is misplaced; if the variable is null therell be a NullPointerException | 39 |
Violation | Line |
---|---|
Avoid unused private fields such as 'attrList'. | 38 |
The null check here is misplaced; if the variable is null therell be a NullPointerException | 41 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.LinkedList' | 22 |
Violation | Line |
---|---|
The null check here is misplaced; if the variable is null therell be a NullPointerException | 38 |
Violation | Line |
---|---|
Avoid unused private fields such as 'attrList'. | 52 |
The null check here is misplaced; if the variable is null therell be a NullPointerException | 55 |
Violation | Line |
---|---|
Avoid unused private fields such as 'attrList'. | 37 |
The null check here is misplaced; if the variable is null therell be a NullPointerException | 41 |
Violation | Line |
---|---|
Avoid unused private fields such as 'segmentlist'. | 43 |
Violation | Line |
---|---|
Avoid unused private fields such as 'attrList'. | 39 |
The null check here is misplaced; if the variable is null therell be a NullPointerException | 43 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.LinkedList' | 22 |
Violation | Line |
---|---|
Avoid unused private fields such as 'manager'. | 44 |
Violation | Line |
---|---|
These nested if statements could be combined | 180 - 184 |
Avoid empty catch blocks | 424 - 426 |
Violation | Line |
---|---|
Avoid unused private fields such as 'animationDescriptions'. | 41 |
Violation | Line |
---|---|
Avoid empty if statements | 134 - 136 |
These nested if statements could be combined | 139 - 150 |
Violation | Line |
---|---|
Avoid unnecessary temporaries when converting primitives to Strings | 172 |
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 |
Violation | Line |
---|---|
Avoid unused private fields such as 'serverFS20DeviceRestrictions'. | 137 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.lddi.knx.interfaces.IKnxSendMessage' | 31 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.lddi.knx.groupdevicecategory.IKnxDpt1' | 28 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Set' | 26 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Iterator' | 24 |
Avoid unused imports such as 'java.util.Set' | 26 |
Avoid unused imports such as 'org.universAAL.ontology.device.LightController' | 39 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.ontology.device.LightController' | 31 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused private fields such as 'repeat'. | 46 |
Avoid unused private fields such as 'targetIsGroupAddress'. | 56 |
Avoid unused private fields such as 'routingCounter'. | 62 |
Violation | Line |
---|---|
Avoid unused private fields such as 'pc'. | 72 |
Violation | Line |
---|---|
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 blocks | 715 |
Violation | Line |
---|---|
These nested if statements could be combined | 103 - 107 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 141 |
Violation | Line |
---|---|
This for loop could be simplified to a while loop | 91 - 96 |
Violation | Line |
---|---|
This for loop could be simplified to a while loop | 81 - 86 |
Violation | Line |
---|---|
This for loop could be simplified to a while loop | 81 - 86 |
Violation | Line |
---|---|
This for loop could be simplified to a while loop | 91 - 96 |
Violation | Line |
---|---|
This for loop could be simplified to a while loop | 91 - 96 |
Violation | Line |
---|---|
This for loop could be simplified to a while loop | 91 - 96 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 125 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 123 |
Violation | Line |
---|---|
Avoid empty catch blocks | 182 - 184 |
Avoid unused local variables such as 'connectionInfo'. | 282 |
Avoid unused local variables such as 'connectionInfo'. | 342 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.ArrayList' | 23 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.lddi.zwave.exporter.MotionContact.MotionContactSensorPublisher' | 23 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.io.FileOutputStream' | 24 |
Avoid unused local variables such as 'dir1'. | 43 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused private fields such as 'space'. | 49 |
Avoid unused private fields such as 'payload'. | 50 |
Violation | Line |
---|---|
Avoid unused local variables such as 'prim'. | 62 |
Violation | Line |
---|---|
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 blocks | 410 - 412 |
Avoid unused local variables such as 'METHOD'. | 803 |
Violation | Line |
---|---|
Avoid unused private fields such as 'timeout'. | 34 |
Violation | Line |
---|---|
These nested if statements could be combined | 455 - 456 |
Violation | Line |
---|---|
These nested if statements could be combined | 114 - 168 |
Violation | Line |
---|---|
Avoid empty catch blocks | 183 - 184 |
Violation | Line |
---|---|
Avoid empty while statements | 209 - 210 |
These nested if statements could be combined | 242 - 243 |
These nested if statements could be combined | 246 - 247 |
These nested if statements could be combined | 259 - 261 |
Violation | Line |
---|---|
Avoid unused private fields such as 'name'. | 74 |
Avoid empty catch blocks | 197 - 198 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'name'. | 387 - 456 |
Violation | Line |
---|---|
Overriding method merely calls super | 34 - 36 |
Violation | Line |
---|---|
These nested if statements could be combined | 360 - 363 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'mc'. | 139 - 168 |
Avoid empty if statements | 165 - 167 |
Avoid empty catch blocks | 405 - 406 |
Avoid empty if statements | 1066 - 1068 |
These nested if statements could be combined | 1257 - 1263 |
These nested if statements could be combined | 1267 - 1272 |
Avoid empty if statements | 1537 - 1541 |
Avoid empty catch blocks | 1786 - 1787 |
Violation | Line |
---|---|
Avoid empty catch blocks | 235 - 236 |
Violation | Line |
---|---|
These nested if statements could be combined | 205 - 225 |
Violation | Line |
---|---|
These nested if statements could be combined | 72 - 76 |
Violation | Line |
---|---|
These nested if statements could be combined | 68 - 71 |
Violation | Line |
---|---|
These nested if statements could be combined | 69 - 73 |
Violation | Line |
---|---|
These nested if statements could be combined | 71 - 74 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'dummy'. | 93 - 96 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.bus.model.BusStrategy' | 24 |
Violation | Line |
---|---|
Avoid empty catch blocks | 326 - 327 |
Violation | Line |
---|---|
Avoid empty if statements | 308 - 312 |
Avoid unused method parameters such as 'callerID'. | 447 - 455 |
Violation | Line |
---|---|
These nested if statements could be combined | 386 - 390 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.ui.rdf.Submit' | 27 |
Violation | Line |
---|---|
Avoid empty catch blocks | 507 - 508 |
Violation | Line |
---|---|
Avoid unused local variables such as 'step'. | 218 |
Violation | Line |
---|---|
These nested if statements could be combined | 167 - 170 |
Violation | Line |
---|---|
These nested if statements could be combined | 74 - 79 |
Violation | Line |
---|---|
These nested if statements could be combined | 97 - 100 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.ArrayList' | 23 |
Avoid unused imports such as 'org.universAAL.middleware.interfaces.PeerRole' | 28 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Vector' | 31 |
Violation | Line |
---|---|
Avoid unused local variables such as 'activeTasks'. | 179 |
Violation | Line |
---|---|
Avoid empty catch blocks | 151 - 153 |
Violation | Line |
---|---|
Avoid empty catch blocks | 57 - 58 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 37 - 46 |
Violation | Line |
---|---|
These nested if statements could be combined | 144 - 147 |
Violation | Line |
---|---|
These nested if statements could be combined | 77 - 79 |
These nested if statements could be combined | 189 - 217 |
Violation | Line |
---|---|
These nested if statements could be combined | 80 - 81 |
Violation | Line |
---|---|
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 class | 77 - 83 |
These nested if statements could be combined | 126 - 127 |
Violation | Line |
---|---|
These nested if statements could be combined | 110 - 111 |
Violation | Line |
---|---|
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 class | 77 - 83 |
These nested if statements could be combined | 123 - 124 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 185 - 192 |
Unnecessary final modifier in final class | 215 - 226 |
Unnecessary final modifier in final class | 255 - 292 |
Unnecessary final modifier in final class | 325 - 352 |
Unnecessary final modifier in final class | 385 - 397 |
Unnecessary final modifier in final class | 418 - 447 |
Unnecessary final modifier in final class | 468 - 476 |
These nested if statements could be combined | 1351 - 1352 |
Violation | Line |
---|---|
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 class | 77 - 83 |
These nested if statements could be combined | 123 - 124 |
Violation | Line |
---|---|
Avoid unused private fields such as 'inverseOf'. | 62 |
Violation | Line |
---|---|
These nested if statements could be combined | 487 - 488 |
These nested if statements could be combined | 526 - 527 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 92 - 97 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 136 - 141 |
Violation | Line |
---|---|
These nested if statements could be combined | 329 - 358 |
Violation | Line |
---|---|
Overriding method merely calls super | 252 - 254 |
Violation | Line |
---|---|
Avoid unused private fields such as 'equivalentProperties'. | 64 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 176 |
Violation | Line |
---|---|
These nested if statements could be combined | 116 - 117 |
These nested if statements could be combined | 317 - 318 |
These nested if statements could be combined | 348 - 349 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'numProps'. | 219 - 222 |
Avoid empty if statements | 482 - 484 |
These nested if statements could be combined | 871 - 874 |
These nested if statements could be combined | 884 - 887 |
These nested if statements could be combined | 1133 - 1137 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 73 - 76 |
Unnecessary final modifier in final class | 228 - 230 |
Unnecessary final modifier in final class | 233 - 235 |
Unnecessary final modifier in final class | 238 - 240 |
Unnecessary final modifier in final class | 243 - 245 |
Unnecessary final modifier in final class | 248 - 250 |
Unnecessary final modifier in final class | 253 - 255 |
Unnecessary final modifier in final class | 258 - 260 |
Unnecessary final modifier in final class | 263 - 265 |
Unnecessary final modifier in final class | 267 - 269 |
Unnecessary final modifier in final class | 271 - 273 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 88 - 90 |
Violation | Line |
---|---|
Avoid empty catch blocks | 94 - 95 |
Avoid empty catch blocks | 113 - 114 |
Avoid empty catch blocks | 134 - 135 |
Violation | Line |
---|---|
These nested if statements could be combined | 124 - 125 |
Violation | Line |
---|---|
Avoid empty if statements | 276 - 282 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 60 - 62 |
Unnecessary final modifier in final class | 64 - 71 |
Ensure you override both equals() and hashCode() | 73 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 71 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 451 - 459 |
Unnecessary final modifier in final class | 467 - 475 |
Avoid empty catch blocks | 734 - 735 |
Avoid empty catch blocks | 738 - 739 |
Avoid empty catch blocks | 742 - 743 |
Avoid empty catch blocks | 746 - 747 |
Avoid empty catch blocks | 778 - 780 |
Avoid empty catch blocks | 859 - 861 |
Avoid empty catch blocks | 942 - 946 |
Avoid empty catch blocks | 1021 - 1022 |
Avoid empty catch blocks | 1025 - 1026 |
Avoid empty catch blocks | 1029 - 1030 |
Avoid empty catch blocks | 1403 - 1404 |
Avoid empty catch blocks | 1407 - 1408 |
Avoid empty catch blocks | 1411 - 1412 |
Avoid empty catch blocks | 1511 - 1512 |
Avoid empty catch blocks | 1515 - 1516 |
Avoid empty catch blocks | 1561 - 1562 |
Avoid empty catch blocks | 1600 - 1601 |
Avoid empty catch blocks | 1663 - 1664 |
Avoid empty catch blocks | 1721 - 1722 |
Avoid empty catch blocks | 1755 - 1756 |
Avoid empty catch blocks | 1787 - 1788 |
Violation | Line |
---|---|
Avoid unnecessary temporaries when converting primitives to Strings | 152 |
Avoid unnecessary temporaries when converting primitives to Strings | 154 |
These nested if statements could be combined | 275 - 314 |
These nested if statements could be combined | 1514 - 1533 |
Violation | Line |
---|---|
These nested if statements could be combined | 520 - 521 |
These nested if statements could be combined | 817 - 818 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Map' | 26 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.xml.bind.annotation.XmlRootElement' | 31 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 27 |
No need to import a type that lives in the same package | 28 |
Violation | Line |
---|---|
Avoid returning from a finally block | 66 |
Violation | Line |
---|---|
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 blocks | 772 - 773 |
Avoid unused method parameters such as 'spaces'. | 823 - 826 |
Avoid unused local variables such as 'result'. | 1083 |
Violation | Line |
---|---|
Avoid unused private fields such as 'stop'. | 40 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.net.URI' | 24 |
Avoid unused imports such as 'java.util.Map' | 25 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'timeout'. | 640 - 677 |
Avoid empty if statements | 1149 - 1151 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid empty catch blocks | 172 - 173 |
Avoid empty catch blocks | 338 - 340 |
Avoid empty catch blocks | 353 - 355 |
Avoid empty catch blocks | 368 - 370 |
Avoid unused private methods such as 'getBundleList()'. | 375 |
Violation | Line |
---|---|
Avoid empty catch blocks | 101 - 102 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.container.utils.LogUtils' | 32 |
Violation | Line |
---|---|
Avoid unused private fields such as 'aalSpaceManager'. | 37 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.interfaces.aalspace.xml.model.Aalspace' | 23 |
Violation | Line |
---|---|
These nested if statements could be combined | 94 - 98 |
Violation | Line |
---|---|
Avoid unused imports such as 'ch.ethz.iks.slp.ServiceLocationException' | 37 |
Violation | Line |
---|---|
These nested if statements could be combined | 133 - 137 |
Violation | Line |
---|---|
Avoid unused imports such as 'ch.ethz.iks.slp.ServiceLocationException' | 36 |
Violation | Line |
---|---|
These nested if statements could be combined | 109 - 113 |
Violation | Line |
---|---|
These nested if statements could be combined | 140 - 144 |
Violation | Line |
---|---|
These nested if statements could be combined | 90 - 93 |
Violation | Line |
---|---|
Avoid unused imports such as 'ch.ethz.iks.slp.ServiceLocationException' | 38 |
Violation | Line |
---|---|
Avoid unused imports such as 'ch.ethz.iks.slp.ServiceLocationException' | 35 |
Violation | Line |
---|---|
Avoid unused imports such as 'ch.ethz.iks.slp.ServiceLocationException' | 38 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 blocks | 208 - 209 |
Avoid empty catch blocks | 217 - 218 |
Avoid empty catch blocks | 226 - 227 |
Avoid empty finally blocks | 936 - 938 |
Avoid empty catch blocks | 1007 - 1008 |
Violation | Line |
---|---|
These nested if statements could be combined | 368 - 370 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.ontology.phThing.Device' | 25 |
Violation | Line |
---|---|
These nested if statements could be combined | 434 - 435 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 27 |
Overriding method merely calls super | 53 - 56 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 27 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 83 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 79 |
Violation | Line |
---|---|
Avoid unused local variables such as 'beatsPerMinute'. | 150 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.ontology.profile.User' | 54 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.ontology.measurement.Measurement' | 20 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 89 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 82 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'recurrence'. | 50 - 54 |
Violation | Line |
---|---|
Overriding method merely calls super | 50 - 53 |
Overriding method merely calls super | 55 - 57 |
Violation | Line |
---|---|
Overriding method merely calls super | 56 - 58 |
Overriding method merely calls super | 60 - 62 |
Violation | Line |
---|---|
Overriding method merely calls super | 82 - 85 |
Overriding method merely calls super | 87 - 89 |
Violation | Line |
---|---|
Overriding method merely calls super | 58 - 61 |
Overriding method merely calls super | 63 - 65 |
Violation | Line |
---|---|
Overriding method merely calls super | 49 - 52 |
Overriding method merely calls super | 54 - 56 |
Violation | Line |
---|---|
Overriding method merely calls super | 60 - 62 |
Overriding method merely calls super | 64 - 66 |
Violation | Line |
---|---|
Overriding method merely calls super | 81 - 84 |
Overriding method merely calls super | 86 - 88 |
Violation | Line |
---|---|
Overriding method merely calls super | 56 - 59 |
Overriding method merely calls super | 61 - 63 |
Violation | Line |
---|---|
Overriding method merely calls super | 56 - 58 |
Violation | Line |
---|---|
Overriding method merely calls super | 54 - 56 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 20 |
Overriding method merely calls super | 54 - 56 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 20 |
Overriding method merely calls super | 54 - 56 |
Violation | Line |
---|---|
Overriding method merely calls super | 60 - 62 |
Violation | Line |
---|---|
Overriding method merely calls super | 61 - 63 |
Violation | Line |
---|---|
Overriding method merely calls super | 67 - 69 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 67 |
Violation | Line |
---|---|
Overriding method merely calls super | 53 - 55 |
Violation | Line |
---|---|
Overriding method merely calls super | 61 - 63 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 117 |
Violation | Line |
---|---|
Overriding method merely calls super | 60 - 62 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
Overriding method merely calls super | 45 - 47 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
Overriding method merely calls super | 45 - 47 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
Overriding method merely calls super | 44 - 46 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
Overriding method merely calls super | 45 - 47 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Avoid unused imports such as 'org.universAAL.middleware.owl.ManagedIndividual' | 27 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Hashtable' | 23 |
Avoid unused imports such as 'java.util.ArrayList' | 24 |
Avoid unused imports such as 'java.util.List' | 25 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.container.utils.LogUtils' | 25 |
Violation | Line |
---|---|
Avoid unused private fields such as '_sr'. | 34 |
Violation | Line |
---|---|
Avoid unused private fields such as 'context'. | 61 |
Avoid unused private fields such as 'id'. | 68 |
Violation | Line |
---|---|
Avoid empty catch blocks | 662 - 664 |
Violation | Line |
---|---|
Avoid unused private fields such as 'contextBus'. | 64 |
Violation | Line |
---|---|
Avoid unused private fields such as 'serverNamespace'. | 42 |
Violation | Line |
---|---|
Avoid unused private fields such as 'communicator'. | 53 |
Violation | Line |
---|---|
These nested if statements could be combined | 112 - 116 |
These nested if statements could be combined | 194 - 196 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'info'. | 36 - 42 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.ri.wsdlToolkit.invocation.InvocationResult' | 28 |
These nested if statements could be combined | 55 - 57 |
Violation | Line |
---|---|
Avoid unused private methods such as 'postCookies()'. | 121 |
Avoid unused local variables such as 'navailable'. | 192 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid empty if statements | 2632 - 2634 |
Avoid unused local variables such as 'elem1'. | 3340 |
These nested if statements could be combined | 3441 - 3443 |
Violation | Line |
---|---|
Avoid empty if statements | 308 - 312 |
Avoid empty if statements | 313 - 316 |
Avoid empty if statements | 1188 - 1191 |
These nested if statements could be combined | 2373 - 2382 |
Violation | Line |
---|---|
These nested if statements could be combined | 81 - 126 |
These nested if statements could be combined | 82 - 125 |
Avoid empty if statements | 164 - 165 |
Avoid empty if statements | 203 - 205 |
Avoid empty try blocks | 286 - 287 |
Avoid empty if statements | 305 - 306 |
Avoid empty if statements | 308 - 309 |
These nested if statements could be combined | 374 - 379 |
Avoid empty if statements | 1076 - 1077 |
Avoid empty if statements | 1946 - 1947 |
Violation | Line |
---|---|
Avoid empty if statements | 85 - 92 |
Avoid empty if statements | 525 - 527 |
Avoid empty if statements | 549 - 551 |
These nested if statements could be combined | 665 - 667 |
These nested if statements could be combined | 670 - 672 |
Violation | Line |
---|---|
Avoid empty if statements | 269 - 271 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'operationNs'. | 176 - 194 |
Violation | Line |
---|---|
Avoid empty catch blocks | 274 - 275 |
Avoid unnecessary return statements | 277 |
These nested if statements could be combined | 554 - 611 |
Violation | Line |
---|---|
Avoid empty catch blocks | 275 - 276 |
Avoid unnecessary return statements | 278 |
Avoid unused local variables such as 'vec'. | 508 |
These nested if statements could be combined | 566 - 623 |
Violation | Line |
---|---|
Avoid unused private methods such as 'findOMNodesAmongChildren_ITERATIVE(OMElementImpl,QName)'. | 265 - 266 |
Avoid empty catch blocks | 382 - 384 |
Violation | Line |
---|---|
Avoid unused local variables such as 'wsdlURL'. | 61 |
Avoid unused method parameters such as 'operationNamespace'. | 398 - 415 |
Violation | Line |
---|---|
Avoid unused private methods such as 'checkIfCOhasParentTheSameCO_MOD(ComplexObject)'. | 575 |
These nested if statements could be combined | 591 - 646 |
These nested if statements could be combined | 607 - 612 |
These nested if statements could be combined | 630 - 635 |
Violation | Line |
---|---|
Avoid empty if statements | 113 - 116 |
Avoid empty catch blocks | 133 - 136 |
Avoid empty if statements | 206 - 207 |
Avoid empty if statements | 226 - 228 |
Avoid empty if statements | 363 - 365 |
These nested if statements could be combined | 623 - 659 |
These nested if statements could be combined | 640 - 656 |
These nested if statements could be combined | 879 - 915 |
These nested if statements could be combined | 896 - 912 |
Avoid unused method parameters such as 'theSymbolTable'. | 1084 - 1088 |
Avoid empty if statements | 1478 - 1479 |
Avoid empty if statements | 1599 - 1600 |
Violation | Line |
---|---|
Avoid unused imports such as 'com.ibm.wsdl.extensions.schema.SchemaReferenceImpl' | 25 |
Avoid unused local variables such as 'referencedType'. | 88 |
Avoid empty if statements | 93 - 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 combined | 189 - 202 |
These nested if statements could be combined | 191 - 201 |
Avoid unused local variables such as 'baseType'. | 193 |
These nested if statements could be combined | 231 - 263 |
Avoid unused method parameters such as 'iterNumber'. | 292 - 650 |
Avoid empty if statements | 299 - 301 |
Avoid empty try blocks | 304 - 307 |
Avoid empty catch blocks | 307 - 309 |
Avoid empty if statements | 313 - 315 |
Avoid unused local variables such as 'objectAlreadyExistsInHashMap'. | 371 |
Avoid empty if statements | 471 - 473 |
Avoid unused local variables such as 'newNativeObject'. | 617 |
Avoid empty if statements | 624 - 626 |
Avoid unused local variables such as 'nObjs'. | 636 |
These nested if statements could be combined | 659 - 661 |
These nested if statements could be combined | 727 - 736 |
These nested if statements could be combined | 728 - 735 |
These nested if statements could be combined | 756 - 764 |
These nested if statements could be combined | 757 - 763 |
These nested if statements could be combined | 783 - 790 |
These nested if statements could be combined | 784 - 789 |
Avoid empty if statements | 935 - 937 |
These nested if statements could be combined | 968 - 1031 |
These nested if statements could be combined | 1041 - 1046 |
These nested if statements could be combined | 1056 - 1060 |
These nested if statements could be combined | 1070 - 1075 |
These nested if statements could be combined | 1085 - 1089 |
These nested if statements could be combined | 1212 - 1285 |
Avoid empty if statements | 1290 - 1292 |
These nested if statements could be combined | 1299 - 1308 |
These nested if statements could be combined | 1318 - 1326 |
These nested if statements could be combined | 1336 - 1343 |
These nested if statements could be combined | 1353 - 1361 |
These nested if statements could be combined | 1574 - 1585 |
Avoid empty try blocks | 1589 - 1595 |
Avoid empty catch blocks | 1595 - 1597 |
Avoid empty if statements | 1772 - 1774 |
Avoid empty if statements | 1779 - 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 statements | 1876 - 1878 |
Avoid unused local variables such as 'typeFoundOK'. | 1889 |
These nested if statements could be combined | 1895 - 1903 |
These nested if statements could be combined | 1915 - 1922 |
These nested if statements could be combined | 1934 - 1940 |
Avoid empty if statements | 1983 - 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 statements | 2462 - 2464 |
Avoid unused local variables such as 'parsedAttribute'. | 2540 |
Avoid empty if statements | 2562 - 2564 |
Avoid unused local variables such as 's'. | 2581 |
Avoid empty if statements | 2592 - 2599 |
Violation | Line |
---|---|
Avoid empty catch blocks | 311 - 313 |
Avoid empty catch blocks | 317 - 319 |
Avoid empty catch blocks | 378 - 380 |
Avoid empty finally blocks | 409 - 411 |
Avoid unused local variables such as 'httpbimpl'. | 446 |
Avoid empty finally blocks | 451 - 453 |
Avoid unused local variables such as 'extel'. | 463 |
Avoid unused local variables such as 'mimecontimpl'. | 494 |
Avoid empty catch blocks | 498 - 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 statements | 1234 - 1236 |
Avoid empty catch blocks | 1309 - 1313 |
Avoid empty if statements | 1314 - 1316 |
Avoid empty if statements | 1316 - 1318 |
Avoid empty if statements | 1325 - 1328 |
Avoid empty if statements | 1330 - 1333 |
Avoid empty if statements | 1335 - 1337 |
Avoid empty catch blocks | 1338 - 1340 |
Avoid unused local variables such as 's11111'. | 1362 |
Avoid empty if statements | 1387 - 1389 |
Avoid empty catch blocks | 1446 - 1450 |
Avoid empty if statements | 1451 - 1453 |
Avoid empty catch blocks | 1454 - 1458 |
Avoid empty if statements | 1464 - 1467 |
Avoid empty if statements | 1468 - 1471 |
Avoid empty if statements | 1472 - 1474 |
Avoid empty catch blocks | 1475 - 1477 |
Avoid empty if statements | 1485 - 1487 |
Avoid empty if statements | 1487 - 1489 |
Avoid unused local variables such as 's11111'. | 1561 |
Avoid empty if statements | 1586 - 1588 |
Avoid empty if statements | 1640 - 1643 |
Avoid empty catch blocks | 1644 - 1648 |
Avoid unused local variables such as 's11111'. | 1658 |
Avoid empty if statements | 1683 - 1685 |
Avoid empty catch blocks | 1742 - 1746 |
Avoid empty if statements | 1751 - 1754 |
Avoid empty if statements | 1756 - 1759 |
Avoid empty if statements | 1761 - 1763 |
Avoid empty catch blocks | 1769 - 1773 |
Avoid empty if statements | 1806 - 1808 |
Avoid empty if statements | 2014 - 2016 |
Avoid empty if statements | 2016 - 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 statements | 2110 - 2112 |
Avoid unused local variables such as 'n1'. | 2124 |
Avoid empty if statements | 2133 - 2135 |
Avoid empty if statements | 2136 - 2138 |
These nested if statements could be combined | 2186 - 2198 |
These nested if statements could be combined | 2642 - 2719 |
Avoid empty if statements | 2649 - 2651 |
Avoid empty if statements | 2651 - 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 statements | 2709 - 2712 |
Avoid empty if statements | 2722 - 2724 |
Avoid empty if statements | 2734 - 2736 |
These nested if statements could be combined | 2774 - 2783 |
These nested if statements could be combined | 2982 - 3385 |
Violation | Line |
---|---|
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 statements | 69 - 71 |
Avoid unused local variables such as 'res'. | 72 |
Avoid unused local variables such as 'theNodeNamespaceKey'. | 75 |
These nested if statements could be combined | 108 - 173 |
These nested if statements could be combined | 181 - 185 |
These nested if statements could be combined | 195 - 199 |
These nested if statements could be combined | 209 - 213 |
These nested if statements could be combined | 224 - 228 |
Avoid empty if statements | 252 - 254 |
Avoid empty if statements | 291 - 293 |
Avoid empty if statements | 332 - 334 |
Avoid empty finally blocks | 356 - 357 |
Avoid empty if statements | 373 - 375 |
These nested if statements could be combined | 431 - 496 |
These nested if statements could be combined | 504 - 508 |
These nested if statements could be combined | 518 - 522 |
These nested if statements could be combined | 532 - 536 |
These nested if statements could be combined | 547 - 551 |
Avoid empty if statements | 574 - 576 |
Avoid empty if statements | 613 - 615 |
Avoid empty if statements | 653 - 655 |
Avoid empty finally blocks | 677 - 678 |
Avoid empty if statements | 722 - 724 |
Avoid empty catch blocks | 743 - 745 |
Violation | Line |
---|---|
Avoid empty catch blocks | 260 - 262 |
Avoid empty catch blocks | 285 - 287 |
Avoid unused local variables such as 'extel'. | 302 |
Avoid empty catch blocks | 326 - 327 |
Avoid unused local variables such as 'data'. | 803 |
Violation | Line |
---|---|
Avoid unused private methods such as 'usage(String)'. | 447 |
Avoid unused local variables such as 'dontBreakLines'. | 606 |
Avoid empty catch blocks | 630 - 631 |
Avoid empty catch blocks | 634 - 635 |
Avoid empty catch blocks | 638 - 639 |
Avoid empty catch blocks | 642 - 643 |
Avoid empty catch blocks | 771 - 772 |
Avoid empty catch blocks | 775 - 776 |
Avoid empty catch blocks | 779 - 780 |
Avoid empty catch blocks | 1055 - 1057 |
Avoid empty catch blocks | 1061 - 1062 |
Avoid empty catch blocks | 1065 - 1066 |
Avoid empty catch blocks | 1069 - 1070 |
Avoid empty catch blocks | 1113 - 1114 |
Avoid empty catch blocks | 1117 - 1118 |
Avoid empty catch blocks | 1151 - 1152 |
Avoid empty catch blocks | 1184 - 1185 |
Avoid empty catch blocks | 1238 - 1239 |
Avoid empty catch blocks | 1290 - 1291 |
Avoid empty catch blocks | 1327 - 1328 |
Avoid empty catch blocks | 1331 - 1332 |
Avoid empty catch blocks | 1368 - 1369 |
Avoid empty catch blocks | 1372 - 1373 |
Avoid unused private fields such as 'alphabet'. | 1398 |
Avoid unused private fields such as 'alphabet'. | 1616 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.springframework.osgi.test.platform.Platforms' | 63 |
These nested if statements could be combined | 514 - 528 |
These nested if statements could be combined | 516 - 525 |
These nested if statements could be combined | 714 - 718 |
These nested if statements could be combined | 814 - 836 |
Violation | Line |
---|---|
Avoid unused local variables such as 'localRepo'. | 100 |
Avoid unused local variables such as 'modifiedRepo'. | 121 |
Violation | Line |
---|---|
Avoid empty catch blocks | 78 - 79 |
Violation | Line |
---|---|
Avoid empty catch blocks | 45 - 46 |
Avoid empty catch blocks | 79 - 80 |
Violation | Line |
---|---|
Avoid unused private fields such as 'combine'. | 44 |
Violation | Line |
---|---|
These nested if statements could be combined | 251 - 256 |
These nested if statements could be combined | 390 - 403 |
These nested if statements could be combined | 397 - 400 |
Violation | Line |
---|---|
These nested if statements could be combined | 335 - 338 |
These nested if statements could be combined | 344 - 347 |
These nested if statements could be combined | 643 - 672 |
These nested if statements could be combined | 644 - 671 |
These nested if statements could be combined | 988 - 991 |
These nested if statements could be combined | 1260 - 1268 |
These nested if statements could be combined | 1262 - 1267 |
These nested if statements could be combined | 1384 - 1395 |
These nested if statements could be combined | 1412 - 1418 |
These nested if statements could be combined | 1414 - 1417 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.maven.plugin.MojoExecutionException' | 37 |
Avoid unused imports such as 'org.apache.maven.plugin.MojoFailureException' | 38 |
Violation | Line |
---|---|
Too many static imports may lead to messy code | 21 - 242 |
Avoid unused private fields such as 'separatedGroupIds'. | 160 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.sonatype.inject.Parameters' | 45 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.nio.ByteBuffer' | 24 |
Avoid unused imports such as 'java.nio.charset.CharsetDecoder' | 28 |
Violation | Line |
---|---|
Avoid empty catch blocks | 175 - 176 |
Violation | Line |
---|---|
Avoid empty catch blocks | 84 |
Avoid unused local variables such as 'notice'. | 102 |
Violation | Line |
---|---|
Avoid empty catch blocks | 95 - 96 |
Violation | Line |
---|---|
Avoid empty catch blocks | 61 - 62 |
Violation | Line |
---|---|
These nested if statements could be combined | 96 - 102 |
Violation | Line |
---|---|
Avoid unused private methods such as 'setComponentPopupMenu(java.awt.Component,javax.swing.JPopupMenu)'. | 149 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.container.utils.LogUtils' | 29 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused private fields such as 'serverLightingRestrictions'. | 43 |
Violation | Line |
---|---|
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 blocks | 46 - 54 |
Violation | Line |
---|---|
Avoid unused private fields such as 'contextListener'. | 40 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.awt.Scrollbar' | 24 |
Violation | Line |
---|---|
Avoid unused local variables such as 'i'. | 282 |
Violation | Line |
---|---|
Avoid unused private fields such as 'ahSimulator'. | 40 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.ontology.activityhub.ActivityHubSensorEvent' | 38 |
Avoid unused imports such as 'org.universAAL.ontology.activityhub.factory.ActivityHubEventFactory' | 49 |
Violation | Line |
---|---|
Avoid unused private fields such as 'contextListener'. | 40 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.swing.Action' | 27 |
Avoid unused private fields such as 'field1'. | 83 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 182 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.ArrayList' | 25 |
Avoid unused imports such as 'org.universAAL.ontology.vcard.Tel' | 51 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'lampURI'. | 97 - 110 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.ui.rdf.Repeat' | 46 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused private fields such as 'service'. | 62 |
Violation | Line |
---|---|
Avoid unused private fields such as 'dataTypeValue'. | 47 |
These nested if statements could be combined | 184 - 186 |
Violation | Line |
---|---|
Avoid unused local variables such as 'inputUser'. | 93 |
Violation | Line |
---|---|
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 combined | 375 - 382 |
Violation | Line |
---|---|
Avoid unused private fields such as 'cp'. | 47 |
Violation | Line |
---|---|
Avoid unused private methods such as 'setComponentPopupMenu(java.awt.Component,javax.swing.JPopupMenu)'. | 192 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'osgiContext'. | 33 - 37 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'context'. | 34 - 48 |
Violation | Line |
---|---|
Avoid unused local variables such as 'ref'. | 42 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused private methods such as 'setComponentPopupMenu(java.awt.Component,javax.swing.JPopupMenu)'. | 193 |
Violation | Line |
---|---|
Avoid unused private fields such as 'provider2'. | 32 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 44 |
Violation | Line |
---|---|
These nested if statements could be combined | 75 - 78 |
Violation | Line |
---|---|
These nested if statements could be combined | 250 - 252 |
Violation | Line |
---|---|
Avoid unused local variables such as 're'. | 57 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.swing.JLabel' | 28 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.ontology.device.Sensor' | 60 |
Avoid unused local variables such as 'a'. | 356 |
Avoid empty if statements | 361 - 363 |
Violation | Line |
---|---|
Avoid empty if statements | 63 - 66 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'providerInfo'. | 31 - 35 |
Violation | Line |
---|---|
These nested if statements could be combined | 111 - 121 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.ontology.profile.Profilable' | 44 |
These nested if statements could be combined | 510 - 512 |
Violation | Line |
---|---|
Avoid unused imports such as 'info.aduna.io.ByteArrayUtil' | 18 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Vector' | 31 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 63 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 82 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 67 |
Violation | Line |
---|---|
Avoid unused private methods such as 'getCurrentIndexSpecStr()'. | 434 |
Avoid unused private methods such as 'checkAllCommitted()'. | 898 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'create'. | 454 - 464 |
Violation | Line |
---|---|
Avoid empty catch blocks | 94 - 96 |
Violation | Line |
---|---|
These nested if statements could be combined | 340 - 341 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.ui.dm.UserDialogManager' | 31 |
Violation | Line |
---|---|
Avoid empty catch blocks | 203 - 205 |
Violation | Line |
---|---|
Avoid empty if statements | 86 - 88 |
Violation | Line |
---|---|
Avoid empty if statements | 89 - 91 |
Avoid empty if statements | 169 - 171 |
Avoid empty if statements | 178 - 180 |
Violation | Line |
---|---|
Avoid empty if statements | 94 - 96 |
Avoid empty if statements | 181 - 183 |
Avoid empty if statements | 199 - 201 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.swing.JComponent' | 22 |
Violation | Line |
---|---|
Avoid empty while statements | 142 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'render'. | 37 - 39 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.awt.Image' | 19 |
Avoid unused imports such as 'javax.swing.ImageIcon' | 22 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.awt.Image' | 21 |
Avoid unused imports such as 'javax.swing.ImageIcon' | 28 |
Violation | Line |
---|---|
Avoid empty catch blocks | 76 - 77 |
Violation | Line |
---|---|
These nested if statements could be combined | 73 - 77 |
These nested if statements could be combined | 160 - 168 |
Violation | Line |
---|---|
These nested if statements could be combined | 53 - 58 |
Violation | Line |
---|---|
Avoid empty while statements | 101 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'render'. | 41 - 43 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.swing.JFrame' | 19 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
These nested if statements could be combined | 65 - 68 |
Violation | Line |
---|---|
Avoid unused private fields such as 'gbSchedule'. | 74 |
Violation | Line |
---|---|
Overriding method merely calls super | 83 - 85 |
Avoid unused private methods such as 'getNewLineCompoent()'. | 166 |
Violation | Line |
---|---|
These nested if statements could be combined | 172 - 174 |
These nested if statements could be combined | 177 - 179 |
Avoid empty catch blocks | 234 - 235 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.net.URI' | 21 |
Avoid unused imports such as 'java.net.URISyntaxException' | 22 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.awt.event.HierarchyListener' | 23 |
Violation | Line |
---|---|
Avoid using ThreadGroup; it is not thread safe | 59 |
Violation | Line |
---|---|
Avoid empty catch blocks | 288 |
Avoid empty catch blocks | 345 |
Avoid empty catch blocks | 718 - 720 |
Violation | Line |
---|---|
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 113 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 116 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 119 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 122 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 125 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 128 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 131 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 134 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 137 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 140 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 143 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 146 - 147 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 150 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 153 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 156 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 159 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 162 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 165 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 168 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 171 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 174 - 175 |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself | 178 |
Violation | Line |
---|---|
Avoid empty if statements | 104 - 106 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.ui.ui.handler.web.html.ResourceMapper' | 26 |
Violation | Line |
---|---|
Avoid unused local variables such as 'i'. | 47 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Properties' | 20 |
Violation | Line |
---|---|
These nested if statements could be combined | 63 - 67 |
Violation | Line |
---|---|
Avoid empty catch blocks | 93 |
An empty statement (semicolon) not part of a loop | 103 |
Avoid empty catch blocks | 106 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid empty catch blocks | 204 - 212 |
Violation | Line |
---|---|
Avoid empty catch blocks | 91 - 99 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.universAAL.middleware.rdf.Resource' | 27 |