Apache Commons logo Apache Commons Numbers

PMD Results

The following document contains the results of PMD 7.3.0.

Violations By Priority

Priority 2

org/apache/commons/numbers/gamma/Digamma.java
Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 76
org/apache/commons/numbers/gamma/Trigamma.java
Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 61

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
CognitiveComplexity The method 'betaIncompleteImp(double, double, double, Policy, boolean, boolean)' has a cognitive complexity of 244, current threshold is 20 523
org/apache/commons/numbers/gamma/BoostErf.java
Rule Violation Line
CognitiveComplexity The method 'erfImp(double, boolean, boolean)' has a cognitive complexity of 46, current threshold is 20 133
NPathComplexity The method 'erfImp(double, boolean, boolean)' has an NPath complexity of 208, current threshold is 200 133
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 1186
CognitiveComplexity The method 'regularisedGammaPrefix(double, double)' has a cognitive complexity of 26, current threshold is 20 1718
CognitiveComplexity The method 'tgammaDeltaRatio(double, double)' has a cognitive complexity of 21, current threshold is 20 2082
org/apache/commons/numbers/gamma/IncompleteGamma.java
Rule Violation Line
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 35
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
org/apache/commons/numbers/gamma/RegularizedGamma.java
Rule Violation Line
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 34

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
CognitiveComplexity The method 'betaIncompleteImp(double, double, double, Policy, boolean, boolean)' has a cognitive complexity of 244, current threshold is 20 3 523

org/apache/commons/numbers/gamma/BoostErf.java

Rule Violation Priority Line
CognitiveComplexity The method 'erfImp(double, boolean, boolean)' has a cognitive complexity of 46, current threshold is 20 3 133
NPathComplexity The method 'erfImp(double, boolean, boolean)' has an NPath complexity of 208, current threshold is 200 3 133

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 1186
CognitiveComplexity The method 'regularisedGammaPrefix(double, double)' has a cognitive complexity of 26, current threshold is 20 3 1718
CognitiveComplexity The method 'tgammaDeltaRatio(double, double)' has a cognitive complexity of 21, current threshold is 20 3 2082

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/IncompleteGamma.java

Rule Violation Priority Line
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 3 35

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

org/apache/commons/numbers/gamma/RegularizedGamma.java

Rule Violation Priority Line
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 3 34

org/apache/commons/numbers/gamma/Trigamma.java

Rule Violation Priority Line
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 2 61