line |
true |
false |
branch |
83
|
0 |
1 |
if (ref $waiter eq 'CODE') { } |
|
1 |
0 |
elsif (ref $waiter eq 'AnyEvent::CondVar') { } |
|
0 |
0 |
elsif (ref $waiter eq 'Coro::Channel') { } |
114
|
0 |
71 |
unless defined $pid |
116
|
23 |
48 |
unless ($pid) |
135
|
0 |
71 |
unless defined POSIX::dup2($v, $k) |
166
|
6 |
42 |
if $status |
167
|
3 |
45 |
if $signal |
168
|
0 |
48 |
if $coredump |
189
|
66 |
5 |
unless delete $options{'extras'} |
241
|
38 |
10 |
if ($options{'ttl'}) |
245
|
0 |
1 |
unless $self->alive |
254
|
4 |
44 |
if ($options{'timeout'}) |
267
|
3 |
45 |
if ($options{'wtimeout'}) |
275
|
2 |
46 |
if ($options{'rtimeout'}) |
283
|
1 |
47 |
if ($options{'etimeout'}) |
291
|
16 |
32 |
if ($options{'errstr'}) |
297
|
26 |
22 |
if ($options{'outstr'}) |
320
|
0 |
48 |
if (keys %options) |
364
|
3 |
6 |
if (wantarray) { } |
368
|
0 |
6 |
if $err |
415
|
14 |
84 |
if (exists $$self{'listeners'}{$name} and defined $$self{'listeners'}{$name}) |
428
|
2 |
5 |
unless defined $signal |
440
|
0 |
0 |
ref $_[-1] eq 'CODE' ? : |
446
|
0 |
0 |
unless $self->alive |
451
|
0 |
0 |
if ($cb) { } |
468
|
0 |
4 |
unless $$self{'alive'} |
469
|
4 |
0 |
$self->fire(0) ? : |
480
|
11 |
37 |
if ($cb) { } |
555
|
2 |
48 |
if (ref $what) { } |
564
|
3 |
47 |
if (blessed $peer) { } |
|
44 |
3 |
elsif (ref $peer eq 'SCALAR') { } |
|
3 |
0 |
elsif (ref $peer eq 'GLOB') { } |
|
0 |
0 |
elsif (ref $peer eq 'CODE') { } |
565
|
0 |
3 |
if ($peer->isa('AnyEvent::Proc')) { } |
|
2 |
1 |
elsif ($peer->isa('AnyEvent::Handle')) { } |
|
0 |
1 |
elsif ($peer->isa('Coro::Channel')) { } |
|
1 |
0 |
elsif ($peer->can('print')) { } |
599
|
50 |
0 |
if ($sub) { } |
611
|
11 |
4 |
if (blessed $peer) { } |
|
1 |
3 |
elsif (ref $peer eq 'SCALAR') { } |
|
3 |
0 |
elsif (ref $peer eq 'GLOB') { } |
612
|
0 |
11 |
if ($peer->isa('AnyEvent::Proc')) { } |
|
9 |
2 |
elsif ($peer->isa('AnyEvent::Handle')) { } |
|
2 |
0 |
elsif ($peer->isa('IO::Handle')) { } |
|
0 |
0 |
elsif ($peer->isa('Coro::Channel')) { } |
645
|
0 |
0 |
unless $self->write($x) |
727
|
0 |
1 |
unless $self->_readline($what, _sub_cv($cv)) |
733
|
0 |
0 |
unless ($channel) |
738
|
0 |
0 |
unless $self->_readline($what, _sub_ch($channel)) |
754
|
0 |
0 |
unless ($channel) |
763
|
0 |
0 |
unless $self->_geth($what)->on_read(sub {
$self->_readline($what, _sub_ch($channel));
}
) |
783
|
0 |
0 |
unless ($channel) |
788
|
0 |
0 |
unless $self->_readline($what, _sub_ch($channel)) |
794
|
0 |
0 |
unless ($channel) |
803
|
0 |
0 |
unless $self->_geth($what)->on_read(sub {
$self->_readline($what, _sub_ch($channel));
}
) |