Branch Coverage

blib/lib/Apache/ASP/Request.pm
Criterion Covered Total %
branch 6 84 7.1


line true false branch
30 0 18 if (&config($asp, 'AuthServerVariables'))
31 0 0 if (defined $r->get_basic_auth_pw)
47 0 18 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'})
115 0 0 if ($headers_in->get('Content-Type') eq 'application/x-www-form-urlencoded') { }
129 0 18 $query ? :
132 0 18 if (&config($asp, 'RequestParams'))
138 0 18 if (my $cookie = $headers_in->get('Cookie'))
144 0 0 if $name eq $Apache::ASP::SessionCookieName
145 0 0 if $cookies{$name}
147 0 0 $value =~ /=/ ? :
159 0 24 if ($$self{'cgi'})
168 0 0 if ($$upload{'FileHandle'})
203 0 0 unless $$self{'Params'}
211 0 0 unless $$self{'TotalBytes'}
213 0 0 if (ref tied *STDIN and tied(*STDIN)->isa('Apache::ASP::Request')) { }
214 0 0 if ($$self{'TotalBytes'}) { }
215 0 0 if (defined $length) { }
224 0 0 unless defined $length
227 0 0 if (not $ENV{'MOD_PERL'}) { }
229 0 0 if $$asp{'dbg'}
232 0 0 if $$asp{'dbg'}
241 0 0 if (not $name) { }
0 0 elsif ($key) { }
248 0 0 if (ref $cookie and wantarray) { }
260 0 0 if ref $string
263 0 0 unless defined $string
277 0 0 if (defined $params{$key}) { }
280 0 0 if (ref $collect) { }