Apache Commons logo Commons Math

PMD Results

The following document contains the results of PMD 6.52.0.

Violations By Priority

Priority 1

org/apache/commons/math4/core/jdkmath/AccurateMath.java

Rule Violation Line
LocalVariableNamingConventions The final local variable name 'lnCoef_last' doesn't match '[a-z][a-zA-Z0-9]*' 1193
LocalVariableNamingConventions The final local variable name 'lnCoef_i' doesn't match '[a-z][a-zA-Z0-9]*' 1207
LocalVariableNamingConventions The final local variable name 'lnCoef_last' doesn't match '[a-z][a-zA-Z0-9]*' 1259
LocalVariableNamingConventions The final local variable name 'lnCoef_i' doesn't match '[a-z][a-zA-Z0-9]*' 1273
MethodNamingConventions The static method name 'IEEEremainder' doesn't match '[a-z][a-zA-Z0-9]*' 36783692
ClassNamingConventions The class name 'lnMant' doesn't match '[A-Z][a-zA-Z0-9]*' 41574174

org/apache/commons/math4/core/jdkmath/AccurateMathCalc.java

Rule Violation Line
FormalParameterNamingConventions The method parameter name 'SINE_TABLE_B' doesn't match '[a-z][a-zA-Z0-9]*' 100
FormalParameterNamingConventions The method parameter name 'SINE_TABLE_A' doesn't match '[a-z][a-zA-Z0-9]*' 100
FormalParameterNamingConventions The method parameter name 'COSINE_TABLE_B' doesn't match '[a-z][a-zA-Z0-9]*' 101
FormalParameterNamingConventions The method parameter name 'COSINE_TABLE_A' doesn't match '[a-z][a-zA-Z0-9]*' 101
FormalParameterNamingConventions The method parameter name 'TANGENT_TABLE_B' doesn't match '[a-z][a-zA-Z0-9]*' 102
FormalParameterNamingConventions The method parameter name 'TANGENT_TABLE_A' doesn't match '[a-z][a-zA-Z0-9]*' 102
FormalParameterNamingConventions The method parameter name 'SINE_TABLE_LEN' doesn't match '[a-z][a-zA-Z0-9]*' 102

org/apache/commons/math4/core/jdkmath/JdkMath.java

Rule Violation Line
MethodNamingConventions The static method name 'IEEEremainder' doesn't match '[a-z][a-zA-Z0-9]*' 729732

Priority 2

org/apache/commons/math4/core/jdkmath/AccurateMath.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 412
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 485
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 601
AvoidReassigningParameters Avoid reassigning parameters such as 'a' 710
AvoidReassigningParameters Avoid reassigning parameters such as 'a' 740
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 1003
AvoidReassigningParameters Avoid reassigning parameters such as 'xa' 2495
AvoidReassigningParameters Avoid reassigning parameters such as 'xb' 2496
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 2903

org/apache/commons/math4/core/jdkmath/AccurateMathCalc.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'p' 518

Priority 3

