line |
true |
false |
branch |
82
|
0 |
2 |
unless $self->SUPER::init(@_) |
138
|
171410 |
152430 |
unless ($$b[$x][$y]) |
149
|
8709 |
136784 |
if ($tx >= 0 and $tx != $x - 1 and $$b[$tx][$y] == $me) |
158
|
5231 |
126338 |
if ($tx < $size and $tx != $x + 1 and $$b[$tx][$y] == $me) |
167
|
7549 |
112639 |
if ($ty >= 0 and $ty != $y - 1 and $$b[$x][$ty] == $me) |
176
|
9470 |
112379 |
if ($ty < $size and $ty != $y + 1 and $$b[$x][$ty] == $me) |
188
|
5716 |
4094 |
if ($tx >= 0 and $ty >= 0 and $tx != $x - 1 and $ty != $y - 1 and $$b[$tx][$ty] == $me) |
202
|
6505 |
4490 |
if ($tx >= 0 and $ty < $size and $tx != $x - 1 and $ty != $y + 1 and $$b[$tx][$ty] == $me) |
215
|
3862 |
3410 |
if ($tx < $size and $ty < $size and $tx != $x + 1 and $ty != $y + 1 and $$b[$tx][$ty] == $me) |
228
|
4736 |
3815 |
if ($tx < $size and $ty >= 0 and $tx != $x + 1 and $ty != $y - 1 and $$b[$tx][$ty] == $me) |
240
|
25 |
5035 |
unless (@moves or $own_call) |
242
|
17 |
8 |
if ($self->findmoves(1)) |
287
|
5 |
2787 |
unless ($move) |
299
|
0 |
2787 |
if ($x < 0 or $x >= $size or $y < 0 or $y >= $size) { } |
|
0 |
2787 |
elsif ($$b[$x][$y]) { } |
310
|
397 |
1931 |
if ($tx >= 0 and $tx != $x - 1 and $$b[$tx][$y] == $me) |
323
|
402 |
2083 |
if ($tx < $size and $tx != $x + 1 and $$b[$tx][$y] == $me) |
336
|
471 |
1947 |
if ($ty >= 0 and $ty != $y - 1 and $$b[$x][$ty] == $me) |
349
|
667 |
1752 |
if ($ty < $size and $ty != $y + 1 and $$b[$x][$ty] == $me) |
365
|
345 |
83 |
if ($tx >= 0 and $ty >= 0 and $tx != $x - 1 and $ty != $y - 1 and $$b[$tx][$ty] == $me) |
384
|
570 |
93 |
if ($tx >= 0 and $ty < $size and $tx != $x - 1 and $ty != $y + 1 and $$b[$tx][$ty] == $me) |
403
|
467 |
160 |
if ($tx < $size and $ty < $size and $tx != $x + 1 and $ty != $y + 1 and $$b[$tx][$ty] == $me) |
422
|
430 |
160 |
if ($tx < $size and $ty >= 0 and $tx != $x + 1 and $ty != $y - 1 and $$b[$tx][$ty] == $me) |
434
|
0 |
2787 |
unless ($flipped) |