Subroutine Coverage

blib/lib/Games/Chess.pm
Criterion Covered Total %
subroutine 46 53 86.7
pod 7 10 70.0


line count pod subroutine
15 4 n/a BEGIN
16 4 n/a BEGIN
17 4 n/a BEGIN
37 4 n/a BEGIN
38 4 n/a BEGIN
39 4 n/a BEGIN
41 4 n/a BEGIN
42 4 n/a BEGIN
43 4 n/a BEGIN
44 4 n/a BEGIN
45 4 n/a BEGIN
46 4 n/a BEGIN
49 114 Yes algebraic_to_xy
56 292 Yes colour_valid
62 4 Yes debug
66 10 Yes errmsg
70 224 No error
80 225 No halfmove_count_valid
86 425 No move_number_valid
92 284 Yes piece_valid
98 165 Yes xy_to_algebraic
104 3454 Yes xy_valid
115 4 n/a BEGIN
127 2975 n/a new
152 2543 n/a code
159 393 n/a colour
164 114 n/a colour_name
169 39 n/a name
174 429 n/a piece
179 150 n/a piece_name
188 4 n/a BEGIN
192 0 n/a new
204 0 n/a cmp
219 0 n/a from
224 0 n/a to
229 0 n/a promotion
238 4 n/a BEGIN
239 4 n/a BEGIN
245 25 n/a new
322 2748 n/a at
333 0 n/a board
338 116 n/a can_castle
354 120 n/a clear
361 516 n/a en_passant
370 404 n/a halfmove_clock
378 804 n/a move_number
386 20 n/a player_to_move
402 19 n/a validate
493 5 n/a to_FEN
511 4 n/a to_text
526 1 n/a to_GIF
598 4 n/a BEGIN
616 0 n/a piece_gifs