| line |
true |
false |
branch |
|
89
|
0 |
4 |
$conf->{'table_config'} && $conf->{'migration'} ? : |
|
92
|
0 |
4 |
if $conf->{'dsn'} |
|
97
|
4 |
0 |
unless ($sessions) |
|
99
|
4 |
0 |
if $sessions->can("max_age") |
|
115
|
4 |
40 |
unless $c->sessions and $c->sessions == $sessions |
|
137
|
5 |
2 |
unless $opts and ref $opts eq "HASH" |
|
154
|
0 |
7 |
unless defined $seconds |
|
162
|
0 |
3 |
unless $conf->{'lock'} |
|
166
|
0 |
3 |
if $check_auth->{'result'} == 0 or $check_auth->{'result'} == 3 |
|
168
|
0 |
3 |
if $check_auth->{'result'} == 2 |
|
171
|
0 |
3 |
unless $backend_id |
|
181
|
0 |
3 |
unless ($upd_coolock->{'code'} == 200 and $upd_state->{'code'} == 200) |
|
184
|
0 |
0 |
if $check_auth->{'data'}{'cookie_lock'} |
|
190
|
3 |
0 |
if ref $conf->{'callback'}{'lock'} eq "CODE" |
|
198
|
0 |
3 |
unless $conf->{'lock'} |
|
202
|
0 |
3 |
if $check_auth->{'result'} == 0 or $check_auth->{'result'} == 3 |
|
205
|
0 |
3 |
unless $backend_id |
|
211
|
0 |
3 |
if ($check_auth->{'result'} == 1) |
|
215
|
0 |
3 |
unless $lock_cookie and $stored_lock |
|
217
|
0 |
3 |
unless secure_compare($lock_cookie, $stored_lock) |
|
224
|
0 |
3 |
unless ($upd_coolock->{'code'} == 200 and $upd_state->{'code'} == 200) |
|
230
|
3 |
0 |
if ref $conf->{'callback'}{'unlock'} eq "CODE" |
|
265
|
4 |
26 |
unless $coo |
|
269
|
26 |
0 |
if ($auth_check->{'result'} == 1) |
|
272
|
26 |
0 |
if ($csrf_ok) { } |
|
273
|
26 |
0 |
$conf->{'lock'} ? : |
|
274
|
6 |
20 |
if ($locked) { } |
|
284
|
6 |
0 |
$match ? : |
|
312
|
0 |
2 |
unless $update |
|
314
|
2 |
0 |
ref $update->[1] eq 'ARRAY' ? : |
|
325
|
0 |
0 |
unless ($c->session($conf->{'csrf.name'})) |
|
340
|
2 |
7 |
if $id |
|
358
|
0 |
0 |
if $csrf_header eq $get_csrf |
|
370
|
0 |
7 |
unless $base |
|
371
|
7 |
0 |
if (defined $ttl) |
|
390
|
5 |
0 |
defined $ttl ? : |
|
399
|
2 |
0 |
if ($self->check($app, $conf)) |
|
401
|
2 |
0 |
$csrf_reset ? : |
|
408
|
2 |
0 |
defined $ttl ? : |
|
419
|
4 |
0 |
if (my $cookie = $self->check($app, $conf)) |
|
440
|
0 |
3 |
unless $base |
|
441
|
3 |
0 |
if (defined $ttl) |
|
456
|
3 |
0 |
defined $ttl ? : |
|
465
|
0 |
0 |
unless $self->check($app, $conf) |
|
472
|
3 |
9 |
if ($self->check($app, $conf)) |