Checkstyle Results

The following document contains the results of Checkstyle 9.3 with checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
61 0 0 136

Files

File  I  W  E
com/irurueta/units/AccelerationFormatter.java 0 0 1
com/irurueta/units/AccelerationUnit.java 0 0 3
com/irurueta/units/AngleFormatter.java 0 0 1
com/irurueta/units/AngularAccelerationFormatter.java 0 0 1
com/irurueta/units/AngularSpeedFormatter.java 0 0 1
com/irurueta/units/BuildInfo.java 0 0 1
com/irurueta/units/DistanceFormatter.java 0 0 1
com/irurueta/units/DistanceUnit.java 0 0 8
com/irurueta/units/FrequencyFormatter.java 0 0 1
com/irurueta/units/MagneticFluxDensityFormatter.java 0 0 1
com/irurueta/units/MeasureFormatter.java 0 0 10
com/irurueta/units/Measurement.java 0 0 7
com/irurueta/units/SpeedFormatter.java 0 0 1
com/irurueta/units/SpeedUnit.java 0 0 9
com/irurueta/units/SurfaceFormatter.java 0 0 1
com/irurueta/units/SurfaceUnit.java 0 0 13
com/irurueta/units/Temperature.java 0 0 1
com/irurueta/units/TemperatureConverter.java 0 0 6
com/irurueta/units/TemperatureFormatter.java 0 0 1
com/irurueta/units/TemperatureUnit.java 0 0 3
com/irurueta/units/TimeFormatter.java 0 0 27
com/irurueta/units/TimeUnit.java 0 0 11
com/irurueta/units/VolumeFormatter.java 0 0 1
com/irurueta/units/VolumeUnit.java 0 0 11
com/irurueta/units/WeightFormatter.java 0 0 1
com/irurueta/units/WeightUnit.java 0 0 13
com/irurueta/units/package-info.java 0 0 1

Rules

Category Rule Violations Severity
coding HiddenField 6  Error
MagicNumber 33  Error
MultipleStringLiterals 14  Error
design VisibilityModifier
  • protectedAllowed: "true"
1  Error
indentation Indentation 66  Error
javadoc JavadocStyle 6  Error
misc NewlineAtEndOfFile 1  Error
modifier RedundantModifier 8  Error
sizes LineLength
  • max: "120"
  • ignorePattern: "^( *\* *[^ ]+)|(import)$"
1  Error

Details

com/irurueta/units/AccelerationFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 3 times in the file. 124

com/irurueta/units/AccelerationUnit.java

Severity Category Rule Message Line
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 65
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 66
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 77

com/irurueta/units/AngleFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 2 times in the file. 154

com/irurueta/units/AngularAccelerationFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 2 times in the file. 124

com/irurueta/units/AngularSpeedFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 2 times in the file. 123

com/irurueta/units/BuildInfo.java

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'final' modifier. 130

com/irurueta/units/DistanceFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 8 times in the file. 153

com/irurueta/units/DistanceUnit.java

Severity Category Rule Message Line
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 87
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 88
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 89
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 90
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 101
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 102
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 103
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 104

com/irurueta/units/FrequencyFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 5 times in the file. 138

com/irurueta/units/MagneticFluxDensityFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 7 times in the file. 150

com/irurueta/units/MeasureFormatter.java

Severity Category Rule Message Line
 Error design VisibilityModifier Variable 'numberFormat' must be private and have accessor methods. 45
 Error coding HiddenField 'locale' hides a field. 78
 Error modifier RedundantModifier Redundant 'final' modifier. 261
 Error modifier RedundantModifier Redundant 'final' modifier. 261
 Error modifier RedundantModifier Redundant 'final' modifier. 261
 Error coding HiddenField 'valueAndUnitFormatPattern' hides a field. 457
 Error modifier RedundantModifier Redundant 'final' modifier. 536
 Error modifier RedundantModifier Redundant 'final' modifier. 547
 Error modifier RedundantModifier Redundant 'final' modifier. 555
 Error modifier RedundantModifier Redundant 'final' modifier. 563

com/irurueta/units/Measurement.java

