Branch Coverage

blib/lib/Crypt/PKCS11/Attributes.pm
Criterion Covered Total %
branch 10 10 100.0


line true false branch
159 2 1 unless (blessed $_ and $_->isa('Crypt::PKCS11::Attribute'))
180 2 1 unless (blessed $_ and $_->isa('Crypt::PKCS11::Attribute'))
192 1 1 unless (ref $cb eq 'CODE')
217 2 8 unless (ref $array eq 'ARRAY')
222 2 3 unless (ref $_ eq 'HASH' and defined $$_{'type'} and defined $$_{'pValue'} and exists $ATTRIBUTE_MAP{$$_{'type'}})