line |
true |
false |
branch |
105
|
1 |
1 |
if (my $class = &blessed($_[0])) |
106
|
1 |
0 |
if ($class->isa('IO::Async::Stream')) { } |
114
|
1 |
0 |
if (my $ref = ref $_[0]) |
115
|
1 |
0 |
if ($ref eq 'ARRAY') { } |
121
|
3 |
0 |
if @pending and $src |
122
|
2 |
1 |
if (@pending) { } |
137
|
0 |
0 |
if (my $dir = $args{'directory'}) |
138
|
0 |
0 |
unless opendir my $handle, $dir |
141
|
0 |
0 |
if (defined(my $item = readdir $handle)) { } |
142
|
0 |
0 |
unless $item eq '.' or $item eq '..' |
146
|
0 |
0 |
unless closedir $handle |
183
|
2 |
1 |
$eof ? : |
186
|
1 |
2 |
if $eof and not $src->completed->is_ready |
189
|
1 |
0 |
unless ($stream->parent) |
192
|
1 |
0 |
if $stream->parent |
219
|
0 |
0 |
unless ($stream->parent) |
223
|
0 |
0 |
if $stream->parent |
311
|
0 |
1 |
unless $timer |
312
|
0 |
1 |
if $timer->is_running |
327
|
0 |
0 |
if (ref $code eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $code eq 'CODE') { } |
394
|
1 |
0 |
unless ref $uri |
422
|
0 |
1 |
if $host eq '*' |
470
|
1 |
0 |
unless ref $uri |
523
|
1 |
0 |
unless ref $uri |