File Coverage

blib/lib/WWW/Google/Cloud/Messaging/Constants.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 WWW::Google::Cloud::Messaging::Constants;
2              
3 1     1   18527 use strict;
  1         2  
  1         21  
4 1     1   5 use warnings;
  1         1  
  1         24  
5 1     1   4 use Exporter 'import';
  1         1  
  1         74  
6              
7             our @EXPORT = qw{
8             MissingRegistration
9             MismatchSenderId
10             InvalidRegistration
11             NotRegistered
12             MessageTooBig
13             InvalidDataKey
14             InvalidTtl
15             Unavailable
16             InternalServerError
17             InvalidPackageName
18             };
19              
20             use constant {
21 1         165 MissingRegistration => 'MissingRegistration',
22             InvalidRegistration => 'InvalidRegistration',
23             MismatchSenderId => 'MismatchSenderId',
24             NotRegistered => 'NotRegistered',
25             MessageTooBig => 'MessageTooBig',
26             InvalidDataKey => 'InvalidDataKey',
27             InvalidTtl => 'InvalidTtl',
28             Unavailable => 'Unavailable',
29             InternalServerError => 'InternalServerError',
30             InvalidPackageName => 'InvalidPackageName',
31 1     1   4 };
  1         2  
32              
33             1;
34              
35             __END__