Branch Coverage

blib/lib/Array/Pick/Scan.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
21 100 100 if ($ref eq 'ARRAY') { }
100 0 elsif ($ref eq 'CODE') { }
25 100 0 if ($num_items == 1) { }
30 0 0 if (@items < $num_items) { }
37 0 0 if rand $i + 1 < @items
49 100 900 if (@items < $num_items) { }
56 199 701 if rand $i + 1 < @items