Branch Coverage

lib/IOMux/Handler.pm
Criterion Covered Total %
branch 9 44 20.4


line true false branch
27 0 16 if $$self{'IMH_name'}
30 15 1 if (my $fh = $$self{'IMH_fh'} = $$args{'fh'})
54 0 0 unless @_
58 0 0 $after > $start_time ? :
0 0 !$after ? :
68 13 3 if (my $fh = delete $$self{'IMH_fh'})
69 13 0 if (my $mux = $$self{'IMH_mux'})
75 9 7 if $cb
89 0 13 if (my $timeout = $$self{'IMH_timeout'})
126 0 0 unless my $fh = $self->fh
130 0 0 unless ($^O eq 'Win32')
131 0 0 unless my $flags = fcntl($fh, 3, 0)
132 0 0 $flags & 2 ? :
0 0 $flags & 0 ? :
0 0 $flags & 1 ? :
139 0 0 if (my $sockopts = getsockopt($fh, 1, 3))
142 0 0 $type == 1 ? :
0 0 $type == 2 ? :
162 0 0 if $socket
169 0 0 unless @sockopts
175 0 0 $ssl ? :
176 0 0 unless $socket = $make->new('Blocking', 0, @sockopts)