Branch Coverage

blib/lib/Metabrik/Client/Tcp.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
73 0 0 unless $self->brik_help_run_undef_arg("connect", $host)
74 0 0 unless $self->brik_help_run_undef_arg("connect", $port)
76 0 0 $self->use_ipv6 ? :
85 0 0 unless (defined $socket)
92 0 0 unless my $select = "IO::Select"->new
112 0 0 if ($self->_socket) { }
127 0 0 if ($self->_socket)
138 0 0 unless ($self->is_connected)
141 0 0 unless $self->brik_help_run_undef_arg("write", $data)
147 0 0 unless ($ret)
175 0 0 unless ($self->is_connected)
191 0 0 if (not defined $ret) { }
0 0 elsif ($ret == 0) { }
0 0 elsif ($ret > 0) { }
208 0 0 if (@ready == 0)
220 0 0 unless ($self->is_connected)
236 0 0 unless (defined $data)
242 0 0 if (@ready == 0)
254 0 0 unless ($self->is_connected)
273 0 0 if (not defined $ret) { }
0 0 elsif ($ret == 0) { }
0 0 elsif ($ret > 0) { }
286 0 0 if ($ret == $chunk)
297 0 0 if (@ready == 0)
309 0 0 unless ($self->is_connected)
327 0 0 if ($std == $stdin) { }
333 0 0 if ($self->eof)
341 0 0 if $eof
344 0 0 if (@ready == 0)