Severity Category Rule Message Line
 Error coding HiddenField 'value' hides a field. 45
 Error coding HiddenField 'unit' hides a field. 45
 Error coding MagicNumber '7' is a magic number. 93
 Error coding MagicNumber '19' is a magic number. 94
 Error coding MagicNumber '19' is a magic number. 95
 Error coding HiddenField 'value' hides a field. 128
 Error coding HiddenField 'unit' hides a field. 151

com/irurueta/units/SpeedFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 5 times in the file. 138

com/irurueta/units/SpeedUnit.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 27
 Error javadoc JavadocStyle First sentence should end with a period. 32
 Error javadoc JavadocStyle First sentence should end with a period. 37
 Error javadoc JavadocStyle First sentence should end with a period. 42
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 72
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 73
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 74
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 85
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 86

com/irurueta/units/SurfaceFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 13 times in the file. 180

com/irurueta/units/SurfaceUnit.java

Severity Category Rule Message Line
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 112
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 113
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 114
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 115
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 116
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 117
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 118
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 119
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 130
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 131
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 132
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 133
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 134

com/irurueta/units/Temperature.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 120 characters (found 123). 124

com/irurueta/units/TemperatureConverter.java

Severity Category Rule Message Line
 Error coding MagicNumber '9.0' is a magic number. 152
 Error coding MagicNumber '5.0' is a magic number. 152
 Error coding MagicNumber '32.0' is a magic number. 152
 Error coding MagicNumber '32.0' is a magic number. 162
 Error coding MagicNumber '5.0' is a magic number. 162
 Error coding MagicNumber '9.0' is a magic number. 162

com/irurueta/units/TemperatureFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 3 times in the file. 115

com/irurueta/units/TemperatureUnit.java

Severity Category Rule Message Line
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 64
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 65
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 76

com/irurueta/units/TimeFormatter.java

Severity Category Rule Message Line
 Error coding MagicNumber '3' is a magic number. 53
 Error coding MagicNumber '4' is a magic number. 59
 Error coding MagicNumber '5' is a magic number. 65
 Error coding MagicNumber '6' is a magic number. 71
 Error coding MagicNumber '7' is a magic number. 77
 Error coding MagicNumber '8' is a magic number. 83
 Error coding MagicNumber '9' is a magic number. 89
 Error coding MagicNumber '10' is a magic number. 95
 Error coding MultipleStringLiterals The String " " appears 13 times in the file. 296
 Error javadoc JavadocStyle First sentence should end with a period. 298
 Error coding MagicNumber '3.0' is a magic number. 482
 Error coding MagicNumber '3.0' is a magic number. 514
 Error coding MultipleStringLiterals The String ":" appears 3 times in the file. 726
 Error coding MagicNumber '3' is a magic number. 1243
 Error coding MagicNumber '3' is a magic number. 1265
 Error coding MagicNumber '3' is a magic number. 1287
 Error coding MagicNumber '3' is a magic number. 1309
 Error coding MagicNumber '3' is a magic number. 1331
 Error coding MagicNumber '3' is a magic number. 1353
 Error coding MagicNumber '3' is a magic number. 1375
 Error coding MagicNumber '3' is a magic number. 1397
 Error coding MagicNumber '3' is a magic number. 1419
 Error coding MagicNumber '3' is a magic number. 1441
 Error coding MagicNumber '3' is a magic number. 1463
 Error coding MagicNumber '3' is a magic number. 1485
 Error coding MagicNumber '3' is a magic number. 1507
 Error coding MagicNumber '3' is a magic number. 1529

com/irurueta/units/TimeUnit.java

Severity Category Rule Message Line
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 104
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 105
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 106
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 107
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 119
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 120
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 121
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 122
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 123
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 124
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 125

com/irurueta/units/VolumeFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 11 times in the file. 167

com/irurueta/units/VolumeUnit.java

Severity Category Rule Message Line
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 102
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 103
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 104
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 105
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 106
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 107
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 118
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 119
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 120
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 121
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 122

com/irurueta/units/WeightFormatter.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String " " appears 11 times in the file. 169

com/irurueta/units/WeightUnit.java

Severity Category Rule Message Line
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 107
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 108
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 109
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 110
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 111
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 112
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 113
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 114
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 125
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 126
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 127
 Error indentation Indentation 'array initialization' child has incorrect indentation level 16, expected level should be 12. 128
 Error javadoc JavadocStyle First sentence should end with a period. 132

com/irurueta/units/package-info.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline. 1