line |
true |
false |
branch |
127
|
1 |
1 |
if (my $class = &blessed($_[0])) |
128
|
1 |
0 |
if ($class->isa('IO::Async::Stream')) { } |
136
|
1 |
0 |
if (my $ref = ref $_[0]) |
137
|
1 |
0 |
if ($ref eq 'ARRAY') { } |
154
|
1 |
3 |
unless @$pending |
161
|
1 |
0 |
if $weak_src |
174
|
0 |
0 |
if (my $dir = $args{'directory'}) |
175
|
0 |
0 |
unless opendir my $handle, $dir |
178
|
0 |
0 |
if (defined(my $item = readdir $handle)) { } |
179
|
0 |
0 |
unless $item eq '.' or $item eq '..' |
183
|
0 |
0 |
unless closedir $handle |
220
|
2 |
1 |
$eof ? : |
223
|
1 |
2 |
if $eof and not $src->completed->is_ready |
226
|
1 |
0 |
unless ($stream->parent) |
229
|
1 |
0 |
if $stream->parent |
256
|
0 |
0 |
unless ($stream->parent) |
260
|
0 |
0 |
if $stream->parent |
348
|
0 |
1 |
unless $timer |
349
|
0 |
1 |
if $timer->is_running |
364
|
0 |
0 |
if (ref $code eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $code eq 'CODE') { } |
420
|
1 |
0 |
unless ref $uri |
448
|
0 |
1 |
if $host eq '*' |
496
|
1 |
0 |
unless ref $uri |
549
|
1 |
0 |
unless ref $uri |