Rating | Name | Duplication | Size | Complexity | CRAP |
---|---|---|---|---|---|
D | cant_jump_pieces() | 0 | 32 | 8 | 8 |
D | ChessBoard.export() | 0 | 35 | 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 | TestMovements.test_distance_of_one_filtering_given_positions() | 0 | 9 | 4 | ? |
A | doesnt_land_on_own_piece() | 0 | 9 | 4 | 4 |