Branch Coverage

blib/lib/Alien/Build/Plugin/Fetch/CurlCommand.pm
Criterion Covered Total %
branch 14 38 36.8


line true false branch
20 0 4 defined $ENV{'CURL'} ? :
37 0 0 unless defined $curl
58 0 0 if $exit
63 0 0 if ($line =~ /^Protocols:\s*(.*)\s*$/)
66 0 0 if $proto{$protocol}
78 0 1 unless $self->url
80 1 0 if $self->bootstrap_ssl
90 3 0 if ($scheme =~ /^https?$/) { }
104 0 3 if (my $headers = $options{'http_headers'})
106 0 0 if (ref $headers eq 'ARRAY') { }
123 0 3 if $self->_see_headers
129 6 0 /^ab-(.*?)\s*:(.*)$/ ? :
131 0 2 if (-e "head")
139 1 1 if ($type eq 'text/html') { }
213 1 0 if $self->curl_command
226 1 2 if ($err)
230 0 1 if ($stderr =~ /Remote filename has no length/ and not !&any(sub { /^-O$/; } , @command))
233 0 0 /^-J$/ ? :
0 0 /^-O$/ ? :