Condition Coverage

blib/lib/Crypt/PKCS11/Session.pm
Criterion Covered Total %
condition 129 129 100.0


and 3 conditions

line !l l&&!r l&&r condition
45 1 1 4 blessed($$self{'pkcs11xs'} = shift()) and $$self{'pkcs11xs'}->isa('Crypt::PKCS11::XSPtr')
59 2 2 1 exists $_[0]{'session'} and defined $_[0]{'pkcs11xs'}
157 1 1 4 blessed $encryptionKey and $encryptionKey->isa('Crypt::PKCS11::Object')
162 1 1 2 blessed $authenticationKey and $authenticationKey->isa('Crypt::PKCS11::Object')
203 2 4 2 blessed $template and $template->isa('Crypt::PKCS11::Attributes')
218 2 1 5 blessed $object and $object->isa('Crypt::PKCS11::Object')
221 2 1 2 blessed $template and $template->isa('Crypt::PKCS11::Attributes')
235 2 1 1 blessed $object and $object->isa('Crypt::PKCS11::Object')
250 2 1 2 blessed $object and $object->isa('Crypt::PKCS11::Object')
265 2 1 7 blessed $object and $object->isa('Crypt::PKCS11::Object')
268 2 1 4 blessed $template and $template->isa('Crypt::PKCS11::Attributes')
288 2 1 6 blessed $object and $object->isa('Crypt::PKCS11::Object')
291 2 1 3 blessed $template and $template->isa('Crypt::PKCS11::Attributes')
305 2 1 3 blessed $template and $template->isa('Crypt::PKCS11::Attributes')
355 2 1 5 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
358 2 1 2 blessed $key and $key->isa('Crypt::PKCS11::Object')
414 2 1 5 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
417 2 1 2 blessed $key and $key->isa('Crypt::PKCS11::Object')
473 2 1 2 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
516 2 1 2 blessed $key and $key->isa('Crypt::PKCS11::Object')
542 2 1 5 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
545 2 1 2 blessed $key and $key->isa('Crypt::PKCS11::Object')
600 2 1 5 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
603 2 1 2 blessed $key and $key->isa('Crypt::PKCS11::Object')
632 2 1 5 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
635 2 1 2 blessed $key and $key->isa('Crypt::PKCS11::Object')
694 2 1 5 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
697 2 1 2 blessed $key and $key->isa('Crypt::PKCS11::Object')
787 2 1 5 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
790 2 1 2 blessed $template and $template->isa('Crypt::PKCS11::Attributes')
806 2 1 9 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
809 2 1 6 blessed $publicKeyTemplate and $publicKeyTemplate->isa('Crypt::PKCS11::Attributes')
812 2 1 3 blessed $privateKeyTemplate and $privateKeyTemplate->isa('Crypt::PKCS11::Attributes')
835 2 1 8 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
838 2 1 5 blessed $wrappingKey and $wrappingKey->isa('Crypt::PKCS11::Object')
841 2 1 2 blessed $key and $key->isa('Crypt::PKCS11::Object')
856 2 1 9 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
859 2 1 6 blessed $unwrappingKey and $unwrappingKey->isa('Crypt::PKCS11::Object')
865 2 1 2 blessed $template and $template->isa('Crypt::PKCS11::Attributes')
880 2 1 8 blessed $mechanism and $mechanism->isa('Crypt::PKCS11::CK_MECHANISMPtr')
883 2 1 5 blessed $baseKey and $baseKey->isa('Crypt::PKCS11::Object')
886 2 1 2 blessed $template and $template->isa('Crypt::PKCS11::Attributes')

or 3 conditions

line l !l&&r !l&&!r condition
37 1 4 1 ref $this || $this