Branch Coverage

blib/lib/Net/ICAP/Request.pm
Criterion Covered Total %
branch 29 58 50.0


line true false branch
57 1 10 if exists $args{'method'}
58 1 10 if exists $args{'url'} and $rv
87 6 11 defined $method ? :
93 6 11 if (defined $method) { }
96 6 0 if (grep {$_ eq $method;} $obj->property('_valid_methods')) { }
107 17 0 defined $rv ? :
123 6 17 defined $url ? :
129 6 17 if (defined $url) { }
140 23 0 defined $rv ? :
160 0 0 if (defined $url and length $url)
165 0 0 defined $rv ? :
185 0 0 if (defined $url and length $url)
190 0 0 defined $rv ? :
212 0 0 if (defined $url and length $url)
216 0 0 if (defined $qname and length $qname)
222 0 0 defined $rv ? :
240 0 11 unless (defined $t and length $t)
246 0 11 unless (defined $t and length $t)
252 0 11 unless (defined $t and length $t)
258 0 11 unless (defined $t and length $t)
263 0 11 unless $rv
264 0 11 unless $rv
277 10 0 defined $input ? :
284 10 0 if (defined $input)
293 5 5 if ($rv)
303 5 0 if $rv
307 0 10 unless defined $rv
327 6 0 if (defined $url)
332 6 0 if ($obj->sanityCheck)