Branch Coverage

blib/lib/Authen/Passphrase/MySQL323.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
92 2 4 if ($attr eq 'hash') { }
3 1 elsif ($attr eq 'hash_hex') { }
1 0 elsif ($attr eq 'passphrase') { }
93 0 2 if exists $$self{'hash'} or defined $passphrase
96 0 2 unless $value =~ /\A(?:[\x00-\x7f][\x00-\xff]{3}){2}\z/
100 0 3 if exists $$self{'hash'} or defined $passphrase
103 0 3 unless $value =~ /\A(?:[0-7][0-9A-Fa-f]{7}){2}\z/
108 0 1 if exists $$self{'hash'} or defined $passphrase
116 1 5 if defined $passphrase
117 0 6 unless exists $$self{'hash'}