line |
true |
false |
branch |
25
|
0 |
1 |
unless ref $self->bitcard |
37
|
0 |
0 |
if ref $_[0] |
44
|
0 |
2 |
if ($self->_req_is_boomerang($req)) { } |
|
0 |
2 |
elsif ($self->_fetch_cookie_data($req, $env)) { } |
|
1 |
1 |
elsif ($self->skip_if and $self->skip_if->($env)) { } |
|
0 |
1 |
elsif (my $on_unauth = $self->on_unauth) { } |
74
|
3 |
0 |
$base =~ m[/$] ? : |
107
|
0 |
0 |
defined $req->cookies->{'bitcard_return_to'} && $req->cookies->{'bitcard_return_to'} ne '-' ? : |
112
|
0 |
0 |
if (my $user = $self->bitcard->verify($req)) { } |
130
|
2 |
0 |
unless $req->cookies->{'bitcard'} |
133
|
0 |
0 |
unless $$user{'username'} |
134
|
0 |
0 |
unless sha1_hex($self->bitcard->api_secret . $$user{'username'}) eq $$user{'_checksum'} |