PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 2
org/hipparchus/analysis/interpolation/TrivariateGridInterpolator.java
| Rule | Violation | Line |
|---|---|---|
| ImplicitFunctionalInterface | Annotate this interface with @FunctionalInterface or with @SuppressWarnings("PMD.ImplicitFunctionalInterface") to clarify your intent. | 32 |
org/hipparchus/analysis/interpolation/UnivariateInterpolator.java
| Rule | Violation | Line |
|---|---|---|
| ImplicitFunctionalInterface | Annotate this interface with @FunctionalInterface or with @SuppressWarnings("PMD.ImplicitFunctionalInterface") to clarify your intent. | 31 |
Priority 3
org/hipparchus/analysis/differentiation/DSCompiler.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 506–596 |
| AssignmentInOperand | Avoid assignment to m in operand | 783 |
org/hipparchus/analysis/differentiation/FieldGradientField.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 64–76 |
org/hipparchus/analysis/differentiation/FieldTaylorMap.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to linearIndex in operand | 227 |
org/hipparchus/analysis/differentiation/FieldUnivariateDerivative.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 38 |
org/hipparchus/analysis/differentiation/FieldUnivariateDerivative1Field.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 58–67 |
org/hipparchus/analysis/differentiation/FieldUnivariateDerivative2Field.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 58–67 |
org/hipparchus/analysis/differentiation/TaylorMap.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to linearIndex in operand | 201 |
org/hipparchus/analysis/differentiation/UnivariateDerivative.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 42 |
org/hipparchus/analysis/integration/LebedevQuadrature.java
| Rule | Violation | Line |
|---|---|---|
| SwitchDensity | A high ratio of statements to labels in a switch statement. Consider refactoring. | 239–394 |
| UnusedAssignment | The updated value of variable 'n' is never used | 247 |
| UnusedAssignment | The updated value of variable 'n' is never used | 264 |
| UnusedAssignment | The updated value of variable 'n' is never used | 277 |
| UnusedAssignment | The updated value of variable 'n' is never used | 306 |
| UnusedAssignment | The updated value of variable 'n' is never used | 335 |
| UnusedAssignment | The updated value of variable 'n' is never used | 388 |
org/hipparchus/analysis/integration/gauss/AbstractRuleFactory.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 49 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 68–81 |
org/hipparchus/analysis/integration/gauss/FieldAbstractRuleFactory.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 80–93 |
org/hipparchus/analysis/interpolation/BilinearInterpolatingFunction.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to k in operand | 71 |
org/hipparchus/analysis/interpolation/FieldBilinearInterpolatingFunction.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to k in operand | 69 |
org/hipparchus/analysis/polynomials/PolynomialsUtils.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 327–332 |
org/hipparchus/analysis/solvers/BaseSecantSolver.java
| Rule | Violation | Line |
|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 215–232 |
org/hipparchus/analysis/solvers/BracketedRealFieldUnivariateSolver.java
| Rule | Violation | Line |
|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 295–311 |
org/hipparchus/analysis/solvers/BracketedUnivariateSolver.java
| Rule | Violation | Line |
|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 240–256 |
org/hipparchus/complex/FieldComplexField.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 58–64 |
org/hipparchus/complex/RootsOfUnity.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 88–93 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 119–146 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 160–170 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 184–196 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 209–211 |
org/hipparchus/dfp/Dfp.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to p in operand | 520 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 716–746 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 1598–1631 |
| AssignmentInOperand | Avoid assignment to p in operand | 2276 |
| AssignmentInOperand | Avoid assignment to p in operand | 2277 |
| AssignmentInOperand | Avoid assignment to p in operand | 2278 |
| AssignmentInOperand | Avoid assignment to p in operand | 2279 |
| AssignmentInOperand | Avoid assignment to p in operand | 2298 |
| AssignmentInOperand | Avoid assignment to p in operand | 2301 |
org/hipparchus/dfp/DfpDec.java
| Rule | Violation | Line |
|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 219–256 |
org/hipparchus/dfp/DfpField.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 210–236 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 636–660 |
org/hipparchus/distribution/continuous/EnumeratedRealDistribution.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to count in operand | 70 |
org/hipparchus/distribution/discrete/AbstractIntegerDistribution.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 51 |
org/hipparchus/distribution/discrete/EnumeratedIntegerDistribution.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to count in operand | 85 |
org/hipparchus/fraction/AbstractFormat.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 149 |
org/hipparchus/fraction/BigFractionFormat.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 141 |
org/hipparchus/fraction/FractionFormat.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 149 |
org/hipparchus/linear/BlockFieldMatrix.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to l in operand | 610 |
| AssignmentInOperand | Avoid assignment to l in operand | 678 |
| AssignmentInOperand | Avoid assignment to n in operand | 678 |
| AssignmentInOperand | Avoid assignment to r in operand | 862 |
| AssignmentInOperand | Avoid assignment to blockIndex in operand | 896 |
| AssignmentInOperand | Avoid assignment to outBlockIndex in operand | 1106 |
| AssignmentInOperand | Avoid assignment to mBlockIndex in operand | 1163 |
| AssignmentInOperand | Avoid assignment to outBlockIndex in operand | 1192 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 1195 |
| AssignmentInOperand | Avoid assignment to mBlockIndex in operand | 1247 |
| AssignmentInOperand | Avoid assignment to mIndex in operand | 1250 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 1303 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 1380 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 1408 |
| AssignmentInOperand | Avoid assignment to k in operand | 1558 |
| AssignmentInOperand | Avoid assignment to q in operand | 1558 |
| AssignmentInOperand | Avoid assignment to p in operand | 1605 |
org/hipparchus/linear/BlockRealMatrix.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to r in operand | 510 |
| AssignmentInOperand | Avoid assignment to l in operand | 578 |
| AssignmentInOperand | Avoid assignment to l in operand | 644 |
| AssignmentInOperand | Avoid assignment to n in operand | 644 |
| AssignmentInOperand | Avoid assignment to r in operand | 697 |
| AssignmentInOperand | Avoid assignment to r in operand | 827 |
| AssignmentInOperand | Avoid assignment to blockIndex in operand | 860 |
| AssignmentInOperand | Avoid assignment to outBlockIndex in operand | 1134 |
| AssignmentInOperand | Avoid assignment to mBlockIndex in operand | 1191 |
| AssignmentInOperand | Avoid assignment to outBlockIndex in operand | 1220 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 1223 |
| AssignmentInOperand | Avoid assignment to mBlockIndex in operand | 1275 |
| AssignmentInOperand | Avoid assignment to mIndex in operand | 1278 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 1331 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 1408 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 1436 |
| AssignmentInOperand | Avoid assignment to k in operand | 1570 |
| AssignmentInOperand | Avoid assignment to q in operand | 1570 |
| AssignmentInOperand | Avoid assignment to p in operand | 1615 |
org/hipparchus/linear/ComplexSchurTransformer.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to iteration in operand | 252 |
| CommentRequired | Class comments are required | 402 |
| CommentRequired | Public method and constructor comments are required | 412 |
org/hipparchus/linear/EigenDecompositionNonSymmetric.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to i in operand | 285 |
| AssignmentInOperand | Avoid assignment to i in operand | 286 |
org/hipparchus/linear/FieldQRDecomposition.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 437 |
org/hipparchus/linear/QRDecomposition.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 424 |
org/hipparchus/linear/RealVector.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 68 |
| AssignmentInOperand | Avoid assignment to i in operand | 782 |
org/hipparchus/linear/RectangularCholeskyDecomposition.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to r in operand | 164 |
org/hipparchus/linear/SchurTransformer.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignments in operands | 286 |
| AssignmentInOperand | Avoid assignments in operands | 318 |
| AssignmentInOperand | Avoid assignments in operands | 318 |
org/hipparchus/linear/SparseRealVector.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 44 |
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 48 |
org/hipparchus/random/ISAACRandom.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to count in operand | 137 |
| AssignmentInOperand | Avoid assignment to isaacC in operand | 144 |
| AssignmentInOperand | Avoid assignment to isaacJ in operand | 158 |
| AssignmentInOperand | Avoid assignment to isaacJ in operand | 162 |
| AssignmentInOperand | Avoid assignment to isaacJ in operand | 166 |
| AssignmentInOperand | Avoid assignment to isaacJ in operand | 170 |
| AssignmentInOperand | Avoid assignment to isaacI in operand | 178 |
org/hipparchus/random/IntRandomGenerator.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 109 |
| AssignmentInOperand | Avoid assignment to index in operand | 110 |
| AssignmentInOperand | Avoid assignment to index in operand | 111 |
| AssignmentInOperand | Avoid assignment to index in operand | 112 |
| AssignmentInOperand | Avoid assignment to index in operand | 121 |
org/hipparchus/random/MersenneTwister.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to mti in operand | 255 |
org/hipparchus/random/RandomDataGenerator.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 60 |
| AssignmentInOperand | Avoid assignment to j in operand | 903 |
| AssignmentInOperand | Avoid assignment to j in operand | 905 |
org/hipparchus/random/SobolSequenceGenerator.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 205 |
org/hipparchus/random/SynchronizedRandomGenerator.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 52–54 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 60–62 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 68–70 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 76–78 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 84–86 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 92–94 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 100–102 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 108–110 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 116–118 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 124–126 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 132–134 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 140–142 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 148–150 |
org/hipparchus/special/elliptic/legendre/LegendreEllipticIntegral.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 74 |
org/hipparchus/util/BigReal.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 147 |
org/hipparchus/util/CompositeFormat.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 91 |
org/hipparchus/util/FastMath.java
| Rule | Violation | Line |
|---|---|---|
| PreserveStackTrace | Thrown exception does not preserve the stack trace of exception 'mre' on all code paths | 4945 |
| PreserveStackTrace | Thrown exception does not preserve the stack trace of exception 'mre' on all code paths | 4960 |
| PreserveStackTrace | Thrown exception does not preserve the stack trace of exception 'mre' on all code paths | 4983 |
| PreserveStackTrace | Thrown exception does not preserve the stack trace of exception 'mre' on all code paths | 5006 |
org/hipparchus/util/FastMathCalc.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignments in operands | 214 |
| AssignmentInOperand | Avoid assignments in operands | 258 |
| AssignmentInOperand | Avoid assignments in operands | 302 |
| AssignmentInOperand | Avoid assignment to i in operand | 613 |
org/hipparchus/util/FieldTuple.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 51 |
org/hipparchus/util/KthSelector.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to i in operand | 147 |
| AssignmentInOperand | Avoid assignment to j in operand | 148 |
org/hipparchus/util/MathArrays.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryCast | Unnecessary cast (long) | 214 |
| UnnecessaryCast | Unnecessary cast (long) | 214 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 330–358 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 508–534 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 604–630 |
| AssignmentInOperand | Avoid assignment to j in operand | 1762 |
| AssignmentInOperand | Avoid assignment to k in operand | 1762 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 1818–1839 |
| AssignmentInOperand | Avoid assignment to i in operand | 2110 |
org/hipparchus/util/MultidimensionalCounter.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to count in operand | 125 |
org/hipparchus/util/OpenIntToDoubleHashMap.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignments in operands | 172 |
org/hipparchus/util/OpenIntToFieldHashMap.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignments in operands | 191 |
org/hipparchus/util/PartitionsIterator.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to r in operand | 89 |
| AssignmentInOperand | Avoid assignment to j in operand | 90 |
org/hipparchus/util/Precision.java
| Rule | Violation | Line |
|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 508–576 |
org/hipparchus/util/ResizableDoubleArray.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to numElements in operand | 321 |
org/hipparchus/util/RomanNumeral.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to componentIndex in operand | 67 |
| AssignmentInOperand | Avoid assignment to componentIndex in operand | 98 |
org/hipparchus/util/RosenNumberPartitionIterator.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignments in operands | 104 |
| AssignmentInOperand | Avoid assignment to i in operand | 104 |
| AssignmentInOperand | Avoid assignment to j in operand | 107 |
org/hipparchus/util/RyuDouble.java
| Rule | Violation | Line |
|---|---|---|
| DanglingJavadoc | Javadoc comment does not belong to any class, method or field | 87 |
| AssignmentInOperand | Avoid assignment to index in operand | 322 |
| AssignmentInOperand | Avoid assignment to index in operand | 337 |
| AssignmentInOperand | Avoid assignment to index in operand | 341 |
| AssignmentInOperand | Avoid assignment to index in operand | 343 |
| AssignmentInOperand | Avoid assignment to index in operand | 347 |
| AssignmentInOperand | Avoid assignment to index in operand | 349 |
| AssignmentInOperand | Avoid assignment to index in operand | 351 |
| AssignmentInOperand | Avoid assignment to index in operand | 353 |
| AssignmentInOperand | Avoid assignment to index in operand | 359 |
| AssignmentInOperand | Avoid assignment to index in operand | 360 |
| AssignmentInOperand | Avoid assignment to index in operand | 362 |
| AssignmentInOperand | Avoid assignment to index in operand | 378 |
| AssignmentInOperand | Avoid assignment to index in operand | 380 |
| AssignmentInOperand | Avoid assignment to index in operand | 381 |
org/hipparchus/util/Tuple.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 49 |
Files
org/hipparchus/analysis/differentiation/DSCompiler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 506–596 |
| AssignmentInOperand | Avoid assignment to m in operand | 3 | 783 |
org/hipparchus/analysis/differentiation/FieldGradientField.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 64–76 |
org/hipparchus/analysis/differentiation/FieldTaylorMap.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to linearIndex in operand | 3 | 227 |
org/hipparchus/analysis/differentiation/FieldUnivariateDerivative.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 38 |
org/hipparchus/analysis/differentiation/FieldUnivariateDerivative1Field.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 58–67 |
org/hipparchus/analysis/differentiation/FieldUnivariateDerivative2Field.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 58–67 |
org/hipparchus/analysis/differentiation/TaylorMap.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to linearIndex in operand | 3 | 201 |
org/hipparchus/analysis/differentiation/UnivariateDerivative.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 42 |
org/hipparchus/analysis/integration/LebedevQuadrature.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| SwitchDensity | A high ratio of statements to labels in a switch statement. Consider refactoring. | 3 | 239–394 |
| UnusedAssignment | The updated value of variable 'n' is never used | 3 | 247 |
| UnusedAssignment | The updated value of variable 'n' is never used | 3 | 264 |
| UnusedAssignment | The updated value of variable 'n' is never used | 3 | 277 |
| UnusedAssignment | The updated value of variable 'n' is never used | 3 | 306 |
| UnusedAssignment | The updated value of variable 'n' is never used | 3 | 335 |
| UnusedAssignment | The updated value of variable 'n' is never used | 3 | 388 |
org/hipparchus/analysis/integration/gauss/AbstractRuleFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 49 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 68–81 |
org/hipparchus/analysis/integration/gauss/FieldAbstractRuleFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 80–93 |
org/hipparchus/analysis/interpolation/BilinearInterpolatingFunction.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to k in operand | 3 | 71 |
org/hipparchus/analysis/interpolation/FieldBilinearInterpolatingFunction.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to k in operand | 3 | 69 |
org/hipparchus/analysis/interpolation/TrivariateGridInterpolator.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ImplicitFunctionalInterface | Annotate this interface with @FunctionalInterface or with @SuppressWarnings("PMD.ImplicitFunctionalInterface") to clarify your intent. | 2 | 32 |
org/hipparchus/analysis/interpolation/UnivariateInterpolator.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ImplicitFunctionalInterface | Annotate this interface with @FunctionalInterface or with @SuppressWarnings("PMD.ImplicitFunctionalInterface") to clarify your intent. | 2 | 31 |
org/hipparchus/analysis/polynomials/PolynomialsUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 327–332 |
org/hipparchus/analysis/solvers/BaseSecantSolver.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 215–232 |
org/hipparchus/analysis/solvers/BracketedRealFieldUnivariateSolver.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 295–311 |
org/hipparchus/analysis/solvers/BracketedUnivariateSolver.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 240–256 |
org/hipparchus/complex/FieldComplexField.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 58–64 |
org/hipparchus/complex/RootsOfUnity.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 88–93 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 119–146 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 160–170 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 184–196 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 209–211 |
org/hipparchus/dfp/Dfp.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to p in operand | 3 | 520 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 716–746 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 1598–1631 |
| AssignmentInOperand | Avoid assignment to p in operand | 3 | 2276 |
| AssignmentInOperand | Avoid assignment to p in operand | 3 | 2277 |
| AssignmentInOperand | Avoid assignment to p in operand | 3 | 2278 |
| AssignmentInOperand | Avoid assignment to p in operand | 3 | 2279 |
| AssignmentInOperand | Avoid assignment to p in operand | 3 | 2298 |
| AssignmentInOperand | Avoid assignment to p in operand | 3 | 2301 |
org/hipparchus/dfp/DfpDec.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 219–256 |
org/hipparchus/dfp/DfpField.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 210–236 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 636–660 |
org/hipparchus/distribution/continuous/EnumeratedRealDistribution.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to count in operand | 3 | 70 |
org/hipparchus/distribution/discrete/AbstractIntegerDistribution.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 51 |
org/hipparchus/distribution/discrete/EnumeratedIntegerDistribution.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to count in operand | 3 | 85 |
org/hipparchus/fraction/AbstractFormat.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 149 |
org/hipparchus/fraction/BigFractionFormat.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 141 |
org/hipparchus/fraction/FractionFormat.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 149 |
org/hipparchus/linear/BlockFieldMatrix.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to l in operand | 3 | 610 |
| AssignmentInOperand | Avoid assignment to l in operand | 3 | 678 |
| AssignmentInOperand | Avoid assignment to n in operand | 3 | 678 |
| AssignmentInOperand | Avoid assignment to r in operand | 3 | 862 |
| AssignmentInOperand | Avoid assignment to blockIndex in operand | 3 | 896 |
| AssignmentInOperand | Avoid assignment to outBlockIndex in operand | 3 | 1106 |
| AssignmentInOperand | Avoid assignment to mBlockIndex in operand | 3 | 1163 |
| AssignmentInOperand | Avoid assignment to outBlockIndex in operand | 3 | 1192 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 3 | 1195 |
| AssignmentInOperand | Avoid assignment to mBlockIndex in operand | 3 | 1247 |
| AssignmentInOperand | Avoid assignment to mIndex in operand | 3 | 1250 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 3 | 1303 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 3 | 1380 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 3 | 1408 |
| AssignmentInOperand | Avoid assignment to k in operand | 3 | 1558 |
| AssignmentInOperand | Avoid assignment to q in operand | 3 | 1558 |
| AssignmentInOperand | Avoid assignment to p in operand | 3 | 1605 |
org/hipparchus/linear/BlockRealMatrix.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to r in operand | 3 | 510 |
| AssignmentInOperand | Avoid assignment to l in operand | 3 | 578 |
| AssignmentInOperand | Avoid assignment to l in operand | 3 | 644 |
| AssignmentInOperand | Avoid assignment to n in operand | 3 | 644 |
| AssignmentInOperand | Avoid assignment to r in operand | 3 | 697 |
| AssignmentInOperand | Avoid assignment to r in operand | 3 | 827 |
| AssignmentInOperand | Avoid assignment to blockIndex in operand | 3 | 860 |
| AssignmentInOperand | Avoid assignment to outBlockIndex in operand | 3 | 1134 |
| AssignmentInOperand | Avoid assignment to mBlockIndex in operand | 3 | 1191 |
| AssignmentInOperand | Avoid assignment to outBlockIndex in operand | 3 | 1220 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 3 | 1223 |
| AssignmentInOperand | Avoid assignment to mBlockIndex in operand | 3 | 1275 |
| AssignmentInOperand | Avoid assignment to mIndex in operand | 3 | 1278 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 3 | 1331 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 3 | 1408 |
| AssignmentInOperand | Avoid assignment to outIndex in operand | 3 | 1436 |
| AssignmentInOperand | Avoid assignment to k in operand | 3 | 1570 |
| AssignmentInOperand | Avoid assignment to q in operand | 3 | 1570 |
| AssignmentInOperand | Avoid assignment to p in operand | 3 | 1615 |
org/hipparchus/linear/ComplexSchurTransformer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to iteration in operand | 3 | 252 |
| CommentRequired | Class comments are required | 3 | 402 |
| CommentRequired | Public method and constructor comments are required | 3 | 412 |
org/hipparchus/linear/EigenDecompositionNonSymmetric.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to i in operand | 3 | 285 |
| AssignmentInOperand | Avoid assignment to i in operand | 3 | 286 |
org/hipparchus/linear/FieldQRDecomposition.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 437 |
org/hipparchus/linear/QRDecomposition.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 424 |
org/hipparchus/linear/RealVector.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 68 |
| AssignmentInOperand | Avoid assignment to i in operand | 3 | 782 |
org/hipparchus/linear/RectangularCholeskyDecomposition.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to r in operand | 3 | 164 |
org/hipparchus/linear/SchurTransformer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignments in operands | 3 | 286 |
| AssignmentInOperand | Avoid assignments in operands | 3 | 318 |
| AssignmentInOperand | Avoid assignments in operands | 3 | 318 |
org/hipparchus/linear/SparseRealVector.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 44 |
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 48 |
org/hipparchus/random/ISAACRandom.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to count in operand | 3 | 137 |
| AssignmentInOperand | Avoid assignment to isaacC in operand | 3 | 144 |
| AssignmentInOperand | Avoid assignment to isaacJ in operand | 3 | 158 |
| AssignmentInOperand | Avoid assignment to isaacJ in operand | 3 | 162 |
| AssignmentInOperand | Avoid assignment to isaacJ in operand | 3 | 166 |
| AssignmentInOperand | Avoid assignment to isaacJ in operand | 3 | 170 |
| AssignmentInOperand | Avoid assignment to isaacI in operand | 3 | 178 |
org/hipparchus/random/IntRandomGenerator.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 109 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 110 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 111 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 112 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 121 |
org/hipparchus/random/MersenneTwister.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to mti in operand | 3 | 255 |
org/hipparchus/random/RandomDataGenerator.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 60 |
| AssignmentInOperand | Avoid assignment to j in operand | 3 | 903 |
| AssignmentInOperand | Avoid assignment to j in operand | 3 | 905 |
org/hipparchus/random/SobolSequenceGenerator.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 205 |
org/hipparchus/random/SynchronizedRandomGenerator.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 52–54 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 60–62 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 68–70 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 76–78 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 84–86 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 92–94 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 100–102 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 108–110 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 116–118 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 124–126 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 132–134 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 140–142 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 148–150 |
org/hipparchus/special/elliptic/legendre/LegendreEllipticIntegral.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 74 |
org/hipparchus/util/BigReal.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 147 |
org/hipparchus/util/CompositeFormat.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 91 |
org/hipparchus/util/FastMath.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| PreserveStackTrace | Thrown exception does not preserve the stack trace of exception 'mre' on all code paths | 3 | 4945 |
| PreserveStackTrace | Thrown exception does not preserve the stack trace of exception 'mre' on all code paths | 3 | 4960 |
| PreserveStackTrace | Thrown exception does not preserve the stack trace of exception 'mre' on all code paths | 3 | 4983 |
| PreserveStackTrace | Thrown exception does not preserve the stack trace of exception 'mre' on all code paths | 3 | 5006 |
org/hipparchus/util/FastMathCalc.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignments in operands | 3 | 214 |
| AssignmentInOperand | Avoid assignments in operands | 3 | 258 |
| AssignmentInOperand | Avoid assignments in operands | 3 | 302 |
| AssignmentInOperand | Avoid assignment to i in operand | 3 | 613 |
org/hipparchus/util/FieldTuple.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 51 |
org/hipparchus/util/KthSelector.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to i in operand | 3 | 147 |
| AssignmentInOperand | Avoid assignment to j in operand | 3 | 148 |
org/hipparchus/util/MathArrays.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryCast | Unnecessary cast (long) | 3 | 214 |
| UnnecessaryCast | Unnecessary cast (long) | 3 | 214 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 330–358 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 508–534 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 604–630 |
| AssignmentInOperand | Avoid assignment to j in operand | 3 | 1762 |
| AssignmentInOperand | Avoid assignment to k in operand | 3 | 1762 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 1818–1839 |
| AssignmentInOperand | Avoid assignment to i in operand | 3 | 2110 |
org/hipparchus/util/MultidimensionalCounter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to count in operand | 3 | 125 |
org/hipparchus/util/OpenIntToDoubleHashMap.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignments in operands | 3 | 172 |
org/hipparchus/util/OpenIntToFieldHashMap.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignments in operands | 3 | 191 |
org/hipparchus/util/PartitionsIterator.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to r in operand | 3 | 89 |
| AssignmentInOperand | Avoid assignment to j in operand | 3 | 90 |
org/hipparchus/util/Precision.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 508–576 |
org/hipparchus/util/ResizableDoubleArray.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to numElements in operand | 3 | 321 |
org/hipparchus/util/RomanNumeral.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to componentIndex in operand | 3 | 67 |
| AssignmentInOperand | Avoid assignment to componentIndex in operand | 3 | 98 |
org/hipparchus/util/RosenNumberPartitionIterator.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignments in operands | 3 | 104 |
| AssignmentInOperand | Avoid assignment to i in operand | 3 | 104 |
| AssignmentInOperand | Avoid assignment to j in operand | 3 | 107 |
org/hipparchus/util/RyuDouble.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| DanglingJavadoc | Javadoc comment does not belong to any class, method or field | 3 | 87 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 322 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 337 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 341 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 343 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 347 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 349 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 351 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 353 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 359 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 360 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 362 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 378 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 380 |
| AssignmentInOperand | Avoid assignment to index in operand | 3 | 381 |
org/hipparchus/util/Tuple.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 49 |
Hipparchus::Core