| line |
true |
false |
branch |
|
146
|
0 |
0 |
unless (-d $dir) |
|
147
|
0 |
0 |
unless (mkdir $dir) |
|
166
|
0 |
238 |
if ($self->cache and $self->mirror) { } |
|
179
|
0 |
0 |
unless unlink $filename |
|
189
|
0 |
0 |
if ($response->is_success) |
|
193
|
0 |
0 |
if ($content_type) { } |
|
211
|
0 |
0 |
if ($self->cache and -e $filename) { } |
|
|
0 |
0 |
elsif ($self->mirror) { } |
|
216
|
0 |
0 |
if ($response->is_success) { } |
|
|
0 |
0 |
elsif ($response->code == 304) { } |
|
224
|
0 |
0 |
if ($response->is_success) |
|
229
|
0 |
0 |
if (defined $downloaded) { } |
|
230
|
0 |
0 |
$downloaded ? : |
|
265
|
0 |
0 |
@args ? : |
|
277
|
0 |
0 |
unless $split |
|
282
|
0 |
0 |
unless $content_type |
|
284
|
0 |
0 |
if ({application/octet-stream => 1, binary/octet-stream => 1, text/plain => 1}->{$content_type}) |
|
286
|
0 |
0 |
if (not defined $query and $path and $path =~ /.(\.(?:(tar\.(?:bz|bz2|gz|lzo|Z))|(?:[ch]\+\+)|(?:\w+)))$/i) |
|
291
|
0 |
0 |
unless ($extension) |
|
295
|
0 |
0 |
if (@extensions) |
|
308
|
393 |
860 |
if ($url =~ m[^[a-zA-Z][\w+]*://]) |
|
311
|
393 |
0 |
if ($scheme and $domain || $path) |
|
319
|
0 |
1062 |
if ($self->verbose) |
|
321
|
0 |
0 |
@args ? : |
|
336
|
23 |
210 |
unless ($self->keep) |
|
340
|
0 |
233 |
if ($error) { } |
|
354
|
0 |
2839 |
m[[^0-9A-Za-z+,./:=\@_-]] ? : |
|
382
|
0 |
0 |
$self->has_directory ? : |
|
389
|
0 |
0 |
if (-s $index_file) { } |
|
419
|
0 |
0 |
if ($self->has_directory) { } |
|
425
|
0 |
0 |
if ($extension) |
|
463
|
0 |
291 |
unless ($parsed) |
|
477
|
13 |
1253 |
if ($self->has_separator and $arg eq $self->separator) { } |
|
|
393 |
860 |
elsif ($self->is_url($arg)) { } |
|
481
|
276 |
117 |
unless ($seen_url) |
|
500
|
0 |
291 |
unless (@command) |
|
519
|
159 |
132 |
if (@$resolve == 1) { } |
|
|
117 |
15 |
elsif (@$resolve) { } |
|
537
|
0 |
211 |
if ($error) { } |
|
|
211 |
0 |
elsif ($test) { } |