SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 3.1.12

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
36 9 0 0

org.chabala.brick.controllab.SerialPortEventListener

Bug Category Details Line Priority
The class name org.chabala.brick.controllab.SerialPortEventListener shadows the simple name of implemented interface jssc.SerialPortEventListener BAD_PRACTICE NM_SAME_SIMPLE_NAME_AS_INTERFACE 30-33 Medium

org.chabala.brick.controllab.StopButtonEvent

Bug Category Details Line Priority
org.chabala.brick.controllab.StopButtonEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 39-56 Low

org.chabala.brick.controllab.sensor.LightSensorEvent

Bug Category Details Line Priority
org.chabala.brick.controllab.sensor.LightSensorEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-35 Low

org.chabala.brick.controllab.sensor.SensorEvent

Bug Category Details Line Priority
org.chabala.brick.controllab.sensor.SensorEvent.getNewValue() may expose internal representation by returning SensorEvent.newValue MALICIOUS_CODE EI_EXPOSE_REP 87 Medium
org.chabala.brick.controllab.sensor.SensorEvent.getOldValue() may expose internal representation by returning SensorEvent.oldValue MALICIOUS_CODE EI_EXPOSE_REP 79 Medium
new org.chabala.brick.controllab.sensor.SensorEvent(InputId, byte[], byte[], SensorValue) may expose internal representation by storing an externally mutable object into SensorEvent.newValue MALICIOUS_CODE EI_EXPOSE_REP2 49 Medium
new org.chabala.brick.controllab.sensor.SensorEvent(InputId, byte[], byte[], SensorValue) may expose internal representation by storing an externally mutable object into SensorEvent.oldValue MALICIOUS_CODE EI_EXPOSE_REP2 48 Medium
org.chabala.brick.controllab.sensor.SensorEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 47-101 Low

org.chabala.brick.controllab.sensor.TouchSensorEvent

Bug Category Details Line Priority
org.chabala.brick.controllab.sensor.TouchSensorEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-35 Low