| line |
true |
false |
branch |
|
111
|
1 |
0 |
if ($self->has_players and scalar @{$self->players;} == 2) |
|
116
|
0 |
0 |
unless defined $symbol |
|
122
|
0 |
0 |
uc $symbol eq 'X' ? : |
|
135
|
1 |
0 |
if (not $self->has_players or scalar @{$self->players;} == 0) |
|
160
|
1 |
0 |
unless $self->has_players and scalar @{$self->players;} == 2 |
|
164
|
0 |
0 |
if (defined $move and $self->_getCurrentPlayer->type eq 'H') { } |
|
172
|
0 |
0 |
unless $self->isGameOver |
|
185
|
0 |
0 |
if ($self->has_winner) { } |
|
189
|
0 |
0 |
unless $self->board->isFull |
|
232
|
1 |
0 |
if (not $self->has_players or scalar @{$self->players;} == 0) |
|
239
|
0 |
0 |
if (Games::TicTacToe::Move::foundWinner($player, $board)) |
|
298
|
0 |
0 |
$self->{'players'}[0]->type eq $self->current ? : |
|
308
|
0 |
0 |
$self->{'players'}[0]->type eq $self->current ? : |