Branch Coverage

File:blib/lib/Database/BI/Password.pm
Coverage:100.0%

line%coveragebranch
56100TFif length $password > $HMAC_BLOCK_BYTES
82100TFunless defined $bytes and length $bytes == $n
100100TFif utf8::is_utf8($password)
106100TFunless defined $password and not ref $password and length $password
108100TFif $password =~ /\0\z/
110100TFunless $rounds =~ /\A[0-9]+\z/ and $rounds >= $MIN_ROUNDS and $rounds <= $MAX_ROUNDS
114100TFunless not ref $salt || $salt =~ /[^\x00-\xff]/ and length $salt == $SALT_BYTES
122100TFunless defined $hash and not ref $hash and $hash =~ /$HASH_RE/
123100TF$1 >= $MIN_ROUNDS && $1 <= $MAX_ROUNDS ? :
128100TFunless defined $password and not ref $password and length $password and not $password =~ /\0\z/ and is_password_hash($hash)
137100TF$diff == 0 ? :