Condition Coverage

blib/lib/Game/Battleship.pm
Criterion Covered Total %
condition 6 15 40.0


or 3 conditions

line l !l&&r !l&&!r condition
61 0 0 0 $player->{'id'} || $i
0 0 0 $player->{'name'} || $who
83 2 4 14 $_ eq $name or $self->{'players'}{$_}{'name'} eq $name
6 3 11 $_ eq $name or $self->{'players'}{$_}{'name'} eq $name or $self->{'players'}{$_}{'id'} eq $name
110 0 0 0 $opponent->{'name'} eq $player->{'name'} or not $opponent->{'life'}