line |
true |
false |
branch |
57
|
0 |
0 |
if $loc == NL or not $self->occup($loc) or $self->color($loc) != $$self{'color'} |
58
|
0 |
0 |
if $$self{'must_beat'} and not $self->can_piece_beat($loc) or not $$self{'must_beat'} || $self->can_piece_step($loc) |
66
|
0 |
0 |
if $$self{'src'} == NL or @{$$self{'destin'};} == 8 |
67
|
0 |
0 |
if ($$self{'must_beat'}) { } |
68
|
0 |
0 |
unless $self->occup($self->dst_1) |
69
|
0 |
0 |
unless $self->can_piece_beat($self->dst_1, $dst) |
71
|
0 |
0 |
if @{$$self{'destin'};} > 0 |
72
|
0 |
0 |
unless $self->can_piece_step($$self{'src'}, $dst) |
81
|
0 |
0 |
if $$self{'src'} == NL or @{$$self{'destin'};} == 0 |
98
|
0 |
0 |
if $$self{'src'} == NL or $$self{'must_beat'} and @{$$self{'destin'};} < 1 or not $$self{'must_beat'} and @{$$self{'destin'};} != 1 |
109
|
0 |
0 |
if $$self{'must_beat'} |
110
|
0 |
0 |
if (convert_type->[$$self{'color'}][$$self{'piece'}] & 1 << $dst) |
119
|
0 |
0 |
if $$self{'src'} == NL or @{$$self{'destin'};} == 0 |
131
|
0 |
0 |
@{$$self{'destin'};} == 0 ? : |
136
|
0 |
0 |
@{$$self{'destin'};} == 1 ? : |