Condition Coverage

blib/lib/File/RandomAccess.pm
Criterion Covered Total %
condition 8 32 25.0


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 681 seek $fp, 1, 1 and seek $fp, -1, 1
147 92 0 0 $self->{'NoBuffer'} and $self->{'FILE_PT'}
207 7190 459 0 $num > 0 and $self->{'FILE_PT'}
236 0 0 0 $self->{'DEBUG'}{$pos} and $self->{'DEBUG'}{$pos} > $rtnVal
301 0 0 0 $self->{'DEBUG'}{$pos} and $self->{'DEBUG'}{$pos} > $rtnVal
380 0 0 0 defined $last and $last < $pos
394 0 0 0 defined $last and $last > $cur

or 2 conditions

line l !l condition
202 0 0 $self->Purge or return 0
232 18555 346 read($self->{'FILE_PT'}, $_[0], $len) || 0
255 0 0 $self->Purge or return 0
314 0 92 $self->{'FILE_PT'} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
58 0 1490 0 ref $that || $that