| blib/lib/SignalWire/Agents/Security/SessionManager.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 26 | 46.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 33 | 0 | 0 | 371 | defined $read and $read == $len |
| 86 | 1 | 0 | 11 | $call_id and $function_name |
| 1 | 2 | 9 | $call_id and $function_name and $token | |
| 159 | 0 | 0 | 1 | defined $expiry && !$expired |
| line | l | !l | condition |
|---|---|---|---|
| 138 | 0 | 0 | $@ // "decode failed" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 52 | 1 | 1 | 0 | $call_id //= _random_urlsafe(16) |
| 92 | 0 | 0 | 9 | $@ or not $decoded |
| 104 | 0 | 0 | 7 | $@ or not defined $expiry |
| 136 | 0 | 0 | 2 | $@ or not $decoded |