Branch Coverage

blib/lib/Crypt/Passphrase/Bcrypt.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
25 0 2 unless $subtype =~ / \A 2 [abxy] \z /x
27 0 2 if length $args{'hash'} and not $supported_prehash{$args{'hash'}}
30 0 2 ref $check ? :
31 0 2 unless defined $checker
44 2 1 if (not $self->{'hash'} and $self->{'checker'} != \&Crypt::Passphrase::Bcrypt::ignore)
46 1 1 if ($length > 72)
49 0 1 if ($password =~ /\0/)