Condition Coverage

blib/lib/IO/Handle/Util.pm
Criterion Covered Total %
condition 4 19 21.0


and 2 conditions

line l !l condition
178 1 1 ref $ref eq 'GLOB' and *{$ref;}{'IO'}
289 0 0 $reftype eq 'GLOB' and *{$fh;}{'IO'}

and 3 conditions

line !l l&&!r l&&r condition
109 0 0 0 defined $thing and not ref $thing
198 0 0 0 $obj->can('getline') and $obj->can('print')

or 3 conditions

line l !l&&r !l&&!r condition
152 0 0 10 ref $fh eq 'GLOB' or ref $fh eq 'IO::Handle'
198 10 0 0 $obj->isa('IO::Handle') or $obj->can('getline') and $obj->can('print')
289 0 0 0 $reftype eq 'IO' or $reftype eq 'GLOB' and *{$fh;}{'IO'}