PMD Results

The following document contains the results of PMD 4.1.

Files

com/alonsoruibal/chess/Board.java

Violation Line
Avoid empty catch blocks 183

com/alonsoruibal/chess/Move.java

Violation Line
These nested if statements could be combined 194 - 197

com/alonsoruibal/chess/bitboard/BitboardAttacks.java

Violation Line
Avoid unused private fields such as 'logger'. 11
Avoid unused private methods such as 'squareAttackedAux(long,int,long)'. 51
Avoid unused private methods such as 'squareAttackedAuxSlider(long,int,long)'. 59
Avoid unused private methods such as 'squareAttackedAuxSliderMask(long,int,long)'. 68

com/alonsoruibal/chess/evaluation/CompleteEvaluator.java

Violation Line
Do not start a literal by 0 unless it's an octal value 148
Avoid unused local variables such as 'pieces'. 194
An empty statement (semicolon) not part of a loop 301

com/alonsoruibal/chess/evaluation/CompleteEvaluatorNew.java

Violation Line
Avoid unused private fields such as 'logger'. 29
Do not start a literal by 0 unless it's an octal value 160
Avoid unused local variables such as 'pieces'. 206
An empty statement (semicolon) not part of a loop 329

com/alonsoruibal/chess/movegen/MagicMoveGenerator.java

Violation Line
Avoid unused private fields such as 'moves'. 15

com/alonsoruibal/chess/movesort/MoveIterator.java

Violation Line
Avoid unused method parameters such as 'to'. 230 - 248

com/alonsoruibal/chess/tt/TwoTierTranspositionTable.java

Violation Line
Avoid empty if statements 93 - 95