Checkstyle Results
The following document contains the results of Checkstyle 9.3 with checkstyle.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 61 | 0 | 0 | 136 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | HiddenField | 6 | |
| MagicNumber | 33 | ||
| MultipleStringLiterals | 14 | ||
| design | VisibilityModifier
|
1 | |
| indentation | Indentation | 66 | |
| javadoc | JavadocStyle | 6 | |
| misc | NewlineAtEndOfFile | 1 | |
| modifier | RedundantModifier | 8 | |
| sizes | LineLength
|
1 |
Details
com/irurueta/units/AccelerationFormatter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 3 times in the file. | 124 |
com/irurueta/units/AccelerationUnit.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 65 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 66 | |
| 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 |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 2 times in the file. | 154 |
com/irurueta/units/AngularAccelerationFormatter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 2 times in the file. | 124 |
com/irurueta/units/AngularSpeedFormatter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 2 times in the file. | 123 |
com/irurueta/units/BuildInfo.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'final' modifier. | 130 |
com/irurueta/units/DistanceFormatter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 8 times in the file. | 153 |
com/irurueta/units/DistanceUnit.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 87 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 88 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 89 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 90 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 101 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 102 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 103 | |
| 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 |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 5 times in the file. | 138 |
com/irurueta/units/MagneticFluxDensityFormatter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 7 times in the file. | 150 |
com/irurueta/units/MeasureFormatter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'numberFormat' must be private and have accessor methods. | 45 | |
| coding | HiddenField | 'locale' hides a field. | 78 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 261 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 261 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 261 | |
| coding | HiddenField | 'valueAndUnitFormatPattern' hides a field. | 457 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 536 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 547 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 555 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 563 |
com/irurueta/units/Measurement.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'value' hides a field. | 45 | |
| coding | HiddenField | 'unit' hides a field. | 45 | |
| coding | MagicNumber | '7' is a magic number. | 93 | |
| coding | MagicNumber | '19' is a magic number. | 94 | |
| coding | MagicNumber | '19' is a magic number. | 95 | |
| coding | HiddenField | 'value' hides a field. | 128 | |
| coding | HiddenField | 'unit' hides a field. | 151 |
com/irurueta/units/SpeedFormatter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 5 times in the file. | 138 |
com/irurueta/units/SpeedUnit.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocStyle | First sentence should end with a period. | 27 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 32 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 37 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 42 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 72 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 73 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 74 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 85 | |
| 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 |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 13 times in the file. | 180 |
com/irurueta/units/SurfaceUnit.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 112 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 113 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 114 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 115 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 116 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 117 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 118 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 119 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 130 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 131 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 132 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 133 | |
| 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 |
|---|---|---|---|---|
| sizes | LineLength | Line is longer than 120 characters (found 123). | 124 |
com/irurueta/units/TemperatureConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MagicNumber | '9.0' is a magic number. | 152 | |
| coding | MagicNumber | '5.0' is a magic number. | 152 | |
| coding | MagicNumber | '32.0' is a magic number. | 152 | |
| coding | MagicNumber | '32.0' is a magic number. | 162 | |
| coding | MagicNumber | '5.0' is a magic number. | 162 | |
| coding | MagicNumber | '9.0' is a magic number. | 162 |
com/irurueta/units/TemperatureFormatter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 3 times in the file. | 115 |
com/irurueta/units/TemperatureUnit.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 64 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 65 | |
| 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 |
|---|---|---|---|---|
| coding | MagicNumber | '3' is a magic number. | 53 | |
| coding | MagicNumber | '4' is a magic number. | 59 | |
| coding | MagicNumber | '5' is a magic number. | 65 | |
| coding | MagicNumber | '6' is a magic number. | 71 | |
| coding | MagicNumber | '7' is a magic number. | 77 | |
| coding | MagicNumber | '8' is a magic number. | 83 | |
| coding | MagicNumber | '9' is a magic number. | 89 | |
| coding | MagicNumber | '10' is a magic number. | 95 | |
| coding | MultipleStringLiterals | The String " " appears 13 times in the file. | 296 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 298 | |
| coding | MagicNumber | '3.0' is a magic number. | 482 | |
| coding | MagicNumber | '3.0' is a magic number. | 514 | |
| coding | MultipleStringLiterals | The String ":" appears 3 times in the file. | 726 | |
| coding | MagicNumber | '3' is a magic number. | 1243 | |
| coding | MagicNumber | '3' is a magic number. | 1265 | |
| coding | MagicNumber | '3' is a magic number. | 1287 | |
| coding | MagicNumber | '3' is a magic number. | 1309 | |
| coding | MagicNumber | '3' is a magic number. | 1331 | |
| coding | MagicNumber | '3' is a magic number. | 1353 | |
| coding | MagicNumber | '3' is a magic number. | 1375 | |
| coding | MagicNumber | '3' is a magic number. | 1397 | |
| coding | MagicNumber | '3' is a magic number. | 1419 | |
| coding | MagicNumber | '3' is a magic number. | 1441 | |
| coding | MagicNumber | '3' is a magic number. | 1463 | |
| coding | MagicNumber | '3' is a magic number. | 1485 | |
| coding | MagicNumber | '3' is a magic number. | 1507 | |
| coding | MagicNumber | '3' is a magic number. | 1529 |
com/irurueta/units/TimeUnit.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 104 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 105 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 106 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 107 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 119 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 120 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 121 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 122 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 123 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 124 | |
| 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 |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 11 times in the file. | 167 |
com/irurueta/units/VolumeUnit.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 102 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 103 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 104 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 105 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 106 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 107 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 118 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 119 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 120 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 121 | |
| 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 |
|---|---|---|---|---|
| coding | MultipleStringLiterals | The String " " appears 11 times in the file. | 169 |
com/irurueta/units/WeightUnit.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 107 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 108 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 109 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 110 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 111 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 112 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 113 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 114 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 125 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 126 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 127 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 16, expected level should be 12. | 128 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 132 |
com/irurueta/units/package-info.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
