Subroutine Coverage
blib/lib/Chess/Piece.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
24 |
25 |
96.0
|
pod |
15 |
16 |
93.7
|
line |
count |
pod |
subroutine |
201
|
12 |
n/a |
BEGIN |
202
|
12 |
n/a |
BEGIN |
211
|
12 |
n/a |
BEGIN |
213
|
12 |
n/a |
BEGIN |
214
|
12 |
n/a |
BEGIN |
215
|
12 |
n/a |
BEGIN |
222
|
49382 |
n/a |
_get_piece_ref |
227
|
139 |
Yes |
new |
241
|
14707 |
Yes |
clone |
252
|
3 |
n/a |
_firstmoved |
260
|
165 |
n/a |
_set_firstmoved |
269
|
1 |
Yes |
get_initial_square |
277
|
17942 |
Yes |
get_current_square |
285
|
202 |
Yes |
set_current_square |
293
|
4 |
Yes |
get_description |
301
|
2 |
Yes |
set_description |
309
|
2808 |
No |
get_player |
317
|
2103 |
Yes |
moved |
325
|
204 |
Yes |
set_moved |
334
|
135 |
Yes |
threatened |
342
|
318 |
Yes |
set_threatened |
351
|
10753 |
Yes |
captured |
359
|
35 |
Yes |
set_captured |
373
|
4002 |
Yes |
can_reach |
379
|
0 |
Yes |
reachable_squares |