Branch Coverage

blib/lib/Crypt/NamedKeys.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
216 1 0 if $file eq 'Crypt::NamedKeys'
217 0 1 unless $file
240 0 1 unless $keyfile
256 0 2 unless $$keytab{'default_keynum'}
290 2 4 unless $args{'data'} and ref $args{'data'}
312 0 3 if $Escape_Eq
313 0 3 if $Escape_Eq
330 3 9 unless $args{'data'} and $args{'mac'}
337 1 8 unless ($cyphertext)
345 0 9 unless $cyphertext and $secret
352 5 4 unless &String::Compare::ConstantTime::equals($msg_mac, $args{'mac'})
363 0 4 unless defined $decrypted
387 2 2 unless defined $payload
388 2 0 if exists $$payload{'crypt_json_payload'}
410 0 5 unless $args{'value'}
411 1 4 unless $args{'value'} =~ m[^([A-Za-z0-9+/*]+[=-]*)\.([A-Za-z0-9+/-=]+)$]