| line |
true |
false |
branch |
|
42
|
0 |
22 |
if $stack[-1] == $main |
|
46
|
11 |
11 |
if ($cb) { } |
|
58
|
3 |
8 |
if (defined(my $name = $opts->{'-name'})) |
|
59
|
2 |
1 |
$opts->{'-install'} ? : |
|
64
|
11 |
0 |
if Sub::Util::subname($body) =~ /::__ANON__$/ |
|
71
|
1 |
10 |
unless eval {
do {
BEGIN {
$^H{'Mojo::AsyncAwait::Backend::Coro/async'} = '1';
}
$promise->resolve(&$body(@_));
1
}
} |
|
82
|
2 |
9 |
if ($opts->{'-install'}) |
|
105
|
2 |
11 |
unless $hints->{'Mojo::AsyncAwait::Backend::Coro/async'} |
|
126
|
0 |
11 |
if $err |
|
127
|
1 |
10 |
wantarray ? : |
|
131
|
8 |
3 |
unless @_ |
|
133
|
2 |
1 |
if @_ == 1 |
|
139
|
0 |
1 |
if $opts{'-install'} and not defined $opts{'-name'} |