Branch Coverage

blib/lib/Apache/ASP/Request.pm
Criterion Covered Total %
branch 12 84 14.2


line true false branch
30 0 69 if (&config($asp, 'AuthServerVariables'))
31 0 0 if (defined $r->get_basic_auth_pw)
47 0 69 if ($$self{'Method'} eq 'POST' and $request_binary_read)
48 0 0 defined $ENV{'CONTENT_LENGTH'} ? :
49 0 0 if ($headers_in->get('Content-Type') =~ m[^multipart/form-data]) { }
53 0 0 if ($$asp{'file_upload_process'}) { }
54 0 0 if ($$asp{'file_upload_temp'} = &config($asp, 'FileUploadTemp')) { }
60 0 0 if ($@)
69 0 0 if ($$asp{'file_upload_max'} = &config($asp, 'FileUploadMax'))
70 0 0 if ($$self{'TotalBytes'} > $$asp{'file_upload_max'})
76 0 0 if $$asp{'dbg'}
85 0 0 @params > 1 ? :
86 0 0 if (ref $form{$_} eq 'Fh')
88 0 0 if $$asp{'win32'}
90 0 0 if ($$asp{'file_upload_temp'})
100 0 0 if $$asp{'dbg'}
112 0 0 if (my $len = $$self{'TotalBytes'})
117 0 0 if ($headers_in->get('Content-Type') =~ m[^application/x-www-form-urlencoded]) { }
131 2 67 $query ? :
134 0 69 if (&config($asp, 'RequestParams'))
140 0 69 if (my $cookie = $headers_in->get('Cookie'))
146 0 0 if $name eq $Apache::ASP::SessionCookieName
147 0 0 if $cookies{$name}
149 0 0 $value =~ /\=/ ? :
161 0 91 if ($$self{'cgi'})
170 0 0 if ($$upload{'FileHandle'})
205 1 0 unless $$self{'Params'}
213 0 0 unless $$self{'TotalBytes'}
215 0 0 if (ref tied *STDIN and tied(*STDIN)->isa('Apache::ASP::Request')) { }
216 0 0 if ($$self{'TotalBytes'}) { }
217 0 0 if (defined $length) { }
226 0 0 unless defined $length
229 0 0 if (not $ENV{'MOD_PERL'}) { }
231 0 0 if $$asp{'dbg'}
234 0 0 if $$asp{'dbg'}
243 0 0 if (not $name) { }
0 0 elsif ($key) { }
250 0 0 if (ref $cookie and wantarray) { }
262 2 1 if ref $string
265 0 3 unless defined $string
279 0 3 if (defined $params{$key}) { }
282 0 0 if (ref $collect) { }