Branch Coverage

blib/lib/Games/Cards/Pair.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
75 0 1 if ($new->equal($card)) { }
137 80 24 if $j > $i
182 12 0 if (defined $card)
183 0 12 if ($hide) { }
192 3 9 if $i % 4 == 0
210 1 1 unless defined $c1
213 0 1 unless defined $c2
223 0 0 unless scalar @cards == 2
236 0 0 if $index != -1
239 0 0 if $index != -1
251 2 22 if $self->cards == $index
261 0 0 if defined $index
270 0 0 if ($card->equal($_))