line |
true |
false |
branch |
35
|
2 |
24 |
if -f $root->to_string |
38
|
13 |
11 |
if ref $handler eq 'CODE' |
40
|
11 |
13 |
if (-f $path) { } |
|
13 |
0 |
elsif (-d $path) { } |
41
|
0 |
11 |
unless $c->tx->res->code |
44
|
1 |
12 |
if ($index and my $file = locate_index($index, $path)) |
47
|
11 |
1 |
if ($auto_index) |
48
|
11 |
0 |
unless $c->tx->res->code |
64
|
1 |
0 |
ref $index eq 'ARRAY' ? : |
67
|
1 |
0 |
if -e $path |
81
|
8 |
3 |
$c->req->url eq '/' ? : |
93
|
4 |
7 |
if $enable_json |
104
|
0 |
11 |
unless $dir |
109
|
22 |
128 |
if $ent eq '.' or $ent eq '..' |
121
|
14 |
114 |
if ($is_dir) |
126
|
14 |
114 |
$is_dir ? : |
145
|
6 |
108 |
unless $_[0] =~ /\.([0-9a-zA-Z]+)$/ |