Branch Coverage

blib/lib/IO/Async/Protocol.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
77 2 15 if exists $params{$_}
80 10 7 if (exists $params{'transport'})
83 3 7 if ($self->{'transport'})
91 8 2 if ($transport)
163 0 1 if (my $transport = $args{'transport'})
166 0 0 if $on_connected
171 0 1 unless my $socktype = $args{'socktype'}
173 1 0 do { BEGIN {${^WARNING_BITS} = "\x54\x55\x55\x51\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x05"} $socktype == 1 unless $socktype eq 'stream' } ? :
175 0 1 unless $socktype eq "stream"
178 0 1 unless my $loop = $self->loop
189 1 0 if $on_connected
232 0 2 unless my $self = shift()