Condition Coverage

blib/lib/IO/Async/FileStream.pm
Criterion Covered Total %
condition 8 16 50.0


and 3 conditions

line !l l&&!r l&&r condition
177 0 1 7 $self->read_handle and not defined $self->{'last_size'}

or 2 conditions

line l !l condition
297 1 1 $whence //= 0
360 1 0 $opts{'blocksize'} || 8192

or 3 conditions

line l !l&&r !l&&!r condition
162 0 0 7 exists $params{'handle'} or exists $params{'read_handle'}
167 0 7 0 delete $params{'handle'} // delete $params{'read_handle'}
362 0 1 0 $opts{'horizon'} //= $blocksize * 4