org/apache/commons/math4/core/jdkmath/AccurateMath.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 174245
CyclomaticComplexity The class 'AccurateMath' has a total cyclomatic complexity of 490 (highest 39). 674245
GodClass Possible God Class (WMC=490, ATFD=178, TCC=3.803%) 674245
ExcessiveClassLength Avoid really long classes. 674245
UseShortArrayInitializer Array initialization can be written shorter 247265
UseShortArrayInitializer Array initialization can be written shorter 268270
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 392
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 411
LocalVariableCouldBeFinal Local variable 'yaa' could be declared final 420
LocalVariableCouldBeFinal Local variable 'yab' could be declared final 421
LocalVariableCouldBeFinal Local variable 'recip' could be declared final 424
LocalVariableCouldBeFinal Local variable 'recipa' could be declared final 426
ExcessiveMethodLength Avoid really long methods. 451569
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 452
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 462
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 484
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 491
LocalVariableCouldBeFinal Local variable 'hiPrec' could be declared final 492
LocalVariableCouldBeFinal Local variable 'yaa' could be declared final 499
LocalVariableCouldBeFinal Local variable 'yab' could be declared final 500
LocalVariableCouldBeFinal Local variable 'recip' could be declared final 503
LocalVariableCouldBeFinal Local variable 'hiPrec' could be declared final 527
LocalVariableCouldBeFinal Local variable 'denom' could be declared final 534
LocalVariableCouldBeFinal Local variable 'denomr' could be declared final 535
LocalVariableCouldBeFinal Local variable 'denomb' could be declared final 536
LocalVariableCouldBeFinal Local variable 'ratio' could be declared final 537
LocalVariableCouldBeFinal Local variable 'ra' could be declared final 539
LocalVariableCouldBeFinal Local variable 'za' could be declared final 543
LocalVariableCouldBeFinal Local variable 'zb' could be declared final 544
ExcessiveMethodLength Avoid really long methods. 575692
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 576
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 588
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 600
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 606
LocalVariableCouldBeFinal Local variable 'hiPrec' could be declared final 607
LocalVariableCouldBeFinal Local variable 'ya' could be declared final 611
LocalVariableCouldBeFinal Local variable 'yb' could be declared final 612
LocalVariableCouldBeFinal Local variable 'daa' could be declared final 629
LocalVariableCouldBeFinal Local variable 'dab' could be declared final 630
LocalVariableCouldBeFinal Local variable 'ratio' could be declared final 633
LocalVariableCouldBeFinal Local variable 'ratioa' could be declared final 635
LocalVariableCouldBeFinal Local variable 'hiPrec' could be declared final 648
LocalVariableCouldBeFinal Local variable 'ya' could be declared final 652
LocalVariableCouldBeFinal Local variable 'yb' could be declared final 653
LocalVariableCouldBeFinal Local variable 'na' could be declared final 656
LocalVariableCouldBeFinal Local variable 'nb' could be declared final 657
LocalVariableCouldBeFinal Local variable 'daa' could be declared final 667
LocalVariableCouldBeFinal Local variable 'dab' could be declared final 668
LocalVariableCouldBeFinal Local variable 'ratio' could be declared final 671
LocalVariableCouldBeFinal Local variable 'ratioa' could be declared final 673
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 714
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 718
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 720
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 722
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 744
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 748
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 750
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 752
ExcessiveMethodLength Avoid really long methods. 845961
CognitiveComplexity The method 'exp(double, double, double)' has a cognitive complexity of 28, current threshold is 15 845961
NPathComplexity The method 'exp(double, double, double)' has an NPath complexity of 240, current threshold is 200 845961
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 846
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 847
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 854
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 888
LocalVariableCouldBeFinal Local variable 'tempA' could be declared final 932
LocalVariableCouldBeFinal Local variable 'tempB' could be declared final 933
ConfusingTernary Avoid if (x != y) ..; else ..; 948952
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 948
ExcessiveMethodLength Avoid really long methods. 9771115
LocalVariableCouldBeFinal Local variable 'hiPrec' could be declared final 985
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 987
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1002
LocalVariableCouldBeFinal Local variable 'intFrac' could be declared final 1007
LocalVariableCouldBeFinal Local variable 'denom' could be declared final 1078
LocalVariableCouldBeFinal Local variable 'denomr' could be declared final 1079
LocalVariableCouldBeFinal Local variable 'denomb' could be declared final 1080
LocalVariableCouldBeFinal Local variable 'ratio' could be declared final 1081
ExcessiveMethodLength Avoid really long methods. 11331353
CyclomaticComplexity The method 'log(double, double)' has a cyclomatic complexity of 21. 11331353
CognitiveComplexity The method 'log(double, double)' has a cognitive complexity of 27, current threshold is 15 11331353
NPathComplexity The method 'log(double, double)' has an NPath complexity of 8820, current threshold is 200 11331353
UnusedAssignment The initializer for variable 'xb' is never used (overwritten on line 1191) 1186
UnusedAssignment The initializer for variable 'lnza' is never used (overwritten on lines 1292 and 1297) 1241
LocalVariableCouldBeFinal Local variable 'xa' could be declared final 1249
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1373
CognitiveComplexity The method 'pow(double, double)' has a cognitive complexity of 74, current threshold is 15 14421572
CyclomaticComplexity The method 'pow(double, double)' has a cyclomatic complexity of 23. 14421572
ExcessiveMethodLength Avoid really long methods. 14421572
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1456
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1465
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1491
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1494
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1516
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1534
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'result' 1568
LocalVariableCouldBeFinal Local variable 'x2' could be declared final 1734
LocalVariableCouldBeFinal Local variable 'x2' could be declared final 1754
ExcessiveMethodLength Avoid really long methods. 17721887
LocalVariableCouldBeFinal Local variable 'idx' could be declared final 1773
LocalVariableCouldBeFinal Local variable 'temp2' could be declared final 1790
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1875
ExcessiveMethodLength Avoid really long methods. 19152050
LocalVariableCouldBeFinal Local variable 'idx' could be declared final 1917
LocalVariableCouldBeFinal Local variable 'temp2' could be declared final 1934
UnusedAssignment The value assigned to variable 'c' is never used (overwritten on line 1988) 1985
UnusedAssignment The value assigned to variable 'd' is never used (overwritten on line 1989) 1985
LocalVariableCouldBeFinal Local variable 'est' could be declared final 2022
LocalVariableCouldBeFinal Local variable 'esta' could be declared final 2026
LocalVariableCouldBeFinal Local variable 'estb' could be declared final 2027
LocalVariableCouldBeFinal Local variable 'cosaa' could be declared final 2030
LocalVariableCouldBeFinal Local variable 'cosab' could be declared final 2031
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2038
CyclomaticComplexity The method 'reducePayneHanek(double, double)' has a cyclomatic complexity of 39. 20632272
CognitiveComplexity The method 'reducePayneHanek(double, double)' has a cognitive complexity of 34, current threshold is 15 20632272
ExcessiveMethodLength Avoid really long methods. 20632272
NPathComplexity The method 'reducePayneHanek(double, double)' has an NPath complexity of 1119744, current threshold is 200 20632272
LocalVariableCouldBeFinal Local variable 'idx' could be declared final 2080
LocalVariableCouldBeFinal Local variable 'shift' could be declared final 2081
ConfusingTernary Avoid if (x != y) ..; else ..; 20832092
LocalVariableCouldBeFinal Local variable 'intPart' could be declared final 2173
LocalVariableCouldBeFinal Local variable 'tmpA' could be declared final 2262
LocalVariableCouldBeFinal Local variable 'tmpB' could be declared final 2263
LocalVariableCouldBeFinal Local variable 'sumA' could be declared final 2265
LocalVariableCouldBeFinal Local variable 'sumB' could be declared final 2266
NPathComplexity The method 'sin(double)' has an NPath complexity of 540, current threshold is 200 22802339
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2282
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2284
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2294
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 2295
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2307
LocalVariableCouldBeFinal Local variable 'reduceResults' could be declared final 2311
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2316
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2348
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2362
LocalVariableCouldBeFinal Local variable 'reduceResults' could be declared final 2366
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2371
NPathComplexity The method 'tan(double)' has an NPath complexity of 432, current threshold is 200 24012470
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 2403
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2413
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 2414
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2427
LocalVariableCouldBeFinal Local variable 'reduceResults' could be declared final 2431
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2436
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2443
ExcessiveMethodLength Avoid really long methods. 24872632
NPathComplexity The method 'atan(double, double, boolean)' has an NPath complexity of 288, current threshold is 200 24872632
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2488
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2502
CyclomaticComplexity The method 'atan2(double, double)' has a cyclomatic complexity of 22. 26402726
NPathComplexity The method 'atan2(double, double)' has an NPath complexity of 81000, current threshold is 200 26402726
CognitiveComplexity The method 'atan2(double, double)' has a cognitive complexity of 32, current threshold is 15 26402726
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2741
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2749
LocalVariableCouldBeFinal Local variable 'dx' could be declared final 2786
LocalVariableCouldBeFinal Local variable 'r' could be declared final 2789
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2821
LocalVariableCouldBeFinal Local variable 'r' could be declared final 2866
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 2908
LocalVariableCouldBeFinal Local variable 'exp3' could be declared final 2914
LocalVariableCouldBeFinal Local variable 'p2' could be declared final 2917
LocalVariableCouldBeFinal Local variable 'ya' could be declared final 2940
LocalVariableCouldBeFinal Local variable 'yb' could be declared final 2941
LocalVariableCouldBeFinal Local variable 'temp2' could be declared final 2946
LocalVariableCouldBeFinal Local variable 'na' could be declared final 2953
LocalVariableCouldBeFinal Local variable 'xa' could be declared final 2983
LocalVariableCouldBeFinal Local variable 'xb' could be declared final 2984
LocalVariableCouldBeFinal Local variable 'xa' could be declared final 3007
LocalVariableCouldBeFinal Local variable 'xb' could be declared final 3008
CognitiveComplexity The method 'scalb(double, int)' has a cognitive complexity of 42, current threshold is 15 30853158
NPathComplexity The method 'scalb(double, int)' has an NPath complexity of 1512, current threshold is 200 30853158
CyclomaticComplexity The method 'scalb(double, int)' has a cyclomatic complexity of 21. 30853158
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3099
LocalVariableCouldBeFinal Local variable 'exponent' could be declared final 3106
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3147
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3152
CognitiveComplexity The method 'scalb(float, int)' has a cognitive complexity of 42, current threshold is 15 31663239
NPathComplexity The method 'scalb(float, int)' has an NPath complexity of 1512, current threshold is 200 31663239
CyclomaticComplexity The method 'scalb(float, int)' has a cyclomatic complexity of 21. 31663239
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3180
LocalVariableCouldBeFinal Local variable 'exponent' could be declared final 3187
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3228
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3233
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3337
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3357
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3384
LocalVariableCouldBeFinal Local variable 'y' could be declared final 3409
LocalVariableCouldBeFinal Local variable 'd' could be declared final 3410
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3412
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3418
LocalVariableCouldBeFinal Local variable 'z' could be declared final 3423
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 3515
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3516
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 3540
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3541
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 3583
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3584
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 3608
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3609
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3924
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3980
CloseResource Ensure that resources like this PrintStream object are closed after use 4070
LocalVariableCouldBeFinal Local variable 'out' could be declared final 4070

