| line |
true |
false |
branch |
|
43
|
0 |
0 |
unless $message =~ /unexpected end-of-file/i |
|
78
|
0 |
0 |
if (ref $waiter eq 'CODE') { } |
|
|
0 |
0 |
elsif (ref $waiter eq 'AnyEvent::CondVar') { } |
|
|
0 |
0 |
elsif (ref $waiter eq 'Coro::Channel') { } |
|
109
|
0 |
68 |
unless defined $pid |
|
111
|
21 |
47 |
unless ($pid) |
|
130
|
0 |
65 |
unless defined POSIX::dup2($v, $k) |
|
152
|
6 |
41 |
if $status |
|
153
|
2 |
45 |
if $signal |
|
154
|
0 |
47 |
if $coredump |
|
172
|
63 |
5 |
unless delete $options{'extras'} |
|
221
|
37 |
10 |
if ($options{'ttl'}) |
|
225
|
0 |
1 |
unless $self->alive |
|
234
|
4 |
43 |
if ($options{'timeout'}) |
|
247
|
3 |
44 |
if ($options{'wtimeout'}) |
|
255
|
2 |
45 |
if ($options{'rtimeout'}) |
|
263
|
1 |
46 |
if ($options{'etimeout'}) |
|
271
|
16 |
31 |
if ($options{'errstr'}) |
|
277
|
26 |
21 |
if ($options{'outstr'}) |
|
294
|
0 |
47 |
if (keys %options) |
|
332
|
3 |
6 |
if (wantarray) { } |
|
336
|
0 |
6 |
if $err |
|
383
|
15 |
43 |
if (exists $$self{'listeners'}{$name} and defined $$self{'listeners'}{$name}) |
|
396
|
1 |
2 |
unless defined $signal |
|
409
|
0 |
0 |
ref $_[-1] eq 'CODE' ? : |
|
415
|
0 |
0 |
unless $self->alive |
|
420
|
0 |
0 |
if ($cb) { } |
|
437
|
0 |
1 |
unless $$self{'alive'} |
|
438
|
1 |
0 |
$self->fire(0) ? : |
|
448
|
11 |
36 |
if ref $cb eq 'CODE' |
|
454
|
11 |
36 |
if ($cb) { } |
|
522
|
2 |
48 |
if (ref $what) { } |
|
531
|
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') { } |
|
532
|
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')) { } |
|
566
|
50 |
0 |
if ($sub) { } |
|
590
|
11 |
4 |
if (blessed $peer) { } |
|
|
1 |
3 |
elsif (ref $peer eq 'SCALAR') { } |
|
|
3 |
0 |
elsif (ref $peer eq 'GLOB') { } |
|
591
|
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')) { } |
|
620
|
0 |
0 |
if (my $class = load_class('Coro')) |
|
624
|
0 |
0 |
unless $self->write($x) |
|
709
|
0 |
0 |
unless $self->_readline($what, _sub_cv($cv)) |
|
715
|
0 |
0 |
unless ($channel) |
|
716
|
0 |
0 |
if (my $class = load_class('Coro::Channel')) |
|
721
|
0 |
0 |
unless $self->_readline($what, _sub_ch($channel)) |
|
737
|
0 |
0 |
unless ($channel) |
|
738
|
0 |
0 |
if (my $class = load_class('Coro::Channel')) |
|
747
|
0 |
0 |
unless $self->_geth($what)->on_read(sub {
$self->_readline($what, _sub_ch($channel));
}
) |
|
767
|
0 |
0 |
unless ($channel) |
|
768
|
0 |
0 |
if (my $class = load_class('Coro::Channel')) |
|
773
|
0 |
0 |
unless $self->_readline($what, _sub_ch($channel)) |
|
779
|
0 |
0 |
unless ($channel) |
|
780
|
0 |
0 |
if (my $class = load_class('Coro::Channel')) |
|
789
|
0 |
0 |
unless $self->_geth($what)->on_read(sub {
$self->_readline($what, _sub_ch($channel));
}
) |