Subroutine Coverage
blib/lib/Chess/Board.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
24 |
24 |
100.0
|
pod |
14 |
16 |
87.5
|
line |
count |
pod |
subroutine |
211
|
12 |
n/a |
BEGIN |
212
|
12 |
n/a |
BEGIN |
214
|
12 |
n/a |
BEGIN |
222
|
12 |
n/a |
_init_empty_board |
238
|
9676 |
n/a |
_get_board_array_ref |
244
|
5 |
Yes |
new |
248
|
500 |
Yes |
clone |
269
|
269 |
n/a |
DESTROY |
275
|
83430 |
n/a |
_get_square_coords |
286
|
44077 |
n/a |
_coords_to_square |
292
|
94034 |
Yes |
square_is_valid |
297
|
3 |
Yes |
get_color_of |
309
|
22965 |
No |
add_horz_distance |
319
|
23068 |
No |
add_vert_distance |
329
|
4361 |
Yes |
horz_distance |
336
|
4308 |
Yes |
vert_distance |
343
|
5708 |
Yes |
square_left_of |
348
|
12892 |
Yes |
square_right_of |
353
|
6393 |
Yes |
square_down_from |
358
|
12388 |
Yes |
square_up_from |
363
|
5301 |
Yes |
squares_in_line |
402
|
7822 |
Yes |
get_piece_at |
416
|
1070 |
Yes |
set_piece_at |
433
|
281 |
Yes |
line_is_open |