org/apache/commons/math4/core/jdkmath/AccurateMathCalc.java

Rule Violation Line
GodClass Possible God Class (WMC=49, ATFD=9, TCC=3.810%) 25656
UseShortArrayInitializer Array initialization can be written shorter 3456
LocalVariableCouldBeFinal Local variable 'x' could be declared final 107
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 120
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 121
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 122
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 123
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 124
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 176
LocalVariableCouldBeFinal Local variable 'ys' could be declared final 177
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 177
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 178
LocalVariableCouldBeFinal Local variable 'z' could be declared final 349
LocalVariableCouldBeFinal Local variable 'z' could be declared final 353
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 406
LocalVariableCouldBeFinal Local variable 'x2' could be declared final 551
LocalVariableCouldBeFinal Local variable 'a' could be declared final 553
LocalVariableCouldBeFinal Local variable 'array' could be declared final 606
LocalVariableCouldBeFinal Local variable 'd' could be declared final 608
LocalVariableCouldBeFinal Local variable 'd' could be declared final 627

org/apache/commons/math4/core/jdkmath/AccurateMathLiteralArrays.java

Rule Violation Line
ExcessiveClassLength Avoid really long classes. 246177
UseShortArrayInitializer Array initialization can be written shorter 281529
UseShortArrayInitializer Array initialization can be written shorter 15363037
UseShortArrayInitializer Array initialization can be written shorter 30444070
UseShortArrayInitializer Array initialization can be written shorter 40755101
UseShortArrayInitializer Array initialization can be written shorter 51046129

