Branch Coverage

blib/lib/Crypt/Passphrase/Bcrypt/Encrypted.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
35 0 0 unless my($hash_type, $alg, $subtype, $cost, $id, $encoded_salt, $encoded_hash) = $pwhash =~ /$regex/u
54 0 0 unless my($hash_type, $subtype, $cost, $encoded_salt, $encoded_hash) = $input =~ /$unencrypted_regex/u
63 0 0 if (my($hash_type, $alg, $subtype, $id, $cost, $salt, $hash) = _unpack_hash($input)) { }
0 0 elsif (($hash_type, $subtype, $cost, $salt, $hash) = _unpack_raw()) { }
64 0 0 if $id eq $to and $alg eq $self->{'cipher'}
94 0 0 unless my($hash_type, $alg, $subtype, $id, $cost, $salt, $encrypted_hash) = _unpack_hash($pwhash)
110 0 0 if (my($hash_type, $alg, $subtype, $id, $cost, $salt, $encrypted_hash) = _unpack_hash($pwhash)) { }
0 0 elsif ($pwhash =~ /$unencrypted_regex/u) { }
111 0 0 unless my $hash = eval { do { $self->decrypt_hash($alg, $id, $salt, $encrypted_hash) } }