line |
true |
false |
branch |
61
|
2 |
3 |
if $x < 0 or $x >= 9 or $y < 0 or $y >= 9 |
63
|
1 |
2 |
if $piece == 0 |
64
|
1 |
1 |
unless ($piece >> 6 & 1) == $player |
74
|
2 |
9 |
if $srcx < 0 or $srcx >= 9 or $srcy < 0 or $srcy >= 9 |
81
|
1 |
8 |
if $piece == 0 |
83
|
1 |
7 |
unless ($piece >> 6 & 1) == $player |
86
|
1 |
6 |
if $move_type == 0 |
92
|
1 |
5 |
unless ($move_type & $piece_type) > 0 |
98
|
2 |
3 |
if ($center > 0 and ($center & 128) == 128) |
111
|
2 |
3 |
if $player == 0 |
129
|
67 |
14 |
if $piece == 0 |
155
|
2 |
30 |
if $point->[0] < 0 or $point->[0] >= 9 or $point->[1] < 0 or $point->[1] >= 9 |
161
|
27 |
3 |
if ($$grid[$stack[-1][1]][$stack[-1][0]] == 0) |
186
|
2 |
15 |
if $x1 == $x2 and $y1 == $y2 |
189
|
2 |
2 |
$plus_x ? : |
|
4 |
11 |
if $dy == 0 |
192
|
1 |
1 |
$plus_y ? : |
|
2 |
9 |
if $dx == 0 |
194
|
4 |
4 |
$plus_x ? : |
|
4 |
4 |
$plus_y ? : |
|
8 |
1 |
if abs $dx == abs $dy |