blib/lib/Crypt/OdinAuth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 12 | 83.3 |
line | true | false | branch |
---|---|---|---|
48 | 0 | 16 | if ($ua =~ /AppleWebKit/) |
67 | 5 | 3 | unless defined $ts |
84 | 0 | 6 | unless $cookie =~ /^\s*([a-zA-Z0-9_-]+),([a-zA-Z0-9_-]+),(\d+),([0-9a-f]+)\s*$/ |
101 | 2 | 4 | if $hmac_received->digest ne $hmac_calculated->digest |
104 | 1 | 3 | if $ts < time - 86400 |
107 | 1 | 2 | if $ts > time + 300 |