PMD Results

The following document contains the results of PMD 7.6.0.

Violations By Priority

Priority 1

io/github/olyutorskii/aletojio/rng/RndAdapter.java

Rule Violation Line
AvoidThrowingNullPointerException Avoid throwing null pointer exceptions. 120

Priority 3

io/github/olyutorskii/aletojio/BitPool.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 17517
UnnecessaryCast Unnecessary cast (long) 477
UnnecessaryCast Unnecessary cast (long) 484
UnnecessaryCast Unnecessary cast (long) 485

io/github/olyutorskii/aletojio/BoundRnd.java

Rule Violation Line
CommentSize Comment is too large: Line too long 21
CommentSize Comment is too large: Line too long 22

io/github/olyutorskii/aletojio/rng/fibo/LfShiftReg.java

Rule Violation Line
CognitiveComplexity The method 'toString()' has a cognitive complexity of 15, current threshold is 15 199

io/github/olyutorskii/aletojio/rng/lcg/LcgFactory.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 840

io/github/olyutorskii/aletojio/rng/lcg/package-info.java

Rule Violation Line
CommentSize Comment is too large: Too many lines 634

Priority 4

io/github/olyutorskii/aletojio/bijection/ParitySpreader.java

Rule Violation Line
UselessParentheses Useless parentheses. 61
UselessParentheses Useless parentheses. 61
UselessParentheses Useless parentheses. 68
UselessParentheses Useless parentheses. 68

io/github/olyutorskii/aletojio/bijection/Pbox32.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 76
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 114
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 141

io/github/olyutorskii/aletojio/bijection/Sbox8x4.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 100
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 137
UselessParentheses Useless parentheses. 148
UselessParentheses Useless parentheses. 148
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 165

io/github/olyutorskii/aletojio/rng/mwc/Cmwc.java

Rule Violation Line
ShortClassName Avoid short class names like Cmwc 26

io/github/olyutorskii/aletojio/rng/mwc/Mwc.java

Rule Violation Line
ShortClassName Avoid short class names like Mwc 28

Files

io/github/olyutorskii/aletojio/BitPool.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 17517
UnnecessaryCast Unnecessary cast (long) 3 477
UnnecessaryCast Unnecessary cast (long) 3 484
UnnecessaryCast Unnecessary cast (long) 3 485

io/github/olyutorskii/aletojio/BoundRnd.java

Rule Violation Priority Line
CommentSize Comment is too large: Line too long 3 21
CommentSize Comment is too large: Line too long 3 22

io/github/olyutorskii/aletojio/bijection/ParitySpreader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 61
UselessParentheses Useless parentheses. 4 61
UselessParentheses Useless parentheses. 4 68
UselessParentheses Useless parentheses. 4 68

io/github/olyutorskii/aletojio/bijection/Pbox32.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 76
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 114
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 141

io/github/olyutorskii/aletojio/bijection/Sbox8x4.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 100
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 137
UselessParentheses Useless parentheses. 4 148
UselessParentheses Useless parentheses. 4 148
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 165

io/github/olyutorskii/aletojio/rng/RndAdapter.java

Rule Violation Priority Line
AvoidThrowingNullPointerException Avoid throwing null pointer exceptions. 1 120

io/github/olyutorskii/aletojio/rng/fibo/LfShiftReg.java

Rule Violation Priority Line
CognitiveComplexity The method 'toString()' has a cognitive complexity of 15, current threshold is 15 3 199

io/github/olyutorskii/aletojio/rng/lcg/LcgFactory.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 840

io/github/olyutorskii/aletojio/rng/lcg/package-info.java

Rule Violation Priority Line
CommentSize Comment is too large: Too many lines 3 634

io/github/olyutorskii/aletojio/rng/mwc/Cmwc.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Cmwc 4 26

io/github/olyutorskii/aletojio/rng/mwc/Mwc.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Mwc 4 28

Suppressed Violations

Filename Rule message Suppression type Reason
io/github/olyutorskii/aletojio/rng/RndAdapter.java Classes implementing Serializable should set a serialVersionUID @suppresswarnings