| line |
true |
false |
branch |
|
30
|
1 |
0 |
$opts ? : |
|
34
|
0 |
1 |
unless $self->backend |
|
42
|
0 |
37 |
unless $$opts{'key'} |
|
43
|
0 |
37 |
unless $$opts{'builder'} |
|
50
|
35 |
2 |
if ($entry) { } |
|
51
|
33 |
2 |
if ($$entry{'value'} and not $$opts{'force'}) |
|
54
|
27 |
6 |
if ($$entry{'_no_write'} or $at < $expires_at) |
|
89
|
7 |
3 |
if $$entry{'expires_in'} |
|
112
|
10 |
0 |
if (not $params{'check_interval'} or ($$entry{'last_check_at'} || 0) + $params{'check_interval'} <= $now) |
|
116
|
0 |
10 |
if $self->check_interval |
|
122
|
5 |
5 |
if ($decision > 0) { } |
|
|
4 |
1 |
elsif ($decision < 0) { } |
|
123
|
3 |
2 |
if ($$entry{'expires_in'}) { } |
|
131
|
3 |
1 |
if ($$entry{'expires_in'}) |
|
132
|
2 |
1 |
if ($$entry{'expires_in'} > $params{'expires_min'}) { } |
|
143
|
7 |
3 |
$$entry{'expires_in'} ? : |