The following document contains the results of PMD 6.42.0.

Violations By Priority

Priority 3

org/hipparchus/optim/BaseMultiStartMultivariateOptimizer.java

Rule Violation Line
CognitiveComplexity The method 'doOptimize()' has a cognitive complexity of 33, current threshold is 15 144224

org/hipparchus/optim/BaseMultivariateOptimizer.java

Rule Violation Line
CognitiveComplexity The method 'checkParameters()' has a cognitive complexity of 25, current threshold is 15 129161

org/hipparchus/optim/linear/SimplexSolver.java

Rule Violation Line
CognitiveComplexity The method 'getPivotRow(SimplexTableau, int)' has a cognitive complexity of 29, current threshold is 15 253314

org/hipparchus/optim/linear/SimplexTableau.java

Rule Violation Line
CognitiveComplexity The method 'createTableau(boolean)' has a cognitive complexity of 15, current threshold is 15 214274
CognitiveComplexity The method 'getSolution()' has a cognitive complexity of 21, current threshold is 15 474505

org/hipparchus/optim/nonlinear/scalar/MultivariateFunctionMappingAdapter.java

Rule Violation Line
CognitiveComplexity The constructor 'MultivariateFunctionMappingAdapter(MultivariateFunction, double, double)' has a cognitive complexity of 16, current threshold is 15 101138

org/hipparchus/optim/nonlinear/scalar/gradient/NonLinearConjugateGradientOptimizer.java

Rule Violation Line
CognitiveComplexity The method 'doOptimize()' has a cognitive complexity of 29, current threshold is 15 170255

org/hipparchus/optim/nonlinear/scalar/noderiv/AbstractSimplex.java

Rule Violation Line
CognitiveComplexity The constructor 'AbstractSimplex(double)' has a cognitive complexity of 21, current threshold is 15 133177

org/hipparchus/optim/nonlinear/scalar/noderiv/BOBYQAOptimizer.java

Rule Violation Line
CognitiveComplexity The method 'bobyqb(double, double)' has a cognitive complexity of 532, current threshold is 15 3851223
CognitiveComplexity The method 'altmov(int, double)' has a cognitive complexity of 118, current threshold is 15 12601557
CognitiveComplexity The method 'prelim(double, double)' has a cognitive complexity of 68, current threshold is 15 15811752
CognitiveComplexity The method 'trsbox(double, ArrayRealVector, ArrayRealVector, ArrayRealVector, ArrayRealVector, ArrayRealVector)' has a cognitive complexity of 249, current threshold is 15 18012284
CognitiveComplexity The method 'update(double, double, int)' has a cognitive complexity of 17, current threshold is 15 23012378

org/hipparchus/optim/nonlinear/scalar/noderiv/CMAESOptimizer.java

Rule Violation Line
CognitiveComplexity The method 'doOptimize()' has a cognitive complexity of 85, current threshold is 15 372524

org/hipparchus/optim/nonlinear/scalar/noderiv/NelderMeadSimplex.java

Rule Violation Line
CognitiveComplexity The method 'iterate(MultivariateFunction, Comparator)' has a cognitive complexity of 41, current threshold is 15 189283

org/hipparchus/optim/nonlinear/scalar/noderiv/PowellOptimizer.java

Rule Violation Line
CognitiveComplexity The method 'doOptimize()' has a cognitive complexity of 31, current threshold is 15 171261

org/hipparchus/optim/nonlinear/vector/leastsquares/LevenbergMarquardtOptimizer.java

Rule Violation Line
CognitiveComplexity The method 'optimize(LeastSquaresProblem)' has a cognitive complexity of 104, current threshold is 15 301551
CognitiveComplexity The method 'determineLMParameter(double, double, double, InternalData, int, double, double, double, double, double)' has a cognitive complexity of 43, current threshold is 15 627784
CognitiveComplexity The method 'determineLMDirection(double, double, double, InternalData, int, double, double)' has a cognitive complexity of 33, current threshold is 15 809915
CognitiveComplexity The method 'qrDecomposition(RealMatrix, int)' has a cognitive complexity of 28, current threshold is 15 9431020

org/hipparchus/optim/nonlinear/vector/leastsquares/SequentialGaussNewtonOptimizer.java

Rule Violation Line
CognitiveComplexity The method 'optimize(LeastSquaresProblem)' has a cognitive complexity of 27, current threshold is 15 250332

org/hipparchus/optim/univariate/BracketFinder.java

Rule Violation Line
CognitiveComplexity The method 'search(UnivariateFunction, GoalType, double, double)' has a cognitive complexity of 32, current threshold is 15 121220

org/hipparchus/optim/univariate/BrentOptimizer.java

Rule Violation Line
CognitiveComplexity The method 'doOptimize()' has a cognitive complexity of 87, current threshold is 15 120288

Files

org/hipparchus/optim/BaseMultiStartMultivariateOptimizer.java

