Branch Coverage

blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/md5.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
14 6 6 if ($param) { }
2 4 elsif (length $filtered == 16) { }
2 2 elsif (length $filtered == 22) { }
15 3 3 $class->filter($param, $plain) eq $filtered ? :
17 1 1 $class->filter('binary', $plain) eq $filtered ? :
19 1 1 $class->filter('base64', $plain) eq $filtered ? :
21 1 1 $class->filter(undef, $plain) eq $filtered ? :
30 1 17 unless 'Digest::MD5'->require
31 6 11 if ($param eq 'hex') { }
5 6 elsif ($param eq 'base64') { }
5 1 elsif ($param eq 'binary') { }