Condition Coverage

blib/lib/IO/ReadHandle/Chain.pm
Criterion Covered Total %
condition 29 35 82.8


and 3 conditions

line !l l&&!r l&&r condition
352 4 5 14 ref $source ne '' and &reftype($source) ne 'GLOB'
9 13 1 ref $source ne '' and &reftype($source) ne 'GLOB' and &reftype($source) ne 'SCALAR'
426 39 19 68 $ifh and not $ifh->eof
433 2 36 21 $sources_lref and @{$sources_lref;}
543 7 0 3 $ifh->eof and $n < $length

or 2 conditions

line l !l condition
436 17 4 &reftype($source) // ''
497 24 8 $self->_get('line_number') // 0
507 2 9 $offset //= 0
514 11 0 $$bufref //= ''

or 3 conditions

line l !l&&r !l&&!r condition
117 0 15 0 ref $class || $class
256 2 1 0 $href->{$field} //= $default
428 39 20 20 not $self->_get('ifh') or $self->_get('ifh')->eof
436 4 13 0 ref $source eq '' or &reftype($source) eq 'SCALAR'