| line |
true |
false |
branch |
|
112
|
29 |
44 |
if $scope->{'type'} ne "http" |
|
115
|
1 |
43 |
unless ($method eq "GET" or $method eq "HEAD") |
|
123
|
1 |
42 |
if ($path =~ /\0/) |
|
136
|
13 |
83 |
if ($component =~ /^\.{2,}$/) |
|
141
|
5 |
78 |
if ($component =~ /^\./ and $component ne "") |
|
152
|
1 |
23 |
if (-d $file_path) |
|
155
|
1 |
0 |
if (-f $index_path) |
|
162
|
3 |
21 |
unless (-f $file_path and -r $file_path) |
|
169
|
1 |
20 |
unless ($real_path and index($real_path, $root) == 0) |
|
181
|
2 |
18 |
if ($if_none_match and $if_none_match eq $etag) |
|
196
|
17 |
1 |
$self->{'handle_ranges'} ? : |
|
197
|
3 |
15 |
if ($range and $range =~ /bytes=(\d*)-(\d*)/) |
|
199
|
0 |
3 |
if $start eq "" |
|
200
|
0 |
3 |
if $end eq "" or $end >= $size |
|
202
|
0 |
3 |
if ($start > $end or $start >= $size) |
|
222
|
0 |
3 |
if ($method eq 'HEAD') { } |
|
249
|
1 |
14 |
if ($method eq 'HEAD') { } |
|
266
|
6 |
109 |
if lc $h->[0] eq $name |