Condition Coverage

blib/lib/Crypt/Password/StretchedHash.pm
Criterion Covered Total %
condition 16 18 88.8


and 3 conditions

line !l l&&!r l&&r condition
55 9 14 4 exists $params{'format'} and $params{'format'} eq 'hex'
9 0 14 exists $params{'format'} and $params{'format'} eq 'base64'
140 2 1 8 $params{'password_hash'} =~ /\A$delimiter/ and scalar @split_password_hash == 4
3 0 8 $params{'password_hash'} =~ /\A$delimiter/ and scalar @split_password_hash == 4 and $split_password_hash[0] eq ''
1 2 6 $params{'password_hash'} =~ /\A$delimiter/ and scalar @split_password_hash == 4 and $split_password_hash[0] eq '' and $identifier eq $split_password_hash[1]

or 3 conditions

line l !l&&r !l&&!r condition
40 27 1 1 $params{'hash'}->isa('Digest::SHA') or $params{'hash'}->isa('Digest::SHA3')