line |
true |
false |
branch |
136
|
0 |
0 |
if $DEBUG
|
140
|
0 |
0 |
if (scalar @args < 1) { }
|
|
0 |
0 |
elsif (scalar @args == 1 and $ENABLE_DEPRECATED_COMPATIBILITY_MODE) { }
|
145
|
0 |
0 |
if $DEBUG
|
146
|
0 |
0 |
if (is_url($self, $args[0])) { }
|
147
|
0 |
0 |
unless parse_url($self, $args[0])
|
148
|
0 |
0 |
unless _load_network_module($self)
|
155
|
0 |
0 |
if $DEBUG
|
158
|
0 |
0 |
if (exists $args{'host'} and exists $args{'config'} && ref $args{'config'} eq 'Slackware::Slackget::Config' || defined $args{'download_directory'}) { }
|
160
|
0 |
0 |
if defined $args{'download_directory'}
|
161
|
0 |
0 |
if $DEBUG
|
162
|
0 |
0 |
unless parse_url($self, $args{'host'})
|
163
|
0 |
0 |
if $DEBUG
|
164
|
0 |
0 |
unless _load_network_module($self)
|
165
|
0 |
0 |
if $DEBUG
|
167
|
0 |
0 |
if (defined $args{'InlineStates'} and ref $args{'InlineStates'} eq 'HASH') { }
|
170
|
0 |
0 |
if $DEBUG
|
171
|
0 |
0 |
unless (exists $self->{'InlineStates'}{$_} and defined $self->{'InlineStates'}{$_})
|
190
|
0 |
0 |
if $self->can('__init_subclass')
|
222
|
0 |
0 |
if (defined $self and $self->can('_validate_url'))
|
223
|
0 |
0 |
if ($self->_validate_url($url))
|
227
|
0 |
0 |
if ($url =~ m[file://(.+)]) { }
|
|
0 |
0 |
elsif ($url =~ m[^(.+)://([^/]+){1}(/.*)?$]) { }
|
263
|
0 |
0 |
unless defined $url
|
264
|
0 |
0 |
if ($url =~ m[file://(.+)]) { }
|
|
0 |
0 |
elsif (my(@tmp) = $url =~ m[^(.+)://([^/]+){1}(/.*)?$]) { }
|
268
|
0 |
0 |
if $DEBUG
|
270
|
0 |
0 |
if (defined $self->{'DATA'}{'file'} and $self->{'DATA'}{'file'} =~ m[^(.+/)([^/]*)$]i)
|
274
|
0 |
0 |
if ($DEBUG)
|
279
|
0 |
0 |
unless $self->{'DATA'}{'path'}
|
286
|
0 |
0 |
if ($DEBUG)
|
292
|
0 |
0 |
if (defined $self->{'DATA'}{'file'} and $self->{'DATA'}{'file'} =~ m[^(.*/)([^/]*)$]i)
|
317
|
0 |
0 |
if ($url =~ m[/{2,}]) { }
|
333
|
0 |
0 |
if $DEBUG
|
335
|
0 |
0 |
if ($@) { }
|
341
|
0 |
0 |
if $DEBUG
|
342
|
0 |
0 |
unless $self->_check_driver_support_methods
|
350
|
0 |
0 |
unless $self->can($_)
|
351
|
0 |
0 |
if $DEBUG
|
360
|
0 |
0 |
unless defined $self->{'DATA'}{$_}
|
416
|
0 |
0 |
if (defined $content) { }
|
460
|
0 |
0 |
if ($status->current > 0) { }
|
481
|
0 |
0 |
unless $self->fetch_file($_)
|
517
|
0 |
0 |
$_[1] ? :
|
529
|
0 |
0 |
$_[1] ? :
|
541
|
0 |
0 |
$_[1] ? :
|
553
|
0 |
0 |
$_[1] ? :
|
565
|
0 |
0 |
$_[1] ? :
|
578
|
0 |
0 |
if (defined $dir and -e $dir)
|
584
|
0 |
0 |
if (defined $self->{'DATA'}{'download_directory'} and -e $self->{'DATA'}{'download_directory'}) { }
|
|
0 |
0 |
elsif (defined $self->{'DATA'}{'config'}) { }
|
608
|
0 |
0 |
if (defined $val) { }
|