line |
true |
false |
branch |
44
|
2 |
24 |
if ($self->decoder) |
46
|
1 |
1 |
ref $self->decoder ? : |
55
|
0 |
5 |
if (eval {
do {
require Mojo::DOM58;
'Mojo::DOM58'->VERSION(1);
1
}
}) { } |
|
0 |
5 |
elsif (eval {
do {
require Mojo::DOM;
require Mojolicious;
'Mojolicious'->VERSION('7.00');
1
}
}) { } |
|
5 |
0 |
elsif (eval {
do {
require HTML::LinkExtor;
1
}
}) { } |
69
|
9 |
17 |
!($self->url =~ /(ftps?|https?|file):/i) ? : |
|
26 |
0 |
unless defined $self->scheme |
75
|
8 |
18 |
if ($self->scheme eq 'https' or $self->scheme eq 'http' and $self->ssl) { } |
|
6 |
12 |
elsif ($self->scheme eq 'http') { } |
|
2 |
10 |
elsif ($self->scheme eq 'ftp') { } |
|
10 |
0 |
elsif ($self->scheme eq 'file') { } |
77
|
1 |
7 |
if ($self->bootstrap_ssl and not _has_ssl()) { } |
|
5 |
2 |
elsif (_has_ssl()) { } |
|
1 |
1 |
elsif (do {
require Alien::Build::Plugin::Fetch::CurlCommand;
'Alien::Build::Plugin::Fetch::CurlCommand'->protocol_ok('https')
}) { } |
100
|
1 |
1 |
if ($ENV{'ftp_proxy'} or $ENV{'all_proxy'}) { } |
102
|
1 |
0 |
$self->scheme =~ /^ftps?/ ? : |
125
|
4 |
9 |
unless (defined $self->url) |
127
|
4 |
0 |
if (defined $meta->prop->{'start_url'}) { } |
137
|
0 |
13 |
if $self->passive |
144
|
13 |
0 |
unless ref $fetch |
152
|
13 |
0 |
if $fetch =~ /^Fetch::(HTTPTiny|LWP|Local|LocalDir|NetFTP|CurlCommand)$/ |
153
|
0 |
13 |
if $fetch eq "Fetch::NetFTP" |
154
|
1 |
12 |
if $self->bootstrap_ssl |
159
|
7 |
6 |
if ($self->version) |
163
|
1 |
6 |
if (defined $self->prefer and ref $self->prefer eq 'CODE') { } |
|
5 |
1 |
elsif ($self->prefer) { } |
172
|
1 |
4 |
defined $self->filter ? : |