Branch Coverage

lib/Egg/Request.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
54 0 0 unless $ENV{$key}
66 0 0 unless $ENV{'HTTP_HOST'} or $ENV{'SERVER_NAME'}
67 0 0 unless $ENV{'QUERY_STRING'} or $ENV{'REDIRECT_QUERY_STRING'}
87 0 0 unless $r_class->require
101 0 0 $_[0]->method =~ /^GET/i ? :
104 0 0 $_[0]->method =~ /^POST/i ? :
107 0 0 $_[0]->method =~ /^HEAD/i ? :
114 0 0 if (my $max = $e->config->{'max_snip_deep'}) { }
117 0 0 if $max < scalar @$snip
122 0 0 if (my $regexp = $e->config->{'request_path_trim'}) { }
136 0 0 if ($ENV{'REDIRECT_URI'}) { }
141 0 0 if $ENV{'PATH_INFO'}
144 0 0 $path =~ m[^/] ? :
165 0 0 unless 'CGI::Cookie'->fetch
170 0 0 if @_ == 0
171 0 0 $_[0] && exists $$cookie{$_[0]} ? :
177 0 0 unless $cookie->value
182 0 0 defined $_[0] ? :
183 0 0 if (ref $val ne 'ARRAY')
191 0 0 $ENV{'HTTPS'} && lc $ENV{'HTTPS'} eq 'on' || $ENV{'SERVER_PORT'} && $ENV{'SERVER_PORT'} == 443 ? :
197 0 0 $_[0]->secure ? :
209 0 0 if $ENV{'QUERY_STRING'}
216 0 0 unless $ENV{'REMOTE_HOST'} or gethostbyaddr pack('C*', split(/\./, $req->remote_addr, 0)), 2
238 0 0 $code == 200 ? :