blib/lib/Games/Cards/Pair.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 26 | 61.5 |
line | true | false | branch |
---|---|---|---|
75 | 1 | 0 | if ($new->equal($card)) { } |
137 | 80 | 24 | if $j > $i |
182 | 10 | 2 | if (defined $card) |
183 | 0 | 10 | if ($hide) { } |
192 | 3 | 9 | if $i % 4 == 0 |
210 | 1 | 1 | unless defined $c1 |
213 | 0 | 1 | unless defined $c2 |
223 | 0 | 1 | unless scalar @cards == 2 |
236 | 1 | 0 | if $index != -1 |
239 | 1 | 0 | if $index != -1 |
251 | 2 | 22 | if $self->cards == $index |
261 | 0 | 0 | if defined $index |
270 | 0 | 0 | if ($card->equal($_)) |