PMD Results
The following document contains the results of PMD 7.23.0.
Violations By Priority
Priority 3
org/apache/commons/numbers/gamma/BoostBeta.java
| Rule |
Violation |
Line |
| CognitiveComplexity |
The method 'ibetaPowerTerms(double, double, double, double, boolean, double)' has a cognitive complexity of 56, current threshold is 20 |
255 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
297–301 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
302–306 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
329–339 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
343–349 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
372–378 |
| CognitiveComplexity |
The method 'betaIncompleteImp(double, double, double, Policy, boolean, boolean)' has a cognitive complexity of 244, current threshold is 20 |
523 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
544–547 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
630–673 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
677–683 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
696–702 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
704–710 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
762–764 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
766–772 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
776–778 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
781–785 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
795–798 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
801–805 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
807–810 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
854–858 |
org/apache/commons/numbers/gamma/BoostGamma.java
| Rule |
Violation |
Line |
| CognitiveComplexity |
The method 'lgamma(double, int[])' has a cognitive complexity of 23, current threshold is 20 |
757 |
| CognitiveComplexity |
The method 'gammaIncompleteImp(double, double, boolean, boolean, Policy)' has a cognitive complexity of 158, current threshold is 20 |
1185 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
1216–1226 |
| AssignmentInOperand |
Avoid assignment to isHalfInt in operand |
1245 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
1317–1319 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
1383–1393 |
| CognitiveComplexity |
The method 'regularisedGammaPrefix(double, double)' has a cognitive complexity of 26, current threshold is 20 |
1716 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
1758–1760 |
| CognitiveComplexity |
The method 'tgammaDeltaRatio(double, double)' has a cognitive complexity of 21, current threshold is 20 |
2080 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
2110–2118 |
org/apache/commons/numbers/gamma/BoostMath.java
| Rule |
Violation |
Line |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
61–63 |
org/apache/commons/numbers/gamma/InvGamma1pm1.java
| Rule |
Violation |
Line |
| PublicMemberInNonPublicType |
Public member 'value' declared in a non-public type |
116 |
org/apache/commons/numbers/gamma/LogBeta.java
| Rule |
Violation |
Line |
| CognitiveComplexity |
The method 'value(double, double)' has a cognitive complexity of 40, current threshold is 20 |
155 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
214–225 |
org/apache/commons/numbers/gamma/LogGamma1p.java
| Rule |
Violation |
Line |
| PublicMemberInNonPublicType |
Public member 'value' declared in a non-public type |
40 |
Files
org/apache/commons/numbers/gamma/BoostBeta.java
| Rule |
Violation |
Priority |
Line |
| CognitiveComplexity |
The method 'ibetaPowerTerms(double, double, double, double, boolean, double)' has a cognitive complexity of 56, current threshold is 20 |
3 |
255 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
297–301 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
302–306 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
329–339 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
343–349 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
372–378 |
| CognitiveComplexity |
The method 'betaIncompleteImp(double, double, double, Policy, boolean, boolean)' has a cognitive complexity of 244, current threshold is 20 |
3 |
523 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
544–547 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
630–673 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
677–683 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
696–702 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
704–710 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
762–764 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
766–772 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
776–778 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
781–785 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
795–798 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
801–805 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
807–810 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
854–858 |
org/apache/commons/numbers/gamma/BoostGamma.java
| Rule |
Violation |
Priority |
Line |
| CognitiveComplexity |
The method 'lgamma(double, int[])' has a cognitive complexity of 23, current threshold is 20 |
3 |
757 |
| CognitiveComplexity |
The method 'gammaIncompleteImp(double, double, boolean, boolean, Policy)' has a cognitive complexity of 158, current threshold is 20 |
3 |
1185 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
1216–1226 |
| AssignmentInOperand |
Avoid assignment to isHalfInt in operand |
3 |
1245 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
1317–1319 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
1383–1393 |
| CognitiveComplexity |
The method 'regularisedGammaPrefix(double, double)' has a cognitive complexity of 26, current threshold is 20 |
3 |
1716 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
1758–1760 |
| CognitiveComplexity |
The method 'tgammaDeltaRatio(double, double)' has a cognitive complexity of 21, current threshold is 20 |
3 |
2080 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
2110–2118 |
org/apache/commons/numbers/gamma/BoostMath.java
| Rule |
Violation |
Priority |
Line |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
61–63 |
org/apache/commons/numbers/gamma/Digamma.java
| Rule |
Violation |
Priority |
Line |
| AvoidReassigningParameters |
Avoid reassigning parameters such as 'x' |
2 |
76 |
org/apache/commons/numbers/gamma/InvGamma1pm1.java
| Rule |
Violation |
Priority |
Line |
| PublicMemberInNonPublicType |
Public member 'value' declared in a non-public type |
3 |
116 |
org/apache/commons/numbers/gamma/LogBeta.java
| Rule |
Violation |
Priority |
Line |
| CognitiveComplexity |
The method 'value(double, double)' has a cognitive complexity of 40, current threshold is 20 |
3 |
155 |
| AvoidDeeplyNestedIfStmts |
Deeply nested if..then statements are hard to read |
3 |
214–225 |
org/apache/commons/numbers/gamma/LogGamma1p.java
| Rule |
Violation |
Priority |
Line |
| PublicMemberInNonPublicType |
Public member 'value' declared in a non-public type |
3 |
40 |
org/apache/commons/numbers/gamma/Trigamma.java
| Rule |
Violation |
Priority |
Line |
| AvoidReassigningParameters |
Avoid reassigning parameters such as 'x' |
2 |
61 |
|