Checkstyle Results

The following document contains the results of Checkstyle 8.19 with src/main/config/checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
37 0 0 31

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
3  Error
MagicNumber 17  Error
javadoc JavadocMethod
  • scope: "protected"
7  Error
JavadocStyle 1  Error
misc TodoComment 1  Error
whitespace MethodParamPad 2  Error

Details

org/chabala/brick/controllab/ControlLab.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle Extra HTML tag found: </script> 48

org/chabala/brick/controllab/Direction.java

Severity Category Rule Message Line
 Error whitespace MethodParamPad '(' is preceded with whitespace. 29
 Error whitespace MethodParamPad '(' is preceded with whitespace. 31

org/chabala/brick/controllab/InputManager.java

Severity Category Rule Message Line
 Error misc TodoComment Comment matches to-do format 'TODO:'. 94
 Error coding MagicNumber '0xFF' is a magic number. 108
 Error coding MagicNumber '0xFF' is a magic number. 108
 Error coding HiddenField 'processStopButton' hides a field. 129

org/chabala/brick/controllab/PowerLevel.java

Severity Category Rule Message Line
 Error coding MagicNumber '0b10010010' is a magic number. 69
 Error coding MagicNumber '0b10110000' is a magic number. 71
 Error coding MagicNumber '0x07' is a magic number. 71

org/chabala/brick/controllab/SerialPortWriter.java

Severity Category Rule Message Line
 Error coding HiddenField 'log' hides a field. 56
 Error coding HiddenField 'log' hides a field. 89

org/chabala/brick/controllab/sensor/BinaryStringFormatter.java

Severity Category Rule Message Line
 Error coding MagicNumber '0x100' is a magic number. 43

org/chabala/brick/controllab/sensor/LightSensor.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Missing a Javadoc comment. 28
 Error javadoc JavadocMethod Missing a Javadoc comment. 42
 Error coding MagicNumber '1023' is a magic number. 43
 Error coding MagicNumber '1023.0' is a magic number. 43
 Error coding MagicNumber '100' is a magic number. 43

org/chabala/brick/controllab/sensor/SensorValue.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Missing a Javadoc comment. 28
 Error coding MagicNumber '0b000100' is a magic number. 49
 Error coding MagicNumber '0b001000' is a magic number. 58

org/chabala/brick/controllab/sensor/TemperatureSensor.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Missing a Javadoc comment. 28
 Error javadoc JavadocMethod Missing a Javadoc comment. 42
 Error coding MagicNumber '760' is a magic number. 44
 Error coding MagicNumber '4.4' is a magic number. 44
 Error coding MagicNumber '32' is a magic number. 44

org/chabala/brick/controllab/sensor/TouchSensor.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Missing a Javadoc comment. 28
 Error javadoc JavadocMethod Missing a Javadoc comment. 42
 Error coding MagicNumber '8' is a magic number. 46
 Error coding MagicNumber '24' is a magic number. 48
 Error coding MagicNumber '16' is a magic number. 50