PMD Results

The following document contains the results of PMD 6.4.0.

Files

org/djunits/unit/ElectricalChargeUnit.java

Violation Priority Line
Too many static imports may lead to messy code 3 1223

org/djunits/unit/EnergyUnit.java

Violation Priority Line
Too many static imports may lead to messy code 3 1360

org/djunits/unit/ForceUnit.java

Violation Priority Line
Too many static imports may lead to messy code 3 1221

org/djunits/unit/MassUnit.java

Violation Priority Line
Too many static imports may lead to messy code 3 1201

org/djunits/unit/MoneyUnit.java

Violation Priority Line
Useless parentheses. 4 927

org/djunits/unit/PowerUnit.java

Violation Priority Line
Too many static imports may lead to messy code 3 1264

org/djunits/unit/PressureUnit.java

Violation Priority Line
Too many static imports may lead to messy code 3 1266

org/djunits/unit/SICoefficients.java

Violation Priority Line
Avoid using a branching statement as the last in a loop. 2 209

org/djunits/unit/TemperatureUnit.java

Violation Priority Line
Avoid unused constructor parameters such as 'offsetToKelvin'. 3 94

org/djunits/unit/scale/OffsetLinearScale.java

Violation Priority Line
Useless parentheses. 4 45

org/djunits/value/vdouble/scalar/AbsoluteTemperature.java

Violation Priority Line
Useless parentheses. 4 105
Useless parentheses. 4 118
Useless parentheses. 4 137
Useless parentheses. 4 150

org/djunits/value/vdouble/scalar/Acceleration.java

Violation Priority Line
Useless parentheses. 4 113
Useless parentheses. 4 125
Useless parentheses. 4 144
Useless parentheses. 4 156

org/djunits/value/vdouble/scalar/Angle.java

Violation Priority Line
Useless parentheses. 4 134
Useless parentheses. 4 146
Useless parentheses. 4 165
Useless parentheses. 4 177

org/djunits/value/vdouble/scalar/AngleSolid.java

Violation Priority Line
Useless parentheses. 4 110
Useless parentheses. 4 122
Useless parentheses. 4 141
Useless parentheses. 4 153

org/djunits/value/vdouble/scalar/Area.java

Violation Priority Line
Useless parentheses. 4 116
Useless parentheses. 4 128
Useless parentheses. 4 147
Useless parentheses. 4 159

org/djunits/value/vdouble/scalar/Density.java

Violation Priority Line
Useless parentheses. 4 111
Useless parentheses. 4 123
Useless parentheses. 4 142
Useless parentheses. 4 154

org/djunits/value/vdouble/scalar/Dimensionless.java

Violation Priority Line
Useless parentheses. 4 142
Useless parentheses. 4 154
Useless parentheses. 4 173
Useless parentheses. 4 185

org/djunits/value/vdouble/scalar/Direction.java

Violation Priority Line
Useless parentheses. 4 102
Useless parentheses. 4 114
Useless parentheses. 4 133
Useless parentheses. 4 145

org/djunits/value/vdouble/scalar/DoubleScalar.java

Violation Priority Line
Useless parentheses. 4 274
Useless parentheses. 4 289
Useless parentheses. 4 310
Useless parentheses. 4 325

org/djunits/value/vdouble/scalar/Duration.java

Violation Priority Line
Useless parentheses. 4 141
Useless parentheses. 4 153
Useless parentheses. 4 172
Useless parentheses. 4 184

org/djunits/value/vdouble/scalar/ElectricalCharge.java

Violation Priority Line
Useless parentheses. 4 114
Useless parentheses. 4 126
Useless parentheses. 4 145
Useless parentheses. 4 157

org/djunits/value/vdouble/scalar/ElectricalCurrent.java

Violation Priority Line
Useless parentheses. 4 115
Useless parentheses. 4 127
Useless parentheses. 4 146
Useless parentheses. 4 158

org/djunits/value/vdouble/scalar/ElectricalPotential.java

Violation Priority Line
Useless parentheses. 4 119
Useless parentheses. 4 132
Useless parentheses. 4 151
Useless parentheses. 4 164

org/djunits/value/vdouble/scalar/ElectricalResistance.java

Violation Priority Line
Useless parentheses. 4 117
Useless parentheses. 4 130
Useless parentheses. 4 149
Useless parentheses. 4 162

