Branch Coverage

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


line true false branch
15 6 6 if ($param) { }
2 4 elsif (length $filtered == 16) { }
2 2 elsif (length $filtered == 22) { }
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 25 unless 'Digest::MD5'->require
32 14 11 if ($param eq 'hex') { }
5 6 elsif ($param eq 'base64') { }
5 1 elsif ($param eq 'binary') { }