Branch Coverage

blib/lib/Authen/Passphrase/EggdropBlowfish.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
126 1 9 if ($attr eq 'hash') { }
7 2 elsif ($attr eq 'hash_base64') { }
2 0 elsif ($attr eq 'passphrase') { }
127 0 1 if exists $$self{'hash'} or defined $passphrase
130 0 1 unless $value =~ /\A[\x00-\xff]{8}\z/
134 0 7 if exists $$self{'hash'} or defined $passphrase
137 0 7 unless $value =~ m[\A(?:[./0-9a-zA-Z]{5}[./01]){2}\z]
142 0 2 if exists $$self{'hash'} or defined $passphrase
145 1 1 unless $value ne ''
151 1 8 if defined $passphrase
152 0 9 unless exists $$self{'hash'}