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
59 0 0 0 $player->{'id'} || $i
0 0 0 $player->{'name'} || $who
81 2 4 7 $_ eq $name or $self->{'players'}{$_}->name eq $name
6 3 4 $_ eq $name or $self->{'players'}{$_}->name eq $name or $self->{'players'}{$_}->id eq $name
107 0 0 0 $opponent->name eq $player->name or not $opponent->life