Branch Coverage

blib/lib/Plient/Handler/curl.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
21 0 0 if $inited
25 0 0 unless $curl
26 0 0 if ($curl_config) { }
27 0 0 if (my $out = `$curl_config --protocols`) { }
40 0 0 if (exists $protocol{'http'})
45 0 0 if $ENV{'PLIENT_DEBUG'}
46 0 0 if (open my $fh, "$curl -k -s -L $headers $auth '${uri}' |") { }
65 0 0 if ($$args{'content_type'} and $$args{'content_type'} =~ /form-data/) { }
73 0 0 if ($$args{'body_array'})
78 0 0 defined $$body[$i + 1] ? :
80 0 0 if (ref $value eq 'HASH' and $$value{'file'}) { }
91 0 0 if $ENV{'PLIENT_DEBUG'}
92 0 0 if (open my $fh, "$curl -s -L $data $headers $auth '${uri}' |") { }
105 0 0 if $ENV{'PLIENT_DEBUG'}
106 0 0 if (open my $fh, "$curl -s -I -L $headers $auth '${uri}' |") { }
119 0 0 if (exists $protocol{'https'})
121 0 0 if exists $method{"http_$m"}
131 0 0 unless $headers
143 0 0 if ($$args{'user'} and defined $$args{'password'})
145 0 0 if ($method eq 'basic') { }