Branch Coverage

blib/lib/Anansi/Script/CGI.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
67 0 0 if 0 != scalar @_
68 0 0 unless defined $$self{'CONTENTS'}
69 0 0 if 0 == scalar @_
71 0 0 if 0 < scalar @_
72 0 0 unless defined $content
73 0 0 unless ref($content) =~ /^$/
135 0 0 if 0 < scalar @_
136 0 0 if (0 == scalar @_) { }
0 0 elsif (1 == scalar @_) { }
0 0 elsif (1 == scalar(@_) % 2) { }
137 0 0 unless defined $$self{'HEADERS'}
141 0 0 unless defined $$self{'HEADERS'}
142 0 0 unless defined ${$$self{'HEADERS'};}{$name}
149 0 0 if (not defined ${$$self{'HEADERS'};}{$name}) { }
0 0 elsif (ref($parameters{$name}) =~ /^$/) { }
0 0 elsif (ref($parameters{$name}) =~ /^ARRAY$/i) { }
0 0 elsif (ref($parameters{$name}) =~ /^HASH$/i) { }
153 0 0 unless ref($value) =~ /^$/
157 0 0 if (defined ${$parameters{$name};}{$value})
158 0 0 unless ref(${$parameters{$name};}{$value}) =~ /^$/
166 0 0 if (not defined ${$$self{'HEADERS'};}{$name}) { }
0 0 elsif (ref($parameters{$name}) =~ /^$/) { }
0 0 elsif (ref($parameters{$name}) =~ /^ARRAY$/i) { }
0 0 elsif (ref($parameters{$name}) =~ /^HASH$/i) { }
176 0 0 unless ref(${$$self{'HEADERS'};}{$name}) =~ /^HASH$/i
178 0 0 if (not defined ${$parameters{$name};}{$value}) { }
179 0 0 if defined ${${$$self{'HEADERS'};}{$name};}{$value}
226 0 0 unless defined $$self{'HEADERS'}
244 0 0 unless defined $$self{'PARAMETERS'}
271 0 0 if 0 < scalar @_
312 0 0 if 0 < scalar @_
313 0 0 if (0 == scalar @_) { }
0 0 elsif (1 == scalar @_) { }
0 0 elsif (1 == scalar(@_) % 2) { }
314 0 0 unless defined $$self{'PARAMETERS'}
318 0 0 unless defined $$self{'PARAMETERS'}
319 0 0 unless defined ${$$self{'PARAMETERS'};}{$name}
326 0 0 if (defined ${$$self{'PARAMETERS'};}{$name}) { }
349 0 0 if 0 == scalar keys %{$$self{'HEADERS'};}
351 0 0 if (ref(${$$self{'HEADERS'};}{$header}) =~ /^$/) { }
0 0 elsif (ref(${$$self{'HEADERS'};}{$header}) =~ /^ARRAY$/i) { }
0 0 elsif (ref(${$$self{'HEADERS'};}{$header}) =~ /^HASH$/i) { }
384 0 0 if 0 < scalar @_
385 0 0 unless defined $ENV{'HTTP_HOST'}
388 0 0 if defined $CGI->http('SOAPAction')