blib/lib/Dreamhack/Solitaire/Medici.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 12 | 83.3 |
line | true | false | branch |
---|---|---|---|
15 | 0 | 2 | exists $args{'attempts'} && $args{'attempts'} =~ /^[1-9]\d*$/ ? : |
31 | 1 | 1 | if ($#work <= 1) |
44 | 374 | 72 | if ($offset >= 0 and $#work - $offset >= 2) { } |
47 | 67 | 307 | if ($vl eq $vr or $sl eq $sr) { } |
50 | 24 | 43 | if ($cardno) |
69 | 2 | 0 | if ($cardscount <= 1) { } |