File Coverage

blib/lib/Crypt/HSM.pm
Criterion Covered Total %
statement 9 12 75.0
branch 0 2 0.0
condition n/a
subroutine 3 4 75.0
pod 1 1 100.0
total 13 19 68.4


line stmt bran cond sub pod time code
1             package Crypt::HSM;
2             $Crypt::HSM::VERSION = '0.013';
3 1     1   68771 use strict;
  1         12  
  1         28  
4 1     1   5 use warnings;
  1         2  
  1         23  
5              
6 1     1   5 use XSLoader;
  1         2  
  1         102  
7             XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION);
8              
9             #backwards compat
10             sub open_session {
11 0     0 1   my ($self, $slot, @args) = @_;
12 0 0         my $object = ref($slot) ? $slot : $self->slot($slot);
13 0           return $object->open_session(@args);
14             }
15              
16             1;
17              
18             #ABSTRACT: A PKCS11 interface for Perl
19              
20             __END__