Apache Commons logo Apache Commons Numbers

PMD Results

The following document contains the results of PMD 7.3.0.

Violations By Priority

Priority 3

org/apache/commons/numbers/complex/Complex.java
Rule Violation Line
CyclomaticComplexity The class 'Complex' has a total cyclomatic complexity of 293 (highest 25). 64
CognitiveComplexity The method 'log(DoubleUnaryOperator, double, double, ComplexConstructor)' has a cognitive complexity of 20, current threshold is 20 1393
CognitiveComplexity The method 'sqrt(double, double)' has a cognitive complexity of 32, current threshold is 20 1597
CognitiveComplexity The method 'asin(double, double, ComplexConstructor)' has a cognitive complexity of 84, current threshold is 20 1834
CyclomaticComplexity The method 'asin(double, double, ComplexConstructor)' has a cyclomatic complexity of 22. 1834
CognitiveComplexity The method 'acos(double, double, ComplexConstructor)' has a cognitive complexity of 92, current threshold is 20 2029
CyclomaticComplexity The method 'acos(double, double, ComplexConstructor)' has a cyclomatic complexity of 25. 2029
NPathComplexity The method 'acos(double, double, ComplexConstructor)' has an NPath complexity of 288, current threshold is 200 2029
CognitiveComplexity The method 'tanh(double, double, ComplexConstructor)' has a cognitive complexity of 21, current threshold is 20 2459
NPathComplexity The method 'tanh(double, double, ComplexConstructor)' has an NPath complexity of 216, current threshold is 200 2459
CognitiveComplexity The method 'atanh(double, double, ComplexConstructor)' has a cognitive complexity of 66, current threshold is 20 2732
CyclomaticComplexity The method 'atanh(double, double, ComplexConstructor)' has a cyclomatic complexity of 23. 2732

Files

org/apache/commons/numbers/complex/Complex.java

Rule Violation Priority Line
CyclomaticComplexity The class 'Complex' has a total cyclomatic complexity of 293 (highest 25). 3 64
CognitiveComplexity The method 'log(DoubleUnaryOperator, double, double, ComplexConstructor)' has a cognitive complexity of 20, current threshold is 20 3 1393
CognitiveComplexity The method 'sqrt(double, double)' has a cognitive complexity of 32, current threshold is 20 3 1597
CognitiveComplexity The method 'asin(double, double, ComplexConstructor)' has a cognitive complexity of 84, current threshold is 20 3 1834
CyclomaticComplexity The method 'asin(double, double, ComplexConstructor)' has a cyclomatic complexity of 22. 3 1834
CognitiveComplexity The method 'acos(double, double, ComplexConstructor)' has a cognitive complexity of 92, current threshold is 20 3 2029
CyclomaticComplexity The method 'acos(double, double, ComplexConstructor)' has a cyclomatic complexity of 25. 3 2029
NPathComplexity The method 'acos(double, double, ComplexConstructor)' has an NPath complexity of 288, current threshold is 200 3 2029
CognitiveComplexity The method 'tanh(double, double, ComplexConstructor)' has a cognitive complexity of 21, current threshold is 20 3 2459
NPathComplexity The method 'tanh(double, double, ComplexConstructor)' has an NPath complexity of 216, current threshold is 200 3 2459
CognitiveComplexity The method 'atanh(double, double, ComplexConstructor)' has a cognitive complexity of 66, current threshold is 20 3 2732
CyclomaticComplexity The method 'atanh(double, double, ComplexConstructor)' has a cyclomatic complexity of 23. 3 2732