org/djunits/value/vdouble/scalar/Energy.java

Violation Priority Line
Useless parentheses. 4 116
Useless parentheses. 4 128
Useless parentheses. 4 147
Useless parentheses. 4 159

org/djunits/value/vdouble/scalar/FlowMass.java

Violation Priority Line
Useless parentheses. 4 113
Useless parentheses. 4 125
Useless parentheses. 4 144
Useless parentheses. 4 156

org/djunits/value/vdouble/scalar/FlowVolume.java

Violation Priority Line
Useless parentheses. 4 114
Useless parentheses. 4 126
Useless parentheses. 4 145
Useless parentheses. 4 157

org/djunits/value/vdouble/scalar/Force.java

Violation Priority Line
Useless parentheses. 4 117
Useless parentheses. 4 129
Useless parentheses. 4 148
Useless parentheses. 4 160

org/djunits/value/vdouble/scalar/Frequency.java

Violation Priority Line
Useless parentheses. 4 114
Useless parentheses. 4 126
Useless parentheses. 4 145
Useless parentheses. 4 157

org/djunits/value/vdouble/scalar/Length.java

Violation Priority Line
Useless parentheses. 4 141
Useless parentheses. 4 153
Useless parentheses. 4 172
Useless parentheses. 4 184

org/djunits/value/vdouble/scalar/LinearDensity.java

Violation Priority Line
Useless parentheses. 4 114
Useless parentheses. 4 126
Useless parentheses. 4 145
Useless parentheses. 4 157

org/djunits/value/vdouble/scalar/Mass.java

Violation Priority Line
Useless parentheses. 4 116
Useless parentheses. 4 128
Useless parentheses. 4 147
Useless parentheses. 4 159

org/djunits/value/vdouble/scalar/Money.java

Violation Priority Line
Useless parentheses. 4 87
Useless parentheses. 4 99
Useless parentheses. 4 118
Useless parentheses. 4 130

org/djunits/value/vdouble/scalar/MoneyPerArea.java

Violation Priority Line
Useless parentheses. 4 82
Useless parentheses. 4 94
Useless parentheses. 4 113
Useless parentheses. 4 125

org/djunits/value/vdouble/scalar/MoneyPerDuration.java

Violation Priority Line
Useless parentheses. 4 82
Useless parentheses. 4 94
Useless parentheses. 4 113
Useless parentheses. 4 125

org/djunits/value/vdouble/scalar/MoneyPerEnergy.java

Violation Priority Line
Useless parentheses. 4 82
Useless parentheses. 4 94
Useless parentheses. 4 113
Useless parentheses. 4 125

org/djunits/value/vdouble/scalar/MoneyPerLength.java

Violation Priority Line
Useless parentheses. 4 82
Useless parentheses. 4 94
Useless parentheses. 4 113
Useless parentheses. 4 125

org/djunits/value/vdouble/scalar/MoneyPerMass.java

Violation Priority Line
Useless parentheses. 4 82
Useless parentheses. 4 94
Useless parentheses. 4 113
Useless parentheses. 4 125

org/djunits/value/vdouble/scalar/MoneyPerVolume.java

Violation Priority Line
Useless parentheses. 4 82
Useless parentheses. 4 94
Useless parentheses. 4 113
Useless parentheses. 4 125

org/djunits/value/vdouble/scalar/Position.java

Violation Priority Line
Useless parentheses. 4 102
Useless parentheses. 4 114
Useless parentheses. 4 133
Useless parentheses. 4 145

org/djunits/value/vdouble/scalar/Power.java

Violation Priority Line
Useless parentheses. 4 116
Useless parentheses. 4 128
Useless parentheses. 4 147
Useless parentheses. 4 159

org/djunits/value/vdouble/scalar/Pressure.java

Violation Priority Line
Useless parentheses. 4 112
Useless parentheses. 4 124
Useless parentheses. 4 143
Useless parentheses. 4 155

org/djunits/value/vdouble/scalar/Speed.java

Violation Priority Line
Useless parentheses. 4 117
Useless parentheses. 4 129
Useless parentheses. 4 148
Useless parentheses. 4 160

org/djunits/value/vdouble/scalar/Temperature.java

Violation Priority Line
Useless parentheses. 4 134
Useless parentheses. 4 146
Useless parentheses. 4 165
Useless parentheses. 4 177

