Branch Coverage

blib/lib/Apache/ASP/CGI.pm
Criterion Covered Total %
branch 17 26 65.4


line true false branch
19 8 2 if (defined $class)
20 2 6 if (ref $class or $class =~ /Apache::ASP::CGI/) { }
55 12 5 unless ($StructsDefined)
89 0 17 if (defined $ENV{'GATEWAY_INTERFACE'} and $ENV{'GATEWAY_INTERFACE'} =~ /^CGI/) { }
114 0 1122 if ($env_key =~ /^HTTP_(.+)$/ or $env_key =~ /^(CONTENT_TYPE|CONTENT_LENGTH)$/)
123 17 0 unless defined $self->dir_config->get('NoState')
130 17 0 unless $self->env('SCRIPT_NAME')
147 6 0 if (defined $status) { }
165 0 40 if $k =~ /^content\-type$/i
166 1 39 if (ref $v) { }
191 0 1 if ($name =~ /content-type/i) { }
205 0 16 ref($_) =~ /SCALAR/ ? :
211 0 18 if (wantarray) { }