| line |
true |
false |
branch |
|
46
|
32 |
0 |
unless ($^O =~ /^MSWin/u) |
|
59
|
0 |
32 |
if ($^O =~ /^MSWin/u and not $Rex::Commands::Download::has_lwp) |
|
94
|
0 |
0 |
unless ($local) |
|
98
|
0 |
0 |
if (-d $local) |
|
106
|
0 |
0 |
if ($remote =~ m[^(https?|ftp)://]u) { } |
|
122
|
0 |
0 |
unless (is_file($remote)) |
|
127
|
0 |
0 |
unless (is_readable($remote)) |
|
141
|
0 |
0 |
unless open my $fh, ">", $local |
|
151
|
0 |
0 |
if ($Rex::Commands::Download::has_curl) { } |
|
|
0 |
0 |
elsif ($Rex::Commands::Download::has_wget) { } |
|
|
0 |
0 |
elsif ($Rex::Commands::Download::has_lwp) { } |
|
153
|
0 |
0 |
if (exists $option{'user'} and exists $option{'password'}) { } |
|
163
|
0 |
0 |
if (exists $option{'user'} and exists $option{'password'}) { } |
|
175
|
0 |
0 |
if ($resp->is_success) { } |