Condition Coverage

blib/lib/IO/Multiplex.pm
Criterion Covered Total %
condition 16 101 15.8


and 3 conditions

line !l l&&!r l&&r condition
359 0 4 3 defined $sockopt and 2 == unpack('i', $sockopt)
423 4 0 0 $fh and not exists $$self{'_fhs'}{"$fh"}
443 0 0 0 $fh and exists $$self{'_fhs'}{"$fh"}
462 0 0 0 $fh and exists $$self{'_fhs'}{"$fh"}
485 0 0 0 $fh and exists $$self{'_fhs'}{"$fh"}
515 0 0 4 $fh and exists $$self{'_fhs'}{"$fh"}
582 2 0 14 not $$self{'_endloop'} and keys %{$$self{'_fhs'};}
590 21 0 0 ref($fh) =~ /SSL/ and $fh->can('pending')
21 0 0 ref($fh) =~ /SSL/ and $fh->can('pending') and $fh->pending
642 0 0 2 $obj and $obj->can('mux_connection')
655 0 0 8 defined $rv and length $data
660 0 0 8 $obj and $obj->can('mux_input')
681 0 0 0 $obj and $obj->can('mux_eof')
689 0 0 0 exists $$self{'_fhs'}{"$fh"} and length $$self{'_fhs'}{"$fh"}{'outbuffer'}
702 0 0 0 $obj and $obj->can('mux_outbuffer_empty')
718 0 0 0 $obj and $obj->can('mux_epipe')
732 0 0 0 $obj and $obj->can('mux_outbuffer_empty')
735 0 0 0 $$self{'_fhs'}{"$fh"} and $$self{'_fhs'}{"$fh"}{'shutdown'}
785 0 0 4 $obj and $obj->can('mux_timeout')
847 0 0 6 $fh and exists $$self{'_fhs'}{"$fh"}
887 0 0 0 $fh and exists $$self{'_fhs'}{"$fh"}
940 0 0 0 $obj and $obj->can('mux_close')

or 2 conditions

line l !l condition
1004 0 6 $offset ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
607 0 0 0 $! == 4 or $! == 11
630 0 19 0 $$self{'_fhs'}{"$fh"}{'object'} || $$self{'_object'}
666 0 0 0 $! == 4 or $! == 11
0 0 0 $! == 4 or $! == 11 or $! == 11
714 0 0 0 $! == 11 or $! == 4
0 0 0 $! == 11 or $! == 4 or $! == 11
784 0 4 0 $$self{'_fhs'}{"$fh"}{'object'} || $$self{'_object'}
889 0 0 0 $which == 0 or $which == 2
897 0 0 0 $which == 1 or $which == 2
908 0 0 0 length $$self{'_fhs'}{"$fh"}{'inbuffer'} or length $$self{'_fhs'}{"$fh"}{'outbuffer'}
929 0 0 0 $$self{'_fhs'}{"$fh"}{'object'} || $$self{'_object'}