blib/lib/Apache/AppSamurai/Session/Generate/HMAC_SHA.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 12 | 50.0 |
line | true | false | branch |
---|---|---|---|
33 | 0 | 1 | unless exists $$session{'args'}{'ServerKey'} |
36 | 0 | 1 | unless &checkhash($$session{'args'}{'ServerKey'}) |
38 | 0 | 1 | unless exists $$session{'args'}{'key'} |
39 | 0 | 1 | unless &checkhash($$session{'args'}{'key'}) |
52 | 0 | 1 | unless (&checkhash($$session{'data'}{'_session_id'})) |
61 | 3 | 0 | if ($hash =~ /^[a-fA-F0-9]{$length}$/) |