| line |
true |
false |
branch |
|
179
|
1 |
0 |
if ($self->has_players and scalar @{$self->players;} == 2) |
|
184
|
0 |
0 |
unless defined $symbol |
|
190
|
0 |
0 |
uc $symbol eq 'X' ? : |
|
203
|
1 |
0 |
if (not $self->has_players or scalar @{$self->players;} == 0) |
|
228
|
1 |
0 |
unless $self->has_players and scalar @{$self->players;} == 2 |
|
232
|
0 |
0 |
if (defined $move and $self->_getCurrentPlayer->type eq 'H') { } |
|
240
|
0 |
0 |
unless $self->isGameOver |
|
253
|
0 |
0 |
if ($self->has_winner) { } |
|
257
|
0 |
0 |
unless $self->board->isFull |
|
300
|
1 |
0 |
if (not $self->has_players or scalar @{$self->players;} == 0) |
|
307
|
0 |
0 |
if (Games::TicTacToe::Move::foundWinner($player, $board)) |
|
366
|
0 |
0 |
$self->{'players'}[0]->type eq $self->current ? : |
|
376
|
0 |
0 |
$self->{'players'}[0]->type eq $self->current ? : |