blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/sha1.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 22 | 22 | 100.0 |
line | true | false | branch |
---|---|---|---|
15 | 6 | 6 | if ($param) { } |
2 | 4 | elsif (length $filtered == 20) { } | |
2 | 2 | elsif (length $filtered == 27) { } | |
16 | 3 | 3 | $class->filter($param, $plain) eq $filtered ? : |
18 | 1 | 1 | $class->filter('binary', $plain) eq $filtered ? : |
20 | 1 | 1 | $class->filter('base64', $plain) eq $filtered ? : |
22 | 1 | 1 | $class->filter(undef, $plain) eq $filtered ? : |
31 | 1 | 17 | unless 'Digest::SHA'->require |
32 | 6 | 11 | if ($param eq 'hex') { } |
5 | 6 | elsif ($param eq 'base64') { } | |
5 | 1 | elsif ($param eq 'binary') { } |