Rule Violation Priority Line
CognitiveComplexity The method 'doOptimize()' has a cognitive complexity of 33, current threshold is 15 3 144224

org/hipparchus/optim/BaseMultivariateOptimizer.java

Rule Violation Priority Line
CognitiveComplexity The method 'checkParameters()' has a cognitive complexity of 25, current threshold is 15 3 129161

org/hipparchus/optim/linear/SimplexSolver.java

Rule Violation Priority Line
CognitiveComplexity The method 'getPivotRow(SimplexTableau, int)' has a cognitive complexity of 29, current threshold is 15 3 253314

org/hipparchus/optim/linear/SimplexTableau.java

Rule Violation Priority Line
CognitiveComplexity The method 'createTableau(boolean)' has a cognitive complexity of 15, current threshold is 15 3 214274
CognitiveComplexity The method 'getSolution()' has a cognitive complexity of 21, current threshold is 15 3 474505

org/hipparchus/optim/nonlinear/scalar/MultivariateFunctionMappingAdapter.java

Rule Violation Priority Line
CognitiveComplexity The constructor 'MultivariateFunctionMappingAdapter(MultivariateFunction, double, double)' has a cognitive complexity of 16, current threshold is 15 3 101138

org/hipparchus/optim/nonlinear/scalar/gradient/NonLinearConjugateGradientOptimizer.java

Rule Violation Priority Line
CognitiveComplexity The method 'doOptimize()' has a cognitive complexity of 29, current threshold is 15 3 170255

org/hipparchus/optim/nonlinear/scalar/noderiv/AbstractSimplex.java

Rule Violation Priority Line
CognitiveComplexity The constructor 'AbstractSimplex(double)' has a cognitive complexity of 21, current threshold is 15 3 133177

org/hipparchus/optim/nonlinear/scalar/noderiv/BOBYQAOptimizer.java

Rule Violation Priority Line
CognitiveComplexity The method 'bobyqb(double, double)' has a cognitive complexity of 532, current threshold is 15 3 3851223
CognitiveComplexity The method 'altmov(int, double)' has a cognitive complexity of 118, current threshold is 15 3 12601557
CognitiveComplexity The method 'prelim(double, double)' has a cognitive complexity of 68, current threshold is 15 3 15811752
CognitiveComplexity The method 'trsbox(double, ArrayRealVector, ArrayRealVector, ArrayRealVector, ArrayRealVector, ArrayRealVector)' has a cognitive complexity of 249, current threshold is 15 3 18012284
CognitiveComplexity The method 'update(double, double, int)' has a cognitive complexity of 17, current threshold is 15 3 23012378

org/hipparchus/optim/nonlinear/scalar/noderiv/CMAESOptimizer.java

Rule Violation Priority Line
CognitiveComplexity The method 'doOptimize()' has a cognitive complexity of 85, current threshold is 15 3 372524

org/hipparchus/optim/nonlinear/scalar/noderiv/NelderMeadSimplex.java

Rule Violation Priority Line
CognitiveComplexity The method 'iterate(MultivariateFunction, Comparator)' has a cognitive complexity of 41, current threshold is 15 3 189283

org/hipparchus/optim/nonlinear/scalar/noderiv/PowellOptimizer.java

Rule Violation Priority Line
CognitiveComplexity The method 'doOptimize()' has a cognitive complexity of 31, current threshold is 15 3 171261

org/hipparchus/optim/nonlinear/vector/leastsquares/LevenbergMarquardtOptimizer.java

Rule Violation Priority Line
CognitiveComplexity The method 'optimize(LeastSquaresProblem)' has a cognitive complexity of 104, current threshold is 15 3 301551
CognitiveComplexity The method 'determineLMParameter(double, double, double, InternalData, int, double, double, double, double, double)' has a cognitive complexity of 43, current threshold is 15 3 627784
CognitiveComplexity The method 'determineLMDirection(double, double, double, InternalData, int, double, double)' has a cognitive complexity of 33, current threshold is 15 3 809915
CognitiveComplexity The method 'qrDecomposition(RealMatrix, int)' has a cognitive complexity of 28, current threshold is 15 3 9431020

org/hipparchus/optim/nonlinear/vector/leastsquares/SequentialGaussNewtonOptimizer.java

Rule Violation Priority Line
CognitiveComplexity The method 'optimize(LeastSquaresProblem)' has a cognitive complexity of 27, current threshold is 15 3 250332

org/hipparchus/optim/univariate/BracketFinder.java

Rule Violation Priority Line
CognitiveComplexity The method 'search(UnivariateFunction, GoalType, double, double)' has a cognitive complexity of 32, current threshold is 15 3 121220

org/hipparchus/optim/univariate/BrentOptimizer.java

Rule Violation Priority Line
CognitiveComplexity The method 'doOptimize()' has a cognitive complexity of 87, current threshold is 15 3 120288

Back to top

Version: 2.1. Last Published: 2022-04-20.

Reflow Maven skin by Andrius Velykis.