| blib/lib/Array/Pick/Scan.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 16 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 101 | 100 | if ($ref eq 'ARRAY') { } |
| 100 | 0 | elsif ($ref eq 'CODE') { } | |
| 26 | 1 | 100 | if (not $ary_size) { } |
| 100 | 0 | elsif ($num_items == 1) { } | |
| 33 | 0 | 0 | if (@items < $num_items) { } |
| 40 | 0 | 0 | if rand $i + 1 < @items |
| 52 | 100 | 900 | if (@items < $num_items) { } |
| 59 | 183 | 717 | if rand $i + 1 < @items |