Percentage | Lines | ||
---|---|---|---|
Chess |
|
50 % | 36 |
Board |
|
90 % | 14 |
ChessBoard |
|
95 % | 228 |
CRAP Score | Lines | ||
---|---|---|---|
_directional_helper() | 30 | 8 | |
Chess._convert_location_to_board_indices() | 9 | 10 | |
ChessBoard.export() | 8 | 35 | |
cant_jump_pieces() | 8 | 32 | |
ChessBoard.end_locations_for_piece_at_location() | 8 | 21 | |
ChessBoard.move() | 8 | 25 | |
ChessBoard.generate_fen() | 6 | 29 | |
first_move() | 6 | 2 | |
ChessBoard.import_fen_board() | 6 | 21 | |
ChessBoard.initialize_board() | 5 | 25 | |