blib/lib/Games/Cards/ShuffleTrack.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 27 | 96.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
342 | 29 | 1 | 3 | wantarray and @_ > 1 |
562 | 3 | 2 | 73 | @left_pile and @right_pile |
679 | 1 | 3 | 22 | defined $position and &looks_like_number($position) |
4 | 22 | 0 | defined $position and &looks_like_number($position) and abs $position > $self->deck_size | |
736 | 1 | 7 | 11 | defined $_[0] and ref $_[0] eq 'Games::Cards::ShuffleTrack' |
line | l | !l | condition |
---|---|---|---|
171 | 20 | 17 | $order ||= 'new_deck_order' |
458 | 3 | 5 | $where_to_drop ||= 'drop-bottom' |
496 | 2 | 1 | shift() || 1 |
827 | 1 | 1 | shift() || 1 |
1187 | 72 | 1 | shift() || 1 |
1212 | 54 | 2 | shift() || 1 |