Branch Coverage

blib/lib/CGI/Deurl.pm
Criterion Covered Total %
branch 8 54 14.8


line true false branch
248 0 0 if $pkg
251 0 0 if (ref $query{$key}) { }
272 1 0 if (defined $_[0])
273 0 1 if ($_[0] =~ /^&=(.+)$/)
274 1 0 if $_[0] eq 'NOTCGI' or $_[0] eq 'NOCGI'
275 0 0 if ($_[0] =~ /^&=(.+)$/)
283 0 0 if (defined $ENV{'REQUEST_METHOD'} and $ENV{'REQUEST_METHOD'} eq 'POST') { }
0 0 elsif (defined $ENV{'REQUEST_METHOD'} and $ENV{'REQUEST_METHOD'} eq 'GET') { }
0 0 elsif (defined $ENV{'REQUEST_METHOD'}) { }
0 0 elsif ($#ARGV >= 0) { }
285 0 0 if ($ENV{'QUERY_STRING'})
297 0 0 $^O eq 'MSWin32' ? :
305 0 0 unless defined $data and $data ne ''
310 0 0 if (lc $_[$i] eq 'lc') { }
0 0 elsif (lc $_[$i] eq 'uc') { }
0 0 elsif (lc $_[$i] eq 'as') { }
0 0 elsif (lc $_[$i] eq 'export') { }
0 0 elsif ($_[$i] =~ /^join$/i) { }
328 0 0 if (ref $_[++$i] eq 'ARRAY') { }
341 0 3 unless $data and ref $hash eq 'HASH'
353 6 6 if ($#res <= 0) { }
359 0 12 unless $value ne ''
367 0 12 if ($$hash{$name}) { }
368 0 0 if (ref $$hash{$name}) { }
404 0 0 if (@_ == 1)
409 0 0 if (ref $value eq 'ARRAY')
411 0 0 if ($join = $joins{$key} or $join = $joins{'-all'})