PMD Results

The following document contains the results of PMD 4.1.

Files

org/apache/commons/math/dfp/DfpMath.java

ViolationLine
These nested if statements could be combined658 - 660

org/apache/commons/math/exception/util/LocalizedFormats.java

ViolationLine
Avoid empty catch blocks378 - 380

org/apache/commons/math/geometry/euclidean/threed/Rotation.java

ViolationLine
An empty statement (semicolon) not part of a loop357
An empty statement (semicolon) not part of a loop358

org/apache/commons/math/geometry/euclidean/twod/NestedLoops.java

ViolationLine
Avoid unused private methods such as 'setClockWise(boolean)'.168

org/apache/commons/math/geometry/partitioning/AbstractSubHyperplane.java

ViolationLine
No need to import a type that lives in the same package20

org/apache/commons/math/geometry/VectorFormat.java

ViolationLine
These nested if statements could be combined258 - 260

org/apache/commons/math/linear/EigenDecomposition.java

ViolationLine
Avoid unused constructor parameters such as 'splitTolerance'.111 - 117
Avoid unused constructor parameters such as 'splitTolerance'.129 - 140

org/apache/commons/math/linear/OpenMapRealVector.java

ViolationLine
These nested if statements could be combined490 - 492

org/apache/commons/math/linear/PivotingQRDecomposition.java

ViolationLine
Avoid unused private fields such as 'beta'.47

org/apache/commons/math/ode/AbstractIntegrator.java

ViolationLine
Avoid unused imports such as 'org.apache.commons.math.util.MathUtils'43

org/apache/commons/math/ode/events/EventState.java

ViolationLine
No need to import a type that lives in the same package27

org/apache/commons/math/ode/ExpandableStatefulODE.java

ViolationLine
Avoid unused private fields such as 'equation'.301

org/apache/commons/math/ode/JacobianMatrices.java

ViolationLine
Avoid empty catch blocks402 - 403

org/apache/commons/math/ode/MultistepIntegrator.java

ViolationLine
Avoid empty catch blocks225 - 227

org/apache/commons/math/ode/sampling/StepNormalizer.java

ViolationLine
Avoid unused imports such as 'org.apache.commons.math.util.MathUtils'21

org/apache/commons/math/optimization/direct/BOBYQAOptimizer.java

ViolationLine
These nested if statements could be combined1379 - 1383
Avoid unused local variables such as 'wsqsav'.1442
These nested if statements could be combined1700 - 1708
These nested if statements could be combined1837 - 1839
Avoid unused private methods such as 'caller(int)'.2453
Avoid unused method parameters such as 's'.2460 - 2462

org/apache/commons/math/optimization/direct/CMAESOptimizer.java

ViolationLine
These nested if statements could be combined419 - 421
These nested if statements could be combined427 - 429
These nested if statements could be combined534 - 536
Avoid unused method parameters such as 'xold'.654 - 673

org/apache/commons/math/optimization/direct/PowellOptimizer.java

ViolationLine
These nested if statements could be combined168 - 170

org/apache/commons/math/optimization/fitting/GaussianFitter.java

ViolationLine
No need to import a type that lives in the same package32
No need to import a type that lives in the same package33
Avoid empty catch blocks92 - 94
Avoid empty catch blocks104 - 106

org/apache/commons/math/optimization/general/GaussNewtonOptimizer.java

ViolationLine
These nested if statements could be combined160 - 162

org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java

ViolationLine
These nested if statements could be combined465 - 467

org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizer.java

ViolationLine
These nested if statements could be combined177 - 180

org/apache/commons/math/optimization/univariate/BrentOptimizer.java

ViolationLine
These nested if statements could be combined241 - 243

org/apache/commons/math/random/EmpiricalDistributionImpl.java

ViolationLine
Avoid empty catch blocks210 - 212
Avoid empty catch blocks235 - 237

org/apache/commons/math/random/ValueServer.java

ViolationLine
Avoid empty catch blocks266 - 268

org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java

ViolationLine
These nested if statements could be combined325 - 328

org/apache/commons/math/stat/Frequency.java

ViolationLine
Avoid empty catch blocks208 - 210

org/apache/commons/math/stat/regression/MillerUpdatingRegression.java

ViolationLine
Avoid unnecessary return statements198
Avoid unnecessary return statements228
Avoid unnecessary return statements301
Avoid unnecessary return statements352
Avoid unnecessary return statements376
Avoid unnecessary return statements473
Avoid unnecessary return statements493
Avoid unnecessary return statements597
These nested if statements could be combined858 - 866

org/apache/commons/math/stat/regression/RegressionResults.java

ViolationLine
Avoid unused private fields such as 'rank'.51

org/apache/commons/math/stat/regression/SimpleRegression.java

ViolationLine
Avoid unnecessary return statements147
Avoid unnecessary return statements188
Avoid unnecessary return statements217
Avoid unnecessary return statements233
Avoid unnecessary return statements267

org/apache/commons/math/transform/FastFourierTransformer.java

ViolationLine
Avoid unnecessary return statements595

org/apache/commons/math/util/CompositeFormat.java

ViolationLine
These nested if statements could be combined122 - 125

org/apache/commons/math/util/FastMath.java

ViolationLine
These nested if statements could be combined1113 - 1119
These nested if statements could be combined1155 - 1198

org/apache/commons/math/util/FastMathCalc.java

ViolationLine
Error while parsing E:\devel\commons-math\maven.1302844234223\src\main\java\org\apache\commons\math\util\FastMathCalc.java: Encountered ":" at line 607, column 28. Was expecting one of: "[" ... ";" ... "," ... "=" ... 0
Error while parsing E:\devel\commons-math\maven.1302844234223\src\main\java\org\apache\commons\math\util\FastMathCalc.java: Encountered ":" at line 607, column 28. Was expecting one of: "[" ... ";" ... "," ... "=" ... 0
Error while parsing E:\devel\commons-math\maven.1302844234223\src\main\java\org\apache\commons\math\util\FastMathCalc.java: Encountered ":" at line 607, column 28. Was expecting one of: "[" ... ";" ... "," ... "=" ... 0

org/apache/commons/math/util/FastMathResources.java

ViolationLine
Avoid unused private methods such as 'saveTable1d(String,double)'.172 - 173
Avoid unused private methods such as 'loadTable1d(String,int)'.230 - 231

org/apache/commons/math/util/OpenIntToDoubleHashMap.java

ViolationLine
Avoid empty catch blocks504 - 506
Avoid empty while statements569 - 571

org/apache/commons/math/util/OpenIntToFieldHashMap.java

ViolationLine
Avoid empty catch blocks519 - 521
Avoid empty while statements584 - 586