org/djunits/value/vdouble/scalar/Time.java

Violation Priority Line
Useless parentheses. 4 108
Useless parentheses. 4 120
Useless parentheses. 4 139
Useless parentheses. 4 151

org/djunits/value/vdouble/scalar/Torque.java

Violation Priority Line
Useless parentheses. 4 116
Useless parentheses. 4 128
Useless parentheses. 4 147
Useless parentheses. 4 159

org/djunits/value/vdouble/scalar/Volume.java

Violation Priority Line
Useless parentheses. 4 117
Useless parentheses. 4 129
Useless parentheses. 4 148
Useless parentheses. 4 160

org/djunits/value/vfloat/scalar/FloatAbsoluteTemperature.java

Violation Priority Line
Useless parentheses. 4 116
Useless parentheses. 4 129
Useless parentheses. 4 148
Useless parentheses. 4 161

org/djunits/value/vfloat/scalar/FloatAcceleration.java

Violation Priority Line
Useless parentheses. 4 125
Useless parentheses. 4 137
Useless parentheses. 4 156
Useless parentheses. 4 168

org/djunits/value/vfloat/scalar/FloatAngle.java

Violation Priority Line
Useless parentheses. 4 144
Useless parentheses. 4 156
Useless parentheses. 4 175
Useless parentheses. 4 187

org/djunits/value/vfloat/scalar/FloatAngleSolid.java

Violation Priority Line
Useless parentheses. 4 120
Useless parentheses. 4 132
Useless parentheses. 4 151
Useless parentheses. 4 163

org/djunits/value/vfloat/scalar/FloatArea.java

Violation Priority Line
Useless parentheses. 4 126
Useless parentheses. 4 138
Useless parentheses. 4 157
Useless parentheses. 4 169

org/djunits/value/vfloat/scalar/FloatDensity.java

Violation Priority Line
Useless parentheses. 4 121
Useless parentheses. 4 133
Useless parentheses. 4 152
Useless parentheses. 4 164

org/djunits/value/vfloat/scalar/FloatDimensionless.java

Violation Priority Line
Useless parentheses. 4 154
Useless parentheses. 4 167
Useless parentheses. 4 186
Useless parentheses. 4 199

org/djunits/value/vfloat/scalar/FloatDirection.java

Violation Priority Line
Useless parentheses. 4 112
Useless parentheses. 4 124
Useless parentheses. 4 143
Useless parentheses. 4 155

org/djunits/value/vfloat/scalar/FloatDuration.java

Violation Priority Line
Useless parentheses. 4 151
Useless parentheses. 4 163
Useless parentheses. 4 182
Useless parentheses. 4 194

org/djunits/value/vfloat/scalar/FloatElectricalCharge.java

Violation Priority Line
Useless parentheses. 4 128
Useless parentheses. 4 141
Useless parentheses. 4 160
Useless parentheses. 4 173

org/djunits/value/vfloat/scalar/FloatElectricalCurrent.java

Violation Priority Line
Useless parentheses. 4 129
Useless parentheses. 4 142
Useless parentheses. 4 161
Useless parentheses. 4 174

org/djunits/value/vfloat/scalar/FloatElectricalPotential.java

Violation Priority Line
Useless parentheses. 4 131
Useless parentheses. 4 144
Useless parentheses. 4 163
Useless parentheses. 4 176

org/djunits/value/vfloat/scalar/FloatElectricalResistance.java

Violation Priority Line
Useless parentheses. 4 129
Useless parentheses. 4 142
Useless parentheses. 4 161
Useless parentheses. 4 174

org/djunits/value/vfloat/scalar/FloatEnergy.java

Violation Priority Line
Useless parentheses. 4 126
Useless parentheses. 4 138
Useless parentheses. 4 157
Useless parentheses. 4 169

org/djunits/value/vfloat/scalar/FloatFlowMass.java

Violation Priority Line
Useless parentheses. 4 123
Useless parentheses. 4 135
Useless parentheses. 4 154
Useless parentheses. 4 166

org/djunits/value/vfloat/scalar/FloatFlowVolume.java

Violation Priority Line
Useless parentheses. 4 124
Useless parentheses. 4 136
Useless parentheses. 4 155
Useless parentheses. 4 167

org/djunits/value/vfloat/scalar/FloatForce.java

