Branch Coverage

blib/lib/Net/Async/Tangence/Client.pm
Criterion Covered Total %
branch 6 36 16.6


line true false branch
46 4 0 if defined $self->read_handle
88 4 2 if (my $on_error = delete $params{'on_error'})
89 1 3 if (ref $on_error eq 'CODE') { }
3 0 elsif ($on_error eq 'croak') { }
0 0 elsif ($on_error eq 'carp') { }
155 0 0 unless defined $scheme
157 0 0 if ($scheme =~ /\+/)
158 0 0 unless $scheme =~ s/^circle\+//
162 0 0 if $scheme eq 'ssh'
166 0 0 if ($scheme eq 'exec') { }
0 0 elsif ($scheme eq 'sshexec') { }
0 0 elsif ($scheme eq 'tcp') { }
0 0 elsif ($scheme eq 'unix') { }
0 0 elsif ($scheme eq 'sshunix') { }
206 0 0 if $on_root
236 0 0 unless pipe my $myread, my $childwrite
237 0 0 unless pipe my $childread, my $mywrite
384 0 0 unless $$buffref =~ s/READY//