org/apache/commons/math4/core/jdkmath/JdkMath.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 171264
ExcessiveClassLength Avoid really long classes. 521264
AvoidFieldNameMatchingMethodName Field ACOS has the same name as a method 68
AvoidFieldNameMatchingMethodName Field ACOSH has the same name as a method 70
AvoidFieldNameMatchingMethodName Field ASIN has the same name as a method 76
AvoidFieldNameMatchingMethodName Field ASINH has the same name as a method 78
AvoidFieldNameMatchingMethodName Field ATAN has the same name as a method 80
AvoidFieldNameMatchingMethodName Field ATAN2 has the same name as a method 82
AvoidFieldNameMatchingMethodName Field ATANH has the same name as a method 84
AvoidFieldNameMatchingMethodName Field CBRT has the same name as a method 86
AvoidFieldNameMatchingMethodName Field CEIL has the same name as a method 88
AvoidFieldNameMatchingMethodName Field COS has the same name as a method 94
AvoidFieldNameMatchingMethodName Field COSH has the same name as a method 96
AvoidFieldNameMatchingMethodName Field EXP has the same name as a method 102
AvoidFieldNameMatchingMethodName Field EXPM1 has the same name as a method 104
AvoidFieldNameMatchingMethodName Field FLOOR has the same name as a method 106
AvoidFieldNameMatchingMethodName Field HYPOT has the same name as a method 120
AvoidFieldNameMatchingMethodName Field IEEEREMAINDER has the same name as a method 122
AvoidFieldNameMatchingMethodName Field LOG has the same name as a method 128
AvoidFieldNameMatchingMethodName Field LOG10 has the same name as a method 130
AvoidFieldNameMatchingMethodName Field LOG1P has the same name as a method 132
AvoidFieldNameMatchingMethodName Field POW has the same name as a method 170
AvoidFieldNameMatchingMethodName Field RANDOM has the same name as a method 172
AvoidFieldNameMatchingMethodName Field RINT has the same name as a method 174
AvoidFieldNameMatchingMethodName Field SIN has the same name as a method 188
AvoidFieldNameMatchingMethodName Field SINH has the same name as a method 190
AvoidFieldNameMatchingMethodName Field SQRT has the same name as a method 192
AvoidFieldNameMatchingMethodName Field TAN has the same name as a method 198
AvoidFieldNameMatchingMethodName Field TANH has the same name as a method 200
AvoidFieldNameMatchingMethodName Field TODEGREES has the same name as a method 202
AvoidFieldNameMatchingMethodName Field TOINTEXACT has the same name as a method 204
AvoidFieldNameMatchingMethodName Field TORADIANS has the same name as a method 206
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 227392

Files

