| Rating | Name | Duplication | Size | Complexity | CRAP |
|---|---|---|---|---|---|
| D | ChessBoard.export() | 0 | 35 | 8 | 8 |
| D | cant_jump_pieces() | 0 | 32 | 8 | 8 |
| D | TestMovements.test_cant_jump_pieces_doesnt_limit_if_no_pieces_are_in_the_way() | 1 | 10 | 2 | ? |
| C | ChessBoard.move() | 0 | 25 | 7 | 7.66 |
| C | ChessBoard.end_locations_for_piece_at_location() | 0 | 21 | 8 | 8 |
| C | TestBoard.compare_boards() | 0 | 11 | 8 | ? |
| B | TestBoard.verify_pieces_at_locations_are_correct_piece_and_color() | 0 | 9 | 7 | ? |
| B | ChessBoard.generate_fen() | 0 | 29 | 6 | 6 |
| B | ChessBoard.import_fen_board() | 0 | 21 | 6 | 6 |
| B | ChessBoard.initialize_board() | 0 | 25 | 5 | 5 |
| B | directional() | 0 | 8 | 5 | 5 |
| B | _directional_helper() | 0 | 8 | 5 | 30 |
| B | ChessBoard.__init__() | 0 | 22 | 4 | 4 |
| A | can_end_on_enemy() | 0 | 6 | 4 | 4 |
| A | TestValidatePawnMoves.test_pawn_cant_move_forward_twice_if_not_first_move() | 0 | 6 | 4 | ? |