PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 3
org/hipparchus/stat/correlation/StorelessBivariateCovariance.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to meanY in operand | 74 |
org/hipparchus/stat/descriptive/AbstractStorelessUnivariateStatistic.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 44 |
org/hipparchus/stat/descriptive/moment/SecondMoment.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to m2 in operand | 85 |
org/hipparchus/stat/descriptive/moment/ThirdMoment.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to m2 in operand | 94 |
| AssignmentInOperand | Avoid assignment to m1 in operand | 94 |
org/hipparchus/stat/descriptive/rank/PSquarePercentile.java
| Rule | Violation | Line |
|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 227–238 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 228–237 |
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 348 |
| AssignmentInOperand | Avoid assignments in operands | 654 |
| AssignmentInOperand | Avoid assignment to next in operand | 837 |
org/hipparchus/stat/descriptive/rank/Percentile.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to bitSetPtr in operand | 492 |
org/hipparchus/stat/descriptive/vector/VectorialCovariance.java
| Rule | Violation | Line |
|---|---|---|
| AssignmentInOperand | Avoid assignment to k in operand | 75 |
| AssignmentInOperand | Avoid assignment to k in operand | 95 |
org/hipparchus/stat/inference/BinomialTest.java
| Rule | Violation | Line |
|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 131–169 |
org/hipparchus/stat/inference/MannWhitneyUTest.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 467 |
org/hipparchus/stat/ranking/NaturalRanking.java
| Rule | Violation | Line |
|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 201–222 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 341–371 |
| AssignmentInOperand | Avoid assignment to i in operand | 366 |
org/hipparchus/stat/regression/AbstractMultipleLinearRegression.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 58 |
| AssignmentInOperand | Avoid assignment to pointer in operand | 136 |
| AssignmentInOperand | Avoid assignment to pointer in operand | 141 |
Files
org/hipparchus/stat/correlation/StorelessBivariateCovariance.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to meanY in operand | 3 | 74 |
org/hipparchus/stat/descriptive/AbstractStorelessUnivariateStatistic.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 44 |
org/hipparchus/stat/descriptive/moment/SecondMoment.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to m2 in operand | 3 | 85 |
org/hipparchus/stat/descriptive/moment/ThirdMoment.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to m2 in operand | 3 | 94 |
| AssignmentInOperand | Avoid assignment to m1 in operand | 3 | 94 |
org/hipparchus/stat/descriptive/rank/PSquarePercentile.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 227–238 |
| AvoidSynchronizedStatement | Use ReentrantLock rather than synchronization | 3 | 228–237 |
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 348 |
| AssignmentInOperand | Avoid assignments in operands | 3 | 654 |
| AssignmentInOperand | Avoid assignment to next in operand | 3 | 837 |
org/hipparchus/stat/descriptive/rank/Percentile.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to bitSetPtr in operand | 3 | 492 |
org/hipparchus/stat/descriptive/vector/VectorialCovariance.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AssignmentInOperand | Avoid assignment to k in operand | 3 | 75 |
| AssignmentInOperand | Avoid assignment to k in operand | 3 | 95 |
org/hipparchus/stat/inference/BinomialTest.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 131–169 |
org/hipparchus/stat/inference/MannWhitneyUTest.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 467 |
org/hipparchus/stat/ranking/NaturalRanking.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 201–222 |
| ExhaustiveSwitchHasDefault | The switch block is exhaustive even without the default case | 3 | 341–371 |
| AssignmentInOperand | Avoid assignment to i in operand | 3 | 366 |
org/hipparchus/stat/regression/AbstractMultipleLinearRegression.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryWarningSuppression | Unnecessary PMD suppression comment | 3 | 58 |
| AssignmentInOperand | Avoid assignment to pointer in operand | 3 | 136 |
| AssignmentInOperand | Avoid assignment to pointer in operand | 3 | 141 |
Hipparchus::Statistics