org/apache/commons/math4/core/jdkmath/AccurateMath.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 174245
CyclomaticComplexity The class 'AccurateMath' has a total cyclomatic complexity of 490 (highest 39). 3 674245
GodClass Possible God Class (WMC=490, ATFD=178, TCC=3.803%) 3 674245
ExcessiveClassLength Avoid really long classes. 3 674245
UseShortArrayInitializer Array initialization can be written shorter 3 247265
UseShortArrayInitializer Array initialization can be written shorter 3 268270
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 392
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 411
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 2 412
LocalVariableCouldBeFinal Local variable 'yaa' could be declared final 3 420
LocalVariableCouldBeFinal Local variable 'yab' could be declared final 3 421
LocalVariableCouldBeFinal Local variable 'recip' could be declared final 3 424
LocalVariableCouldBeFinal Local variable 'recipa' could be declared final 3 426
ExcessiveMethodLength Avoid really long methods. 3 451569
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 452
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 462
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 484
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 2 485
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 491
LocalVariableCouldBeFinal Local variable 'hiPrec' could be declared final 3 492
LocalVariableCouldBeFinal Local variable 'yaa' could be declared final 3 499
LocalVariableCouldBeFinal Local variable 'yab' could be declared final 3 500
LocalVariableCouldBeFinal Local variable 'recip' could be declared final 3 503
LocalVariableCouldBeFinal Local variable 'hiPrec' could be declared final 3 527
LocalVariableCouldBeFinal Local variable 'denom' could be declared final 3 534
LocalVariableCouldBeFinal Local variable 'denomr' could be declared final 3 535
LocalVariableCouldBeFinal Local variable 'denomb' could be declared final 3 536
LocalVariableCouldBeFinal Local variable 'ratio' could be declared final 3 537
LocalVariableCouldBeFinal Local variable 'ra' could be declared final 3 539
LocalVariableCouldBeFinal Local variable 'za' could be declared final 3 543
LocalVariableCouldBeFinal Local variable 'zb' could be declared final 3 544
ExcessiveMethodLength Avoid really long methods. 3 575692
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 576
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 588
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 600
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 2 601
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 606
LocalVariableCouldBeFinal Local variable 'hiPrec' could be declared final 3 607
LocalVariableCouldBeFinal Local variable 'ya' could be declared final 3 611
LocalVariableCouldBeFinal Local variable 'yb' could be declared final 3 612
LocalVariableCouldBeFinal Local variable 'daa' could be declared final 3 629
LocalVariableCouldBeFinal Local variable 'dab' could be declared final 3 630
LocalVariableCouldBeFinal Local variable 'ratio' could be declared final 3 633
LocalVariableCouldBeFinal Local variable 'ratioa' could be declared final 3 635
LocalVariableCouldBeFinal Local variable 'hiPrec' could be declared final 3 648
LocalVariableCouldBeFinal Local variable 'ya' could be declared final 3 652
LocalVariableCouldBeFinal Local variable 'yb' could be declared final 3 653
LocalVariableCouldBeFinal Local variable 'na' could be declared final 3 656
LocalVariableCouldBeFinal Local variable 'nb' could be declared final 3 657
LocalVariableCouldBeFinal Local variable 'daa' could be declared final 3 667
LocalVariableCouldBeFinal Local variable 'dab' could be declared final 3 668
LocalVariableCouldBeFinal Local variable 'ratio' could be declared final 3 671
LocalVariableCouldBeFinal Local variable 'ratioa' could be declared final 3 673
AvoidReassigningParameters Avoid reassigning parameters such as 'a' 2 710
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 714
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 718
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 720
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 722
AvoidReassigningParameters Avoid reassigning parameters such as 'a' 2 740
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 744
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 748
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 750
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 752
ExcessiveMethodLength Avoid really long methods. 3 845961
CognitiveComplexity The method 'exp(double, double, double)' has a cognitive complexity of 28, current threshold is 15 3 845961
NPathComplexity The method 'exp(double, double, double)' has an NPath complexity of 240, current threshold is 200 3 845961
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 846
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 847
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 854
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 888
LocalVariableCouldBeFinal Local variable 'tempA' could be declared final 3 932
LocalVariableCouldBeFinal Local variable 'tempB' could be declared final 3 933
ConfusingTernary Avoid if (x != y) ..; else ..; 3 948952
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 948
ExcessiveMethodLength Avoid really long methods. 3 9771115
LocalVariableCouldBeFinal Local variable 'hiPrec' could be declared final 3 985
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 987
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1002
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 2 1003
LocalVariableCouldBeFinal Local variable 'intFrac' could be declared final 3 1007
LocalVariableCouldBeFinal Local variable 'denom' could be declared final 3 1078
LocalVariableCouldBeFinal Local variable 'denomr' could be declared final 3 1079
LocalVariableCouldBeFinal Local variable 'denomb' could be declared final 3 1080
LocalVariableCouldBeFinal Local variable 'ratio' could be declared final 3 1081
ExcessiveMethodLength Avoid really long methods. 3 11331353
CyclomaticComplexity The method 'log(double, double)' has a cyclomatic complexity of 21. 3 11331353
CognitiveComplexity The method 'log(double, double)' has a cognitive complexity of 27, current threshold is 15 3 11331353
NPathComplexity The method 'log(double, double)' has an NPath complexity of 8820, current threshold is 200 3 11331353
UnusedAssignment The initializer for variable 'xb' is never used (overwritten on line 1191) 3 1186
LocalVariableNamingConventions The final local variable name 'lnCoef_last' doesn't match '[a-z][a-zA-Z0-9]*' 1 1193
LocalVariableNamingConventions The final local variable name 'lnCoef_i' doesn't match '[a-z][a-zA-Z0-9]*' 1 1207
UnusedAssignment The initializer for variable 'lnza' is never used (overwritten on lines 1292 and 1297) 3 1241
LocalVariableCouldBeFinal Local variable 'xa' could be declared final 3 1249
LocalVariableNamingConventions The final local variable name 'lnCoef_last' doesn't match '[a-z][a-zA-Z0-9]*' 1 1259
LocalVariableNamingConventions The final local variable name 'lnCoef_i' doesn't match '[a-z][a-zA-Z0-9]*' 1 1273
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1373
CognitiveComplexity The method 'pow(double, double)' has a cognitive complexity of 74, current threshold is 15 3 14421572
CyclomaticComplexity The method 'pow(double, double)' has a cyclomatic complexity of 23. 3 14421572
ExcessiveMethodLength Avoid really long methods. 3 14421572
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1456
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1465
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1491
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1494
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1516
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 1534
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'result' 3 1568
LocalVariableCouldBeFinal Local variable 'x2' could be declared final 3 1734
LocalVariableCouldBeFinal Local variable 'x2' could be declared final 3 1754
ExcessiveMethodLength Avoid really long methods. 3 17721887
LocalVariableCouldBeFinal Local variable 'idx' could be declared final 3 1773
LocalVariableCouldBeFinal Local variable 'temp2' could be declared final 3 1790
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1875
ExcessiveMethodLength Avoid really long methods. 3 19152050
LocalVariableCouldBeFinal Local variable 'idx' could be declared final 3 1917
LocalVariableCouldBeFinal Local variable 'temp2' could be declared final 3 1934
UnusedAssignment The value assigned to variable 'c' is never used (overwritten on line 1988) 3 1985
UnusedAssignment The value assigned to variable 'd' is never used (overwritten on line 1989) 3 1985
LocalVariableCouldBeFinal Local variable 'est' could be declared final 3 2022
LocalVariableCouldBeFinal Local variable 'esta' could be declared final 3 2026
LocalVariableCouldBeFinal Local variable 'estb' could be declared final 3 2027
LocalVariableCouldBeFinal Local variable 'cosaa' could be declared final 3 2030
LocalVariableCouldBeFinal Local variable 'cosab' could be declared final 3 2031
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2038
CyclomaticComplexity The method 'reducePayneHanek(double, double)' has a cyclomatic complexity of 39. 3 20632272
CognitiveComplexity The method 'reducePayneHanek(double, double)' has a cognitive complexity of 34, current threshold is 15 3 20632272
ExcessiveMethodLength Avoid really long methods. 3 20632272
NPathComplexity The method 'reducePayneHanek(double, double)' has an NPath complexity of 1119744, current threshold is 200 3 20632272
LocalVariableCouldBeFinal Local variable 'idx' could be declared final 3 2080
LocalVariableCouldBeFinal Local variable 'shift' could be declared final 3 2081
ConfusingTernary Avoid if (x != y) ..; else ..; 3 20832092
LocalVariableCouldBeFinal Local variable 'intPart' could be declared final 3 2173
LocalVariableCouldBeFinal Local variable 'tmpA' could be declared final 3 2262
LocalVariableCouldBeFinal Local variable 'tmpB' could be declared final 3 2263
LocalVariableCouldBeFinal Local variable 'sumA' could be declared final 3 2265
LocalVariableCouldBeFinal Local variable 'sumB' could be declared final 3 2266
NPathComplexity The method 'sin(double)' has an NPath complexity of 540, current threshold is 200 3 22802339
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2282
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2284
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2294
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 3 2295
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2307
LocalVariableCouldBeFinal Local variable 'reduceResults' could be declared final 3 2311
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2316
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2348
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2362
LocalVariableCouldBeFinal Local variable 'reduceResults' could be declared final 3 2366
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2371
NPathComplexity The method 'tan(double)' has an NPath complexity of 432, current threshold is 200 3 24012470
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 2403
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2413
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 3 2414
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2427
LocalVariableCouldBeFinal Local variable 'reduceResults' could be declared final 3 2431
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2436
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2443
ExcessiveMethodLength Avoid really long methods. 3 24872632
NPathComplexity The method 'atan(double, double, boolean)' has an NPath complexity of 288, current threshold is 200 3 24872632
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2488
AvoidReassigningParameters Avoid reassigning parameters such as 'xa' 2 2495
AvoidReassigningParameters Avoid reassigning parameters such as 'xb' 2 2496
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2502
CyclomaticComplexity The method 'atan2(double, double)' has a cyclomatic complexity of 22. 3 26402726
NPathComplexity The method 'atan2(double, double)' has an NPath complexity of 81000, current threshold is 200 3 26402726
CognitiveComplexity The method 'atan2(double, double)' has a cognitive complexity of 32, current threshold is 15 3 26402726
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2741
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2749
LocalVariableCouldBeFinal Local variable 'dx' could be declared final 3 2786
LocalVariableCouldBeFinal Local variable 'r' could be declared final 3 2789
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2821
LocalVariableCouldBeFinal Local variable 'r' could be declared final 3 2866
AvoidReassigningParameters Avoid reassigning parameters such as 'x' 2 2903
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 2908
LocalVariableCouldBeFinal Local variable 'exp3' could be declared final 3 2914
LocalVariableCouldBeFinal Local variable 'p2' could be declared final 3 2917
LocalVariableCouldBeFinal Local variable 'ya' could be declared final 3 2940
LocalVariableCouldBeFinal Local variable 'yb' could be declared final 3 2941
LocalVariableCouldBeFinal Local variable 'temp2' could be declared final 3 2946
LocalVariableCouldBeFinal Local variable 'na' could be declared final 3 2953
LocalVariableCouldBeFinal Local variable 'xa' could be declared final 3 2983
LocalVariableCouldBeFinal Local variable 'xb' could be declared final 3 2984
LocalVariableCouldBeFinal Local variable 'xa' could be declared final 3 3007
LocalVariableCouldBeFinal Local variable 'xb' could be declared final 3 3008
CognitiveComplexity The method 'scalb(double, int)' has a cognitive complexity of 42, current threshold is 15 3 30853158
NPathComplexity The method 'scalb(double, int)' has an NPath complexity of 1512, current threshold is 200 3 30853158
CyclomaticComplexity The method 'scalb(double, int)' has a cyclomatic complexity of 21. 3 30853158
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3099
LocalVariableCouldBeFinal Local variable 'exponent' could be declared final 3 3106
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3147
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3152
CognitiveComplexity The method 'scalb(float, int)' has a cognitive complexity of 42, current threshold is 15 3 31663239
NPathComplexity The method 'scalb(float, int)' has an NPath complexity of 1512, current threshold is 200 3 31663239
CyclomaticComplexity The method 'scalb(float, int)' has a cyclomatic complexity of 21. 3 31663239
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3180
LocalVariableCouldBeFinal Local variable 'exponent' could be declared final 3 3187
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3228
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3233
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3337
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3357
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 3384
LocalVariableCouldBeFinal Local variable 'y' could be declared final 3 3409
LocalVariableCouldBeFinal Local variable 'd' could be declared final 3 3410
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3412
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3418
LocalVariableCouldBeFinal Local variable 'z' could be declared final 3 3423
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 3 3515
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3516
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 3 3540
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3541
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 3 3583
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3584
LocalVariableCouldBeFinal Local variable 'bits' could be declared final 3 3608
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3609
MethodNamingConventions The static method name 'IEEEremainder' doesn't match '[a-z][a-zA-Z0-9]*' 1 36783692
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3924
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 3980
CloseResource Ensure that resources like this PrintStream object are closed after use 3 4070
LocalVariableCouldBeFinal Local variable 'out' could be declared final 3 4070
ClassNamingConventions The class name 'lnMant' doesn't match '[A-Z][a-zA-Z0-9]*' 1 41574174

