Branch Coverage

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


line true false branch
27 0 16 if $self->{'IH_name'}
30 15 1 if (my $fh = $self->{'IH_fh'} = $args->{'fh'})
54 0 0 unless @_
58 0 0 $after > $start_time ? :
0 0 !$after ? :
69 13 3 if (my $fh = delete $self->{'IH_fh'})
70 13 0 if (my $mux = $self->{'IH_mux'})
76 9 7 if $cb
90 0 13 if (my $timeout = $self->{'IH_timeout'})
129 0 0 unless my $fh = $self->fh
133 0 0 unless ($^O eq 'Win32')
134 0 0 unless my $flags = fcntl($fh, 3, 0)
135 0 0 $flags & 2 ? :
0 0 $flags & 0 ? :
0 0 $flags & 1 ? :
142 0 0 if (my $sockopts = getsockopt($fh, 1, 3))
145 0 0 $type == 1 ? :
0 0 $type == 2 ? :
165 0 0 if $socket
172 0 0 unless @sockopts
178 0 0 $ssl ? :
179 0 0 unless $socket = $make->new(@sockopts)