Checkstyle Results
The following document contains the results of Checkstyle 10.17.0 with /config/dsol-checks.xml ruleset.
Summary
Files | Info | Warnings | Errors |
---|---|---|---|
452 | 1 | 100 | 0 |
Files
Rules
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 96 | Warning |
coding | HiddenField
|
2 | Warning |
design | VisibilityModifier | 1 | Warning |
naming | StaticVariableName | 1 | Warning |
sizes | LineLength
|
1 | Info |
Details
org/djunits/unit/SIUnit.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | VisibilityModifier | Variable 'DIMLESS' must be private and have accessor methods. | 20 |
Warning | naming | StaticVariableName | Name 'DIMLESS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 20 |
org/djunits/value/base/Scalar.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | HiddenField | 'displayUnit' hides a field. | 141 |
Warning | coding | HiddenField | 'displayUnit' hides a field. | 156 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 165 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 179 |
Warning | blocks | NeedBraces | 'while' construct must use '{}'s. | 181 |
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 184 |
org/djunits/value/vdouble/scalar/AbsoluteTemperature.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 172 |
org/djunits/value/vdouble/scalar/AbsorbedDose.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 180 |
org/djunits/value/vdouble/scalar/Acceleration.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 184 |
org/djunits/value/vdouble/scalar/AmountOfSubstance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 184 |
org/djunits/value/vdouble/scalar/Angle.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 189 |
org/djunits/value/vdouble/scalar/AngularAcceleration.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 190 |
org/djunits/value/vdouble/scalar/AngularVelocity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 186 |
org/djunits/value/vdouble/scalar/Area.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 185 |
org/djunits/value/vdouble/scalar/CatalyticActivity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 184 |
org/djunits/value/vdouble/scalar/Density.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 182 |
org/djunits/value/vdouble/scalar/Dimensionless.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 216 |
org/djunits/value/vdouble/scalar/Direction.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 167 |
org/djunits/value/vdouble/scalar/Duration.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 198 |
org/djunits/value/vdouble/scalar/ElectricalCapacitance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 191 |
org/djunits/value/vdouble/scalar/ElectricalCharge.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 186 |
org/djunits/value/vdouble/scalar/ElectricalConductance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 189 |
org/djunits/value/vdouble/scalar/ElectricalCurrent.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 186 |
org/djunits/value/vdouble/scalar/ElectricalInductance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 189 |
org/djunits/value/vdouble/scalar/ElectricalPotential.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 192 |
org/djunits/value/vdouble/scalar/ElectricalResistance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 189 |
org/djunits/value/vdouble/scalar/Energy.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 187 |
org/djunits/value/vdouble/scalar/EquivalentDose.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 180 |
org/djunits/value/vdouble/scalar/FlowMass.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 186 |
org/djunits/value/vdouble/scalar/FlowVolume.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 185 |
org/djunits/value/vdouble/scalar/Force.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 186 |
org/djunits/value/vdouble/scalar/Frequency.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 184 |
org/djunits/value/vdouble/scalar/Illuminance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 181 |
org/djunits/value/vdouble/scalar/Length.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 193 |
org/djunits/value/vdouble/scalar/LinearDensity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 182 |
org/djunits/value/vdouble/scalar/LuminousFlux.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 184 |
org/djunits/value/vdouble/scalar/LuminousIntensity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 183 |
org/djunits/value/vdouble/scalar/MagneticFlux.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 186 |
org/djunits/value/vdouble/scalar/MagneticFluxDensity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 189 |
org/djunits/value/vdouble/scalar/Mass.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 186 |
org/djunits/value/vdouble/scalar/Momentum.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 186 |
org/djunits/value/vdouble/scalar/Position.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 167 |
org/djunits/value/vdouble/scalar/Power.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 187 |
org/djunits/value/vdouble/scalar/Pressure.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 182 |
org/djunits/value/vdouble/scalar/RadioActivity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 180 |
org/djunits/value/vdouble/scalar/SIScalar.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 209 |
org/djunits/value/vdouble/scalar/SolidAngle.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 181 |
org/djunits/value/vdouble/scalar/Speed.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 188 |
org/djunits/value/vdouble/scalar/Temperature.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 189 |
org/djunits/value/vdouble/scalar/Time.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 173 |
org/djunits/value/vdouble/scalar/Torque.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 185 |
org/djunits/value/vdouble/scalar/Volume.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 185 |
org/djunits/value/vfloat/scalar/FloatAbsoluteTemperature.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 182 |
org/djunits/value/vfloat/scalar/FloatAbsorbedDose.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 192 |
org/djunits/value/vfloat/scalar/FloatAcceleration.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 196 |
org/djunits/value/vfloat/scalar/FloatAmountOfSubstance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 200 |
org/djunits/value/vfloat/scalar/FloatAngle.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 200 |
org/djunits/value/vfloat/scalar/FloatAngularAcceleration.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 200 |
org/djunits/value/vfloat/scalar/FloatAngularVelocity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 200 |
org/djunits/value/vfloat/scalar/FloatArea.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 196 |
org/djunits/value/vfloat/scalar/FloatCatalyticActivity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 200 |
org/djunits/value/vfloat/scalar/FloatDensity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 192 |
org/djunits/value/vfloat/scalar/FloatDimensionless.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 230 |
org/djunits/value/vfloat/scalar/FloatDirection.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 177 |
org/djunits/value/vfloat/scalar/FloatDuration.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 208 |
org/djunits/value/vfloat/scalar/FloatElectricalCapacitance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 202 |
org/djunits/value/vfloat/scalar/FloatElectricalCharge.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 202 |
org/djunits/value/vfloat/scalar/FloatElectricalConductance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 200 |
org/djunits/value/vfloat/scalar/FloatElectricalCurrent.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 202 |
org/djunits/value/vfloat/scalar/FloatElectricalInductance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 199 |
org/djunits/value/vfloat/scalar/FloatElectricalPotential.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 202 |
org/djunits/value/vfloat/scalar/FloatElectricalResistance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 199 |
org/djunits/value/vfloat/scalar/FloatEnergy.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 198 |
org/djunits/value/vfloat/scalar/FloatEquivalentDose.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 196 |
org/djunits/value/vfloat/scalar/FloatFlowMass.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 196 |
org/djunits/value/vfloat/scalar/FloatFlowVolume.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 195 |
org/djunits/value/vfloat/scalar/FloatForce.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 197 |
org/djunits/value/vfloat/scalar/FloatFrequency.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 194 |
org/djunits/value/vfloat/scalar/FloatIlluminance.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 191 |
org/djunits/value/vfloat/scalar/FloatLength.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 204 |
org/djunits/value/vfloat/scalar/FloatLinearDensity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 196 |
org/djunits/value/vfloat/scalar/FloatLuminousFlux.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 196 |
org/djunits/value/vfloat/scalar/FloatLuminousIntensity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 199 |
org/djunits/value/vfloat/scalar/FloatMagneticFlux.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 198 |
org/djunits/value/vfloat/scalar/FloatMagneticFluxDensity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 199 |
org/djunits/value/vfloat/scalar/FloatMass.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 197 |
org/djunits/value/vfloat/scalar/FloatMomentum.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 196 |
org/djunits/value/vfloat/scalar/FloatPosition.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 177 |
org/djunits/value/vfloat/scalar/FloatPower.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 198 |
org/djunits/value/vfloat/scalar/FloatPressure.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 192 |
org/djunits/value/vfloat/scalar/FloatRadioActivity.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 194 |
org/djunits/value/vfloat/scalar/FloatSIScalar.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 209 |
org/djunits/value/vfloat/scalar/FloatSolidAngle.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 191 |
org/djunits/value/vfloat/scalar/FloatSpeed.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 199 |
org/djunits/value/vfloat/scalar/FloatTemperature.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 199 |
org/djunits/value/vfloat/scalar/FloatTime.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 185 |
org/djunits/value/vfloat/scalar/FloatTorque.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 196 |
org/djunits/value/vfloat/scalar/FloatVolume.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 196 |
org/djunits/value/vfloat/scalar/base/FloatConstants.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | sizes | LineLength | Line is longer than 128 characters (found 130). | 46 |