Branch Coverage

blib/lib/Crypt/OpenPGP/KeyBlock.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
11 47 0 $_[0]{'pkt'}{'Crypt::OpenPGP::UserID'} ? :
20 0 15 unless $keys and @$keys
22 15 15 if $key->can_encrypt
29 0 6 unless $keys and @$keys
31 6 0 if $key->can_sign
36 0 18 unless $_[0]{'keys_by_id'}{$_[1]}
57 50 131 if (ref $pkt eq "Crypt::OpenPGP::Certificate")