| line |
true |
false |
branch |
|
26
|
0 |
2 |
if defined setting("route_cache_size_limit") |
|
28
|
0 |
2 |
if defined setting("route_cache_path_limit") |
|
42
|
3 |
0 |
if ($limit) |
|
51
|
3 |
0 |
if ($limit) |
|
61
|
8 |
0 |
if ($size =~ /^(\d+)(K|M|G)?$/i) |
|
63
|
7 |
1 |
if (my $ext = $2) |
|
64
|
2 |
5 |
if $ext eq "K" |
|
65
|
4 |
1 |
if $ext eq "M" |
|
66
|
1 |
0 |
if $ext eq "G" |
|
76
|
0 |
96 |
unless $method and $path |
|
79
|
12 |
84 |
unless defined $app_name |
|
87
|
0 |
548 |
unless $method and $path and $route |
|
90
|
500 |
48 |
unless defined $app_name |
|
96
|
548 |
0 |
if (my $limit = $self->size_limit) |
|
103
|
48 |
500 |
if (my $limit = $self->path_limit) |
|
139
|
65 |
0 |
$self->{'cache'} ? : |