org/apache/commons/math4/core/jdkmath/AccurateMathCalc.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=49, ATFD=9, TCC=3.810%) 3 25656
UseShortArrayInitializer Array initialization can be written shorter 3 3456
FormalParameterNamingConventions The method parameter name 'SINE_TABLE_B' doesn't match '[a-z][a-zA-Z0-9]*' 1 100
FormalParameterNamingConventions The method parameter name 'SINE_TABLE_A' doesn't match '[a-z][a-zA-Z0-9]*' 1 100
FormalParameterNamingConventions The method parameter name 'COSINE_TABLE_B' doesn't match '[a-z][a-zA-Z0-9]*' 1 101
FormalParameterNamingConventions The method parameter name 'COSINE_TABLE_A' doesn't match '[a-z][a-zA-Z0-9]*' 1 101
FormalParameterNamingConventions The method parameter name 'TANGENT_TABLE_B' doesn't match '[a-z][a-zA-Z0-9]*' 1 102
FormalParameterNamingConventions The method parameter name 'TANGENT_TABLE_A' doesn't match '[a-z][a-zA-Z0-9]*' 1 102
FormalParameterNamingConventions The method parameter name 'SINE_TABLE_LEN' doesn't match '[a-z][a-zA-Z0-9]*' 1 102
LocalVariableCouldBeFinal Local variable 'x' could be declared final 3 107
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 120
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 121
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 122
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 123
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 124
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 176
LocalVariableCouldBeFinal Local variable 'ys' could be declared final 3 177
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 177
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 178
LocalVariableCouldBeFinal Local variable 'z' could be declared final 3 349
LocalVariableCouldBeFinal Local variable 'z' could be declared final 3 353
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 406
AvoidReassigningParameters Avoid reassigning parameters such as 'p' 2 518
LocalVariableCouldBeFinal Local variable 'x2' could be declared final 3 551
LocalVariableCouldBeFinal Local variable 'a' could be declared final 3 553
LocalVariableCouldBeFinal Local variable 'array' could be declared final 3 606
LocalVariableCouldBeFinal Local variable 'd' could be declared final 3 608
LocalVariableCouldBeFinal Local variable 'd' could be declared final 3 627

