Branch Coverage

blib/lib/Plient/Handler/wget.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
23 0 0 if ($args and $$args{'content_type'} and $$args{'content_type'} =~ /form-data/)
35 0 0 if $inited
39 0 0 unless $wget
46 0 0 if ($message and $message =~ /HTTPS support not compiled in/i)
55 0 0 if (open my $fh, "$wget -q -O - $headers $auth '${uri}' |") { }
71 0 0 if ($$args{'body_array'})
76 0 0 defined $$body[$i + 1] ? :
81 0 0 if (open my $fh, "$wget -q -O - $data $headers $auth '${uri}' |") { }
96 0 0 if (open my $fh, "$wget -S --spider $headers $auth '${uri}' 2>&1 |") { }
101 0 0 if ($line =~ /^\s{2}HTTP/)
105 0 0 if ($flag)
106 0 0 if ($line =~ s/^\s{2}(?=\S)//) { }
123 0 0 if (exists $protocol{'https'})
125 0 0 if exists $method{"http_$m"}
136 0 0 unless $headers
147 0 0 if ($$args{'user'} and defined $$args{'password'})
149 0 0 if ($method eq 'basic') { }