line |
true |
false |
branch |
41
|
14 |
0 |
unless ($c->stash("format")) |
55
|
6 |
8 |
if (not defined $xrd && ref $xrd) { } |
|
6 |
2 |
elsif ($c->param('rel')) { } |
58
|
6 |
0 |
if $res |
68
|
7 |
7 |
$c->req->method eq 'HEAD' ? : |
111
|
2 |
0 |
unless (exists $mojo->renderer->helpers->{'new_xrd'}) |
127
|
1 |
0 |
unless $resource->host |
130
|
0 |
0 |
if ($_[0] and ref $_[0] and ref $_[0] eq "HASH") |
137
|
0 |
0 |
if $prot and $prot eq "https" |
140
|
0 |
0 |
if ref $_[-1] and ref $_[-1] eq "CODE" |
144
|
0 |
0 |
if $_[0] and ref $_[0] eq "ARRAY" |
147
|
0 |
0 |
$secure ? : |
156
|
0 |
0 |
unless $resource->scheme |
162
|
0 |
0 |
unless ($cb) |
169
|
0 |
0 |
unless $xrd_res = $tx->success |
171
|
0 |
0 |
unless ($xrd_res->is_success) |
174
|
0 |
0 |
if $secure |
177
|
0 |
0 |
if $resource->protocol eq "http" |
189
|
0 |
0 |
unless $xrd_res = $tx->success |
192
|
0 |
0 |
unless $xrd_res->is_success |
196
|
0 |
0 |
unless $xrd = $h->new_xrd($xrd_res->body) |
199
|
0 |
0 |
if $rel |
202
|
0 |
0 |
if wantarray |
219
|
0 |
0 |
if (my $xrd_res = $tx->success) { } |
222
|
0 |
0 |
if ($xrd_res->is_success) |
225
|
0 |
0 |
unless $xrd = $h->new_xrd($xrd_res->body) |
228
|
0 |
0 |
if $rel |
235
|
0 |
0 |
if $secure |
244
|
0 |
0 |
if $resource->protocol eq "http" |
261
|
0 |
0 |
if (my $xrd_res = (pop())->success) |
264
|
0 |
0 |
unless $xrd = $h->new_xrd($xrd_res->body) |
267
|
0 |
0 |
if $rel |
280
|
0 |
0 |
unless "Mojo::IOLoop"->is_running |