org/apache/commons/math4/core/jdkmath/AccurateMathLiteralArrays.java

Rule Violation Priority Line
ExcessiveClassLength Avoid really long classes. 3 246177
UseShortArrayInitializer Array initialization can be written shorter 3 281529
UseShortArrayInitializer Array initialization can be written shorter 3 15363037
UseShortArrayInitializer Array initialization can be written shorter 3 30444070
UseShortArrayInitializer Array initialization can be written shorter 3 40755101
UseShortArrayInitializer Array initialization can be written shorter 3 51046129

org/apache/commons/math4/core/jdkmath/JdkMath.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 171264
ExcessiveClassLength Avoid really long classes. 3 521264
AvoidFieldNameMatchingMethodName Field ACOS has the same name as a method 3 68
AvoidFieldNameMatchingMethodName Field ACOSH has the same name as a method 3 70
AvoidFieldNameMatchingMethodName Field ASIN has the same name as a method 3 76
AvoidFieldNameMatchingMethodName Field ASINH has the same name as a method 3 78
AvoidFieldNameMatchingMethodName Field ATAN has the same name as a method 3 80
AvoidFieldNameMatchingMethodName Field ATAN2 has the same name as a method 3 82
AvoidFieldNameMatchingMethodName Field ATANH has the same name as a method 3 84
AvoidFieldNameMatchingMethodName Field CBRT has the same name as a method 3 86
AvoidFieldNameMatchingMethodName Field CEIL has the same name as a method 3 88
AvoidFieldNameMatchingMethodName Field COS has the same name as a method 3 94
AvoidFieldNameMatchingMethodName Field COSH has the same name as a method 3 96
AvoidFieldNameMatchingMethodName Field EXP has the same name as a method 3 102
AvoidFieldNameMatchingMethodName Field EXPM1 has the same name as a method 3 104
AvoidFieldNameMatchingMethodName Field FLOOR has the same name as a method 3 106
AvoidFieldNameMatchingMethodName Field HYPOT has the same name as a method 3 120
AvoidFieldNameMatchingMethodName Field IEEEREMAINDER has the same name as a method 3 122
AvoidFieldNameMatchingMethodName Field LOG has the same name as a method 3 128
AvoidFieldNameMatchingMethodName Field LOG10 has the same name as a method 3 130
AvoidFieldNameMatchingMethodName Field LOG1P has the same name as a method 3 132
AvoidFieldNameMatchingMethodName Field POW has the same name as a method 3 170
AvoidFieldNameMatchingMethodName Field RANDOM has the same name as a method 3 172
AvoidFieldNameMatchingMethodName Field RINT has the same name as a method 3 174
AvoidFieldNameMatchingMethodName Field SIN has the same name as a method 3 188
AvoidFieldNameMatchingMethodName Field SINH has the same name as a method 3 190
AvoidFieldNameMatchingMethodName Field SQRT has the same name as a method 3 192
AvoidFieldNameMatchingMethodName Field TAN has the same name as a method 3 198
AvoidFieldNameMatchingMethodName Field TANH has the same name as a method 3 200
AvoidFieldNameMatchingMethodName Field TODEGREES has the same name as a method 3 202
AvoidFieldNameMatchingMethodName Field TOINTEXACT has the same name as a method 3 204
AvoidFieldNameMatchingMethodName Field TORADIANS has the same name as a method 3 206
SwitchDensity A high ratio of statements to labels in a switch statement. Consider refactoring. 3 227392
MethodNamingConventions The static method name 'IEEEremainder' doesn't match '[a-z][a-zA-Z0-9]*' 1 729732