line |
true |
false |
branch |
116
|
8 |
0 |
$app->can('config') ? : |
118
|
0 |
3 |
unless ($self->can($key)) |
142
|
0 |
8 |
if ($opt->{'base'} and $opt->{'base'} =~ m[^[^/]]) |
148
|
5 |
0 |
m[^/] ? : |
|
5 |
3 |
@{$opt->{'pages'};} ? : |
161
|
0 |
40 |
if $history{$page}{'res'} |
166
|
5 |
35 |
if ($res->is_error) |
167
|
5 |
0 |
unless ($opt->{'quiet'}) |
175
|
5 |
30 |
if ($res->is_redirect) |
186
|
25 |
5 |
if ($type and $type =~ m[^text/html] and my $dom = $res->dom) |
193
|
16 |
42 |
if $url =~ m[^(?:[a-zA-Z]+:|//)] |
195
|
5 |
37 |
if $url =~ /^#/ |
198
|
22 |
15 |
$url =~ m[^/] ? : |
202
|
0 |
37 |
if (my $loc = $history{$path}{'redirect_to'}) { } |
210
|
32 |
5 |
unless ($history{$path}{'res'}) |
225
|
25 |
5 |
$_->[1] =~ m[^text/html] ? : |
234
|
25 |
6 |
if (ref $content eq 'Mojo::DOM') |
240
|
5 |
53 |
if ($opt->{'base'} and $url =~ m[^/]) |
241
|
1 |
4 |
$url eq '/' ? : |
253
|
25 |
6 |
if (ref $content eq 'Mojo::DOM') |
263
|
25 |
6 |
unless ($to =~ m[[.][^/.]+$]) |
268
|
12 |
19 |
if (not -d $dir) { } |
270
|
11 |
1 |
unless $quiet |
273
|
18 |
1 |
unless $quiet |
276
|
29 |
2 |
unless $quiet |