blib/lib/Games/Cards/ShuffleTrack.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 27 | 96.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
380 | 36 | 1 | 3 | wantarray and @_ > 1 |
600 | 5 | 2 | 72 | @left_pile and @right_pile |
717 | 2 | 3 | 22 | defined $position and &looks_like_number($position) |
5 | 22 | 0 | defined $position and &looks_like_number($position) and abs $position > $self->deck_size | |
774 | 1 | 8 | 12 | defined $_[0] and ref $_[0] eq 'Games::Cards::ShuffleTrack' |
line | l | !l | condition |
---|---|---|---|
171 | 22 | 19 | $order ||= 'new_deck_order' |
496 | 3 | 5 | $where_to_drop ||= 'drop-bottom' |
534 | 2 | 2 | shift() || 1 |
865 | 1 | 2 | shift() || 1 |
1226 | 72 | 1 | shift() || 1 |
1251 | 54 | 3 | shift() || 1 |