| line |
!l |
l&&!r |
l&&r |
condition |
|
62
|
0 |
0 |
28 |
ref $p and $p->isa("Net::Async::WebSearch::Provider") |
|
117
|
29 |
0 |
34 |
$only and @$only |
|
120
|
30 |
0 |
18 |
$exclude and @$exclude |
|
134
|
0 |
0 |
79 |
defined $url and length $url |
|
149
|
0 |
0 |
12 |
defined $url and length $url |
|
165
|
0 |
0 |
11 |
$ct && $ct =~ /charset=([^\s;]+)/ |
|
168
|
10 |
0 |
1 |
defined $args{'max_bytes'} and defined $body |
|
|
10 |
0 |
1 |
defined $args{'max_bytes'} and defined $body and length $body > $args{'max_bytes'} |
|
201
|
0 |
0 |
6 |
$results_ref and @$results_ref |
|
231
|
0 |
0 |
30 |
defined $query and length $query |
|
272
|
0 |
0 |
26 |
$futs and @$futs |
|
291
|
32 |
0 |
3 |
ref $payload eq "HASH" and $payload->{'__error'} |
|
302
|
60 |
10 |
0 |
not $slot->{'result'}->snippet and $r->snippet |
|
352
|
0 |
0 |
2 |
$futs and @$futs |
|
380
|
4 |
1 |
2 |
$fetch_cap and $fetch_started < $fetch_cap |
|
425
|
0 |
0 |
2 |
$futs and @$futs |
| line |
l |
!l |
condition |
|
28
|
0 |
21 |
delete $args->{'default_limit'} // 10 |
|
29
|
0 |
21 |
delete $args->{'per_provider_limit'} // 10 |
|
30
|
0 |
21 |
delete $args->{'fetch_concurrency'} // 100 |
|
32
|
0 |
21 |
delete $args->{'fetch_concurrency_per_target_ip'} // 5 |
|
93
|
2 |
0 |
$self->{'fetch_concurrency_per_target_ip'} // 5 |
|
153
|
0 |
12 |
$args{'accept'} // "*/*" |
|
204
|
6 |
0 |
($args{'fetch_concurrency'} // $self->{'fetch_concurrency'}) // 100 |
|
243
|
1 |
29 |
$args{'provider_opts'} || {} |
|
267
|
3 |
26 |
$args{'mode'} ||= "collect" |
|
298
|
7 |
63 |
$agg{$key} ||= {"result", $r, "score", 0, "providers", {}} |
|
359
|
1 |
1 |
$args{'fetch'} // 0 |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
27
|
0 |
21 |
0 |
delete $args->{'rrf_k'} // $RRF_K |
|
152
|
1 |
0 |
11 |
$args{'user_agent'} // $self->{'fetch_user_agent'} |
|
|
0 |
11 |
0 |
($args{'user_agent'} // $self->{'fetch_user_agent'}) // 'Net-Async-WebSearch/' . $VERSION |
|
204
|
0 |
6 |
0 |
$args{'fetch_concurrency'} // $self->{'fetch_concurrency'} |
|
210
|
0 |
0 |
6 |
$args{'fetch_timeout'} // $self->{'fetch_timeout'} |
|
|
1 |
0 |
5 |
$args{'fetch_max_bytes'} // $self->{'fetch_max_bytes'} |
|
|
1 |
0 |
5 |
$args{'fetch_user_agent'} // $self->{'fetch_user_agent'} |
|
241
|
0 |
30 |
0 |
$args{'per_provider_limit'} // $self->per_provider_limit |
|
275
|
3 |
23 |
0 |
$args{'limit'} // $self->default_limit |
|
367
|
0 |
0 |
2 |
$args{'fetch_timeout'} // $self->{'fetch_timeout'} |
|
|
0 |
0 |
2 |
$args{'fetch_max_bytes'} // $self->{'fetch_max_bytes'} |
|
|
0 |
0 |
2 |
$args{'fetch_user_agent'} // $self->{'fetch_user_agent'} |
|
428
|
0 |
2 |
0 |
$args{'limit'} // $self->default_limit |