lib/Web/ComposableRequest/Session.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 15 | 86.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
59 | 4 | 0 | 2 | $self->authenticated and $max_time |
4 | 1 | 1 | $self->authenticated and $max_time and time > $self->updated + $max_time | |
87 | 1 | 1 | 1 | $self->_mid && exists $self->messages->{$self->_mid} |
96 | 1 | 1 | 1 | $mid = $self->_mid and $msg = delete $self->messages->{$mid} |
100 | 0 | 1 | 1 | $mid = $req->query_params->('mid', {'optional', 1}) and $msg = delete $self->messages->{$mid} |