Code

Rating   Name Duplication Size Complexity CRAP
B src/chess/Player.js ➔ ??? 0 27 5 5
B src/chess/Game.js ➔ ??? 0 52 5 5
B Game.js ➔ describe(ꞌGame moduleꞌ) 0 36 1 ?
B Game.js ➔ ... ➔ describe(ꞌinit the gameꞌ) 0 34 1 ?
A src/chess/pieces/Bishop.js ➔ ??? 0 8 2 2
A Board.js ➔ describe(ꞌCheck that board returnsꞌ) 0 7 1 ?
A Game.js ➔ ... ➔ it(ꞌDiagonal return true if open false if closedꞌ) 0 5 1 ?
A src/chess/pieces/Queen.js ➔ ??? 8 8 2 2
A src/chess/Board.js ➔ ??? 0 16 1 1
A Board.js ➔ ... ➔ it(ꞌboard == getBoardꞌ) 0 5 1 ?
A src/chess/pieces/Rook.js ➔ ??? 0 8 2 2
A Board.js ➔ describe(ꞌcheck the value of an empty squareꞌ) 0 7 1 ?
A src/chess/pieces/Pawn.js ➔ ??? 0 8 2 2
A Game.js ➔ ... ➔ it(ꞌRow return true if open false if closedꞌ) 0 7 1 ?
A src/chess/pieces/Knight.js ➔ ??? 8 8 2 2