File Coverage

blib/lib/Crypt/UnixCrypt_XS.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Crypt::UnixCrypt_XS;
2              
3 5     5   178031 use 5.006;
  5         20  
  5         189  
4 5     5   27 use strict;
  5         11  
  5         164  
5 5     5   23 use warnings;
  5         8  
  5         731  
6              
7             require Exporter;
8              
9             our @ISA = qw(Exporter);
10              
11             # Items to export into callers namespace by default. Note: do not export
12             # names by default without a very good reason. Use EXPORT_OK instead.
13             # Do not simply export all your public functions/methods/constants.
14              
15             our @EXPORT_OK = ( qw/crypt crypt_rounds fold_password base64_to_block
16             block_to_base64 base64_to_int24 int24_to_base64
17             base64_to_int12 int12_to_base64/ );
18              
19             our @EXPORT = qw(
20            
21             );
22              
23             our $VERSION = '0.10';
24              
25             require XSLoader;
26             XSLoader::load('Crypt::UnixCrypt_XS', $VERSION);
27              
28             # Preloaded methods go here.
29              
30             1;
31             __END__