Branch Coverage

blib/lib/Vote/Count/Method/MinMax.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
91 97 546 if $Opponent eq $Choice
94 274 272 if ($method eq 'opposition') { }
136 136 elsif ($M->{'winner'} eq $Opponent) { }
98 68 68 if $method eq 'winning'
99 68 68 if $method eq 'margin'
124 47 258 if $Opponent eq $Choice
127 127 131 if ($Matrix->{$Choice}{$Opponent}{'winner'} eq $Choice)
130 127 131 if ($Matrix->{$Choice}{$Opponent}{'winner'} eq $Opponent)
202 4 45 if ($this == $bestscore) { }
22 23 elsif ($this < $bestscore) { }
208 6 4 if (scalar @hasbest == 1)
217 1 3 if ($bestscore == 0)