Branch Coverage

blib/lib/Role/TinyCommons/Collection/PickItems/RandomSeekLines.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
22 0 0 defined $args{'allow_resampling'} ? :
26 0 0 $self->can('fh_min_offset') ? :
27 0 0 $self->can('fh_max_offset') ? :
28 0 0 unless (defined $fh_max_offset)
29 0 0 unless my(@st) = stat $fh
34 0 0 unless $fh_max_offset >= 0 and $fh_max_offset > $fh_min_offset
41 0 0 if ($attempts++ > $max_attempts)
50 0 0 if ($pos0 > $fh_min_offset)
56 0 0 if $pos < 0
57 0 0 if not defined $line or $pos >= $fh_max_offset and not $line =~ /\R\z/
62 0 0 unless ($allow_resampling)
63 0 0 if $used_pos{$pos}++