Condition Coverage

blib/lib/Catalyst/Engine/Apache.pm
Criterion Covered Total %
condition 1 42 2.3


and 3 conditions

line !l l&&!r l&&r condition
14 1 0 0 exists $ENV{'MOD_PERL_API_VERSION'} && $ENV{'MOD_PERL_API_VERSION'} >= 2
58 0 0 0 defined $https and uc $https eq 'ON'
113 0 0 0 $location and $location ne '/'
163 0 0 0 defined $ENV{'SCRIPT_NAME'} and $self->apache->filename
0 0 0 defined $ENV{'SCRIPT_NAME'} and $self->apache->filename and -f $self->apache->filename
0 0 0 defined $ENV{'SCRIPT_NAME'} and $self->apache->filename and -f $self->apache->filename and -x _
170 0 0 0 $base_path ne '/' and $base_path ne $path
0 0 0 $base_path ne '/' and $base_path ne $path and $base_path =~ m[/$path]
218 0 0 0 $c->response->header('Set-Cookie') and $c->response->status >= 400
242 0 0 0 not $self->apache->connection->aborted and defined $buffer

or 2 conditions

line l !l condition
85 0 0 $self->apache->hostname || 'localhost'
151 0 0 $base_match || ''
229 0 0 $c->response->header('Content-Type') || 'text/html'

or 3 conditions

line l !l&&r !l&&!r condition
120 0 0 0 $port =~ /^(?:80|443)$/ or $host =~ /:/
227 0 0 0 $self->return || $self->ok_constant