Branch Coverage

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


line true false branch
31 0 16 if $self->{'IH_name'}
34 15 1 if (my $fh = $self->{'IH_fh'} = $args->{'fh'})
58 0 0 unless @_
62 0 0 $after > $start_time ? :
0 0 !$after ? :
73 13 3 if (my $fh = delete $self->{'IH_fh'})
74 13 0 if (my $mux = $self->{'IH_mux'})
80 9 7 if $cb
94 0 13 if (my $timeout = $self->{'IH_timeout'})
133 0 0 unless my $fh = $self->fh
137 0 0 unless ($^O eq 'Win32')
138 0 0 unless my $flags = fcntl($fh, 3, 0)
139 0 0 $flags & 2 ? :
0 0 $flags & 0 ? :
0 0 $flags & 1 ? :
146 0 0 if (my $sockopts = getsockopt($fh, 1, 3))
149 0 0 $type == 1 ? :
0 0 $type == 2 ? :
169 0 0 if $socket
176 0 0 unless @sockopts
182 0 0 $ssl ? :
183 0 0 unless $socket = $make->new(@sockopts)