Condition Coverage

blib/lib/File/RandomAccess.pm
Criterion Covered Total %
condition 9 36 25.0


and 3 conditions

line !l l&&!r l&&r condition
111 0 0 730 seek $fp, 1, 1 and seek $fp, -1, 1
151 95 0 0 $self->{'NoBuffer'} and $self->{'FILE_PT'}
161 13 1367 0 $newPos >= 0 and !$self->{'NoBuffer'} || $newPos >= $self->{'POS'}
214 8584 603 0 $num > 0 and $self->{'FILE_PT'}
249 0 0 0 $self->{'DEBUG'}{$pos} and $self->{'DEBUG'}{$pos} > $rtnVal
321 0 0 0 $self->{'DEBUG'}{$pos} and $self->{'DEBUG'}{$pos} > $rtnVal
409 0 0 0 defined $last and $last < $pos
423 0 0 0 defined $last and $last > $cur

or 2 conditions

line l !l condition
209 0 0 $self->Purge or return 0
268 0 0 $self->Purge or return 0
334 0 95 $self->{'FILE_PT'} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
62 0 1751 0 ref $that || $that
161 1367 0 0 !$self->{'NoBuffer'} || $newPos >= $self->{'POS'}