Branch Coverage

blib/lib/Games/TicTacToe/Move.pm
Criterion Covered Total %
branch 6 32 18.7


line true false branch
35 1 1 unless defined $player
36 1 0 unless defined $board
41 0 0 if $board->belongsToPlayer($move, $player)
56 1 1 unless defined $player
57 1 0 unless defined $board
60 0 0 unless $move == -1
65 0 0 if $board->isCellEmpty($i)
69 0 0 if $board->isCellEmpty($i)
81 0 0 unless $move == -1
92 0 0 if ($board->isCellEmpty($m->[$i]))
95 0 0 if $i == $j
96 0 0 unless $board->cellContains($m->[$j], $symbol)
98 0 0 if $matched
110 0 0 if ($size % 2 == 0) { }
0 0 elsif ($size % 2 == 1) { }
136 0 0 if ($size > 3)