Violation Priority Line
Useless parentheses. 4 127
Useless parentheses. 4 139
Useless parentheses. 4 158
Useless parentheses. 4 170

org/djunits/value/vfloat/scalar/FloatFrequency.java

Violation Priority Line
Useless parentheses. 4 124
Useless parentheses. 4 136
Useless parentheses. 4 155
Useless parentheses. 4 167

org/djunits/value/vfloat/scalar/FloatLength.java

Violation Priority Line
Useless parentheses. 4 151
Useless parentheses. 4 163
Useless parentheses. 4 182
Useless parentheses. 4 194

org/djunits/value/vfloat/scalar/FloatLinearDensity.java

Violation Priority Line
Useless parentheses. 4 126
Useless parentheses. 4 139
Useless parentheses. 4 158
Useless parentheses. 4 171

org/djunits/value/vfloat/scalar/FloatMass.java

Violation Priority Line
Useless parentheses. 4 126
Useless parentheses. 4 138
Useless parentheses. 4 157
Useless parentheses. 4 169

org/djunits/value/vfloat/scalar/FloatMoney.java

Violation Priority Line
Useless parentheses. 4 97
Useless parentheses. 4 109
Useless parentheses. 4 128
Useless parentheses. 4 140

org/djunits/value/vfloat/scalar/FloatMoneyPerArea.java

Violation Priority Line
Useless parentheses. 4 92
Useless parentheses. 4 104
Useless parentheses. 4 123
Useless parentheses. 4 135

org/djunits/value/vfloat/scalar/FloatMoneyPerDuration.java

Violation Priority Line
Useless parentheses. 4 94
Useless parentheses. 4 107
Useless parentheses. 4 126
Useless parentheses. 4 139

org/djunits/value/vfloat/scalar/FloatMoneyPerEnergy.java

Violation Priority Line
Useless parentheses. 4 93
Useless parentheses. 4 106
Useless parentheses. 4 125
Useless parentheses. 4 138

org/djunits/value/vfloat/scalar/FloatMoneyPerLength.java

Violation Priority Line
Useless parentheses. 4 93
Useless parentheses. 4 106
Useless parentheses. 4 125
Useless parentheses. 4 138

org/djunits/value/vfloat/scalar/FloatMoneyPerMass.java

Violation Priority Line
Useless parentheses. 4 92
Useless parentheses. 4 104
Useless parentheses. 4 123
Useless parentheses. 4 135

org/djunits/value/vfloat/scalar/FloatMoneyPerVolume.java

Violation Priority Line
Useless parentheses. 4 93
Useless parentheses. 4 106
Useless parentheses. 4 125
Useless parentheses. 4 138

org/djunits/value/vfloat/scalar/FloatPosition.java

Violation Priority Line
Useless parentheses. 4 112
Useless parentheses. 4 124
Useless parentheses. 4 143
Useless parentheses. 4 155

org/djunits/value/vfloat/scalar/FloatPower.java

Violation Priority Line
Useless parentheses. 4 126
Useless parentheses. 4 138
Useless parentheses. 4 157
Useless parentheses. 4 169

org/djunits/value/vfloat/scalar/FloatPressure.java

Violation Priority Line
Useless parentheses. 4 122
Useless parentheses. 4 134
Useless parentheses. 4 153
Useless parentheses. 4 165

org/djunits/value/vfloat/scalar/FloatSpeed.java

Violation Priority Line
Useless parentheses. 4 127
Useless parentheses. 4 139
Useless parentheses. 4 158
Useless parentheses. 4 170

org/djunits/value/vfloat/scalar/FloatTemperature.java

Violation Priority Line
Useless parentheses. 4 144
Useless parentheses. 4 156
Useless parentheses. 4 175
Useless parentheses. 4 187

org/djunits/value/vfloat/scalar/FloatTime.java

Violation Priority Line
Useless parentheses. 4 119
Useless parentheses. 4 131
Useless parentheses. 4 150
Useless parentheses. 4 162

org/djunits/value/vfloat/scalar/FloatTorque.java

Violation Priority Line
Useless parentheses. 4 126
Useless parentheses. 4 138
Useless parentheses. 4 157
Useless parentheses. 4 169

org/djunits/value/vfloat/scalar/FloatVolume.java

Violation Priority Line
Useless parentheses. 4 127
Useless parentheses. 4 139
Useless parentheses. 4 158
Useless parentheses. 4 170