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/Rook.js ➔ ??? 0 8 2 2
A src/chess/pieces/Pawn.js ➔ ??? 0 8 2 2
A Board.js ➔ describe(ꞌcheck the value of an empty squareꞌ) 0 7 1 ?
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
A Board.js ➔ describe(ꞌCheck that square updatedꞌ) 0 8 1 ?
A Board.js ➔ ... ➔ it(ꞌshould change to ꞌTꞌꞌ) 0 6 1 ?
A Game.js ➔ ... ➔ it(ꞌplayer should have all piecesꞌ) 0 5 1 ?
A src/chess/pieces/King.js ➔ ??? 8 8 2 2
A Board.js ➔ describe(ꞌCheck that piece moves as intendedꞌ) 0 11 1 ?
A Board.js ➔ ... ➔ it(ꞌShould return Square Co if emptyꞌ) 0 5 1 ?