Branch Coverage

blib/lib/Slackware/Slackget/Network/Connection/HTTP.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
53 0 0 unless is_url($self, $url)
80 0 0 if $self->{'DATA'}{'path'}
86 0 0 unless my(@head) = &head($server)
102 0 0 unless defined $remote_file
133 0 0 unless defined $remote_file
134 0 0 unless (defined $local_file)
135 0 0 if (defined $self->{'DATA'}{'download_directory'} and -e $self->{'DATA'}{'download_directory'}) { }
0 0 elsif (defined $self->{'DATA'}{'config'}) { }
162 0 0 if (&is_success($ret_code)) { }
168 0 0 if (&HTTP::Status::is_server_error($ret_code)) { }
0 0 elsif (&HTTP::Status::is_client_error($ret_code)) { }
0 0 elsif (&HTTP::Status::is_redirect($ret_code)) { }
203 0 0 unless $self->fetch_file($_)