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

File  I  W  E
org/djunits/unit/SIUnit.java 0 2 0
org/djunits/value/base/Scalar.java 0 6 0
org/djunits/value/vdouble/scalar/AbsoluteTemperature.java 0 1 0
org/djunits/value/vdouble/scalar/AbsorbedDose.java 0 1 0
org/djunits/value/vdouble/scalar/Acceleration.java 0 1 0
org/djunits/value/vdouble/scalar/AmountOfSubstance.java 0 1 0
org/djunits/value/vdouble/scalar/Angle.java 0 1 0
org/djunits/value/vdouble/scalar/AngularAcceleration.java 0 1 0
org/djunits/value/vdouble/scalar/AngularVelocity.java 0 1 0
org/djunits/value/vdouble/scalar/Area.java 0 1 0
org/djunits/value/vdouble/scalar/CatalyticActivity.java 0 1 0
org/djunits/value/vdouble/scalar/Density.java 0 1 0
org/djunits/value/vdouble/scalar/Dimensionless.java 0 1 0
org/djunits/value/vdouble/scalar/Direction.java 0 1 0
org/djunits/value/vdouble/scalar/Duration.java 0 1 0
org/djunits/value/vdouble/scalar/ElectricalCapacitance.java 0 1 0
org/djunits/value/vdouble/scalar/ElectricalCharge.java 0 1 0
org/djunits/value/vdouble/scalar/ElectricalConductance.java 0 1 0
org/djunits/value/vdouble/scalar/ElectricalCurrent.java 0 1 0
org/djunits/value/vdouble/scalar/ElectricalInductance.java 0 1 0
org/djunits/value/vdouble/scalar/ElectricalPotential.java 0 1 0
org/djunits/value/vdouble/scalar/ElectricalResistance.java 0 1 0
org/djunits/value/vdouble/scalar/Energy.java 0 1 0
org/djunits/value/vdouble/scalar/EquivalentDose.java 0 1 0
org/djunits/value/vdouble/scalar/FlowMass.java 0 1 0
org/djunits/value/vdouble/scalar/FlowVolume.java 0 1 0
org/djunits/value/vdouble/scalar/Force.java 0 1 0
org/djunits/value/vdouble/scalar/Frequency.java 0 1 0
org/djunits/value/vdouble/scalar/Illuminance.java 0 1 0
org/djunits/value/vdouble/scalar/Length.java 0 1 0
org/djunits/value/vdouble/scalar/LinearDensity.java 0 1 0
org/djunits/value/vdouble/scalar/LuminousFlux.java 0 1 0
org/djunits/value/vdouble/scalar/LuminousIntensity.java 0 1 0
org/djunits/value/vdouble/scalar/MagneticFlux.java 0 1 0
org/djunits/value/vdouble/scalar/MagneticFluxDensity.java 0 1 0
org/djunits/value/vdouble/scalar/Mass.java 0 1 0
org/djunits/value/vdouble/scalar/Momentum.java 0 1 0
org/djunits/value/vdouble/scalar/Position.java 0 1 0
org/djunits/value/vdouble/scalar/Power.java 0 1 0
org/djunits/value/vdouble/scalar/Pressure.java 0 1 0
org/djunits/value/vdouble/scalar/RadioActivity.java 0 1 0
org/djunits/value/vdouble/scalar/SIScalar.java 0 1 0
org/djunits/value/vdouble/scalar/SolidAngle.java 0 1 0
org/djunits/value/vdouble/scalar/Speed.java 0 1 0
org/djunits/value/vdouble/scalar/Temperature.java 0 1 0
org/djunits/value/vdouble/scalar/Time.java 0 1 0
org/djunits/value/vdouble/scalar/Torque.java 0 1 0
org/djunits/value/vdouble/scalar/Volume.java 0 1 0
org/djunits/value/vfloat/scalar/FloatAbsoluteTemperature.java 0 1 0
org/djunits/value/vfloat/scalar/FloatAbsorbedDose.java 0 1 0
org/djunits/value/vfloat/scalar/FloatAcceleration.java 0 1 0
org/djunits/value/vfloat/scalar/FloatAmountOfSubstance.java 0 1 0
org/djunits/value/vfloat/scalar/FloatAngle.java 0 1 0
org/djunits/value/vfloat/scalar/FloatAngularAcceleration.java 0 1 0
org/djunits/value/vfloat/scalar/FloatAngularVelocity.java 0 1 0
org/djunits/value/vfloat/scalar/FloatArea.java 0 1 0
org/djunits/value/vfloat/scalar/FloatCatalyticActivity.java 0 1 0
org/djunits/value/vfloat/scalar/FloatDensity.java 0 1 0
org/djunits/value/vfloat/scalar/FloatDimensionless.java 0 1 0
org/djunits/value/vfloat/scalar/FloatDirection.java 0 1 0
org/djunits/value/vfloat/scalar/FloatDuration.java 0 1 0
org/djunits/value/vfloat/scalar/FloatElectricalCapacitance.java 0 1 0
org/djunits/value/vfloat/scalar/FloatElectricalCharge.java 0 1 0
org/djunits/value/vfloat/scalar/FloatElectricalConductance.java 0 1 0
org/djunits/value/vfloat/scalar/FloatElectricalCurrent.java 0 1 0
org/djunits/value/vfloat/scalar/FloatElectricalInductance.java 0 1 0
org/djunits/value/vfloat/scalar/FloatElectricalPotential.java 0 1 0
org/djunits/value/vfloat/scalar/FloatElectricalResistance.java 0 1 0
org/djunits/value/vfloat/scalar/FloatEnergy.java 0 1 0
org/djunits/value/vfloat/scalar/FloatEquivalentDose.java 0 1 0
org/djunits/value/vfloat/scalar/FloatFlowMass.java 0 1 0
org/djunits/value/vfloat/scalar/FloatFlowVolume.java 0 1 0
org/djunits/value/vfloat/scalar/FloatForce.java 0 1 0
org/djunits/value/vfloat/scalar/FloatFrequency.java 0 1 0
org/djunits/value/vfloat/scalar/FloatIlluminance.java 0 1 0
org/djunits/value/vfloat/scalar/FloatLength.java 0 1 0
org/djunits/value/vfloat/scalar/FloatLinearDensity.java 0 1 0
org/djunits/value/vfloat/scalar/FloatLuminousFlux.java 0 1 0
org/djunits/value/vfloat/scalar/FloatLuminousIntensity.java 0 1 0
org/djunits/value/vfloat/scalar/FloatMagneticFlux.java 0 1 0
org/djunits/value/vfloat/scalar/FloatMagneticFluxDensity.java 0 1 0
org/djunits/value/vfloat/scalar/FloatMass.java 0 1 0
org/djunits/value/vfloat/scalar/FloatMomentum.java 0 1 0
org/djunits/value/vfloat/scalar/FloatPosition.java 0 1 0
org/djunits/value/vfloat/scalar/FloatPower.java 0 1 0
org/djunits/value/vfloat/scalar/FloatPressure.java 0 1 0
org/djunits/value/vfloat/scalar/FloatRadioActivity.java 0 1 0
org/djunits/value/vfloat/scalar/FloatSIScalar.java 0 1 0
org/djunits/value/vfloat/scalar/FloatSolidAngle.java 0 1 0
org/djunits/value/vfloat/scalar/FloatSpeed.java 0 1 0
org/djunits/value/vfloat/scalar/FloatTemperature.java 0 1 0
org/djunits/value/vfloat/scalar/FloatTime.java 0 1 0
org/djunits/value/vfloat/scalar/FloatTorque.java 0 1 0
org/djunits/value/vfloat/scalar/FloatVolume.java 0 1 0
org/djunits/value/vfloat/scalar/base/FloatConstants.java 1 0 0

Rules

Category Rule Violations Severity
blocks NeedBraces 96  Warning
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
2  Warning
design VisibilityModifier 1  Warning
naming StaticVariableName 1  Warning
sizes LineLength
  • max: "128"
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