line |
true |
false |
branch |
19
|
6 |
8 |
if $args{'filename'} and not utf8::is_utf8($args{'filename'}) |
20
|
7 |
7 |
if $args{'filepath'} and not utf8::is_utf8($args{'filepath'}) |
28
|
0 |
1 |
if ($args{'format'} and $args{'content_type'}) |
34
|
1 |
13 |
if $args{'format'} |
39
|
9 |
5 |
if (my $filepath = $args{'filepath'}) { } |
|
5 |
0 |
elsif ($args{'data'}) { } |
40
|
0 |
9 |
unless (-f $filepath and -r $filepath) |
68
|
6 |
8 |
if (my $range = $c->req->headers->range) { } |
71
|
6 |
0 |
$size - 1 >= 0 ? : |
74
|
5 |
1 |
if ($range =~ /^bytes=(\d+)-(\d+)?/ and $1 <= $end) { } |
76
|
3 |
2 |
if defined $2 and $2 <= $end |