Branch Coverage

blib/lib/Games/Roshambo.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
15 0 0 unless defined $conf{'numthrows'}
16 0 0 unless defined $conf{'sortable'}
18 0 0 unless ($conf{'numthrows'} % 2)
52 0 0 if $player1 =~ /\D+/
53 0 0 if $player2 =~ /\D+/
55 0 0 unless $player1 and $player2
60 0 0 if $player1 == $player2
62 0 0 $$self{'sortable'} ? :
63 0 0 $$self{'sortable'} ? :
65 0 0 if $player1 >= $winrange and ($player1 > $player2 and $player1 - $winrange <= $player2)
69 0 0 if $player1 <= $winrange and $player1 > $player2 || $numthrows - ($winrange - $player1) <= $player2
90 0 0 unless defined $thrownum
99 0 0 if ($a =~ /\D/)
103 0 0 if ($b =~ /\D/)
107 0 0 if $a == $b