File Coverage

blib/lib/UID2/Client/DecryptionStatus.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package UID2::Client::DecryptionStatus;
2 3     3   16 use strict;
  3         7  
  3         65  
3 3     3   11 use warnings;
  3         11  
  3         61  
4 3     3   22 use Exporter 'import';
  3         4  
  3         140  
5              
6             use constant {
7 3         434 SUCCESS => 0,
8             NOT_AUTHORIZED_FOR_KEY => 1,
9             NOT_INITIALIZED => 2,
10             INVALID_PAYLOAD => 3,
11             EXPIRED_TOKEN => 4,
12             KEYS_NOT_SYNCED => 5,
13             VERSION_NOT_SUPPORTED => 6,
14             INVALID_PAYLOAD_TYPE => 7,
15             INVALID_IDENTITY_SCOPE => 8,
16 3     3   15 };
  3         4  
17              
18             our @EXPORT_OK = qw(
19             SUCCESS
20             NOT_AUTHORIZED_FOR_KEY
21             NOT_INITIALIZED
22             INVALID_PAYLOAD
23             EXPIRED_TOKEN
24             KEYS_NOT_SYNCED
25             VERSION_NOT_SUPPORTED
26             INVALID_PAYLOAD_TYPE
27             INVALID_IDENTITY_SCOPE
28             );
29              
30             1;
31             __END__