Condition Coverage

blib/lib/Dancer2/Plugin/Auth/SAFE.pm
Criterion Covered Total %
condition 7 12 58.3


and 3 conditions

line !l l&&!r l&&r condition
77 0 0 3 defined $uid and defined $timestamp
0 0 3 defined $uid and defined $timestamp and defined $digest
0 1 2 defined $uid and defined $timestamp and defined $digest and $digest eq md5_hex($uid . $timestamp . $plugin->shared_secret)
1 1 1 defined $uid and defined $timestamp and defined $digest and $digest eq md5_hex($uid . $timestamp . $plugin->shared_secret) and _timestamp_deviance($timestamp) < $MAX_TIMESTAMP_DEVIANCE