Branch Coverage

blib/lib/ASP4/SimpleCGI.pm
Criterion Covered Total %
branch 14 32 43.7


line true false branch
16 2 5120 if (length $args{'querystring'})
22 0 2 if (exists $params{$k}) { }
24 0 0 if (ref $params{$k}) { }
40 5 5117 if ($args{'body'})
47 3 2 if (keys %$form_info)
56 5 0 if (my $uploads = $body->upload)
61 0 2 unless open my $ifh, '<', $uploads->{$name}{'tempname'}
73 5111 11 if (my $cookie_str = $ENV{'HTTP_COOKIE'})
96 2 1 exists $s->{'uploads'}{$key} ? :
104 0 0 if (defined $key) { }
106 0 0 if (ref $s->{'params'}{$key}) { }
108 0 0 wantarray ? :
129 0 0 if (@_) { }
132 0 0 if (exists $s->{'cookies'}{$name}) { }
160 0 10236 unless defined $todecode
163 0 0 defined $1 ? :