line |
true |
false |
branch |
33
|
0 |
0 |
@_ == 1 ? : |
41
|
0 |
0 |
unless defined $name |
46
|
0 |
0 |
defined $aliases ? : |
|
0 |
0 |
$aliases eq 'AUTO' ? : |
|
0 |
0 |
ref $aliases eq 'ARRAY' ? : |
60
|
0 |
0 |
ref $dirs eq 'ARRAY' ? : |
64
|
0 |
0 |
ref $proxies eq 'ARRAY' ? : |
71
|
0 |
0 |
unless $dirs |
73
|
0 |
0 |
if ref $dirs eq 'HASH' |
76
|
0 |
0 |
if $dirs->isa('Any::Daemon::HTTP::UserDirs') |
85
|
0 |
0 |
unless $docroot |
87
|
0 |
0 |
unless 'File::Spec'->file_name_is_absolute($docroot) |
91
|
0 |
0 |
unless -d $docroot |
109
|
0 |
0 |
if $3 |
110
|
0 |
0 |
if $1 ne $2 |
111
|
0 |
0 |
if $1 ne $2 and $3 |
119
|
0 |
0 |
if @_ == 1 and not defined $_[0] |
123
|
0 |
0 |
ref $_[0] eq 'HASH' ? : |
|
0 |
0 |
@_ > 1 ? : |
129
|
0 |
0 |
unless substr($k, 0, 1) eq '/' |
134
|
0 |
0 |
unless (ref $v) |
136
|
0 |
0 |
unless $self->can($method) |
153
|
0 |
0 |
ref $_[0] ? : |
|
0 |
0 |
@_ > 1 ? : |
158
|
0 |
0 |
if $handler |
162
|
0 |
0 |
if (my $handler = $h->{'/'}) |
176
|
0 |
0 |
if (my $redir = $self->mustRedirect($new_uri)) |
180
|
0 |
0 |
if ($new_uri ne $uri) |
193
|
0 |
0 |
$source ? : |
194
|
0 |
0 |
if $resp |
198
|
0 |
0 |
unless $resp |
200
|
0 |
0 |
unless &blessed($resp) and $resp->isa('HTTP::Response') |
204
|
0 |
0 |
unless $resp->code eq 200 |
210
|
0 |
0 |
if $has_etag and $has_etag eq $etag |
223
|
0 |
0 |
unless $rew |
224
|
0 |
0 |
if ref $rew eq 'CODE' |
226
|
0 |
0 |
if (ref $rew eq 'HASH') |
229
|
0 |
0 |
unless my $uri = $_[1] |
230
|
0 |
0 |
unless exists $lookup{$uri->path} |
235
|
0 |
0 |
unless (ref $rew) |
237
|
0 |
0 |
if $self->can($rew) |
259
|
0 |
0 |
unless $new_uri and $new_uri ne $uri |
269
|
0 |
0 |
unless $red |
270
|
0 |
0 |
if ref $red eq 'CODE' |
272
|
0 |
0 |
if (ref $red eq 'HASH') |
275
|
0 |
0 |
unless my $uri = $_[1] |
276
|
0 |
0 |
unless exists $lookup{$uri->path} |
281
|
0 |
0 |
unless (ref $red) |
283
|
0 |
0 |
if $self->can($red) |
296
|
0 |
0 |
unless $source |
301
|
0 |
0 |
if (my $old = exists $sources->{$path}) |
318
|
0 |
0 |
$dir ? : |
324
|
0 |
0 |
@_ == 1 && &blessed($_[0]) ? : |
333
|
0 |
0 |
@_ > 1 || index($_[0], '/') == -1 ? : |
336
|
0 |
0 |
if substr($path[0], 0, 1) eq '~' |
341
|
0 |
0 |
if $dir |
346
|
0 |
0 |
$sources->{'/'} ? : |
353
|
0 |
0 |
@_ == 1 && &blessed($_[0]) ? : |
356
|
0 |
0 |
if $proxy->forwardMap |