Branch Coverage

blib/lib/Game/RockPaperScissor.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
44 1 2 if $game->{'p1'} eq $game->{'p2'}
46 2 0 if (exists $game->{'p1'} and exists $game->{'p2'})
74 0 0 if $value < 0
85 0 3 unless keys %{$game;}
88 0 6 if (not defined $game->{$key} && exists $game->{$key}) { }
92 0 6 unless ($game->{$key} =~ /^(p|s|r)$/x)