Branch Coverage

blib/lib/Net/HTTPS/Any.pm
Criterion Covered Total %
branch 12 32 37.5


line true false branch
100 2 0 ref $_[0] ? :
104 0 2 if (exists $opts->{'args'} and ref $opts->{'args'} eq 'HASH') { }
0 4 elsif (exists $opts->{'args'} and ref $opts->{'args'} eq 'ARRAY') { }
116 0 2 if (ref $opts->{'headers'} eq 'HASH')
122 0 2 if (keys %$post_data)
132 0 0 if exists $opts->{'debug'} and $opts->{'debug'}
143 2 0 if $res_code =~ /^(HTTP\S+ )?(.*)/
193 2 0 ref $_[0] ? :
197 2 0 if (exists $opts->{'args'} and ref $opts->{'args'} eq 'HASH') { }
0 0 elsif (exists $opts->{'args'} and ref $opts->{'args'} eq 'ARRAY') { }
203 0 2 if (exists $opts->{'content'})
212 0 2 if (ref $opts->{'headers'} eq 'HASH')
220 0 0 if exists $opts->{'debug'} and $opts->{'debug'}
222 2 0 ref $post_data ? :
225 0 0 if exists $opts->{'debug'} and $opts->{'debug'}
236 2 0 if $res_code =~ /^(HTTP\S+ )?(.*)/