| lib/Concierge/Sessions/Session.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 18 | 77.7 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 0 | 62 | unless ($create_result->{'success'}) |
| 21 | 0 | 62 | unless ($get_result->{'success'}) |
| 63 | 4 | 14 | unless ($dirty) |
| 70 | 1 | 13 | if (defined $timeout and $timeout eq 'indefinite') { } |
| 88 | 0 | 14 | unless ($result->{'success'}) |
| 101 | 4 | 1 | $self->is_active && !$self->is_expired ? : |
| 108 | 9 | 0 | $state eq 'active' ? : |
| 114 | 4 | 9 | if $self->{'expires_at'} eq "indefinite" |
| 115 | 3 | 6 | &Concierge::Sessions::Session::time() > $self->{'expires_at'} ? : |