File Coverage

blib/lib/WWW/FCM/HTTP/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::FCM::HTTP::Constants;
2              
3 1     1   373 use strict;
  1         3  
  1         22  
4 1     1   3 use warnings;
  1         2  
  1         19  
5 1     1   4 use Exporter 'import';
  1         2  
  1         91  
6              
7             our @EXPORT = qw{
8             FCM_MissingRegistration
9             FCM_InvalidRegistration
10             FCM_InvalidPackageName
11             FCM_MismatchSenderId
12             FCM_MessageTooBig
13             FCM_InvalidDataKey
14             FCM_InvalidTtl
15             FCM_Unavailable
16             FCM_InternalServerError
17             FCM_DeviceMessageRateExceeded
18             FCM_TopicsMessageRateExceeded
19             };
20              
21             use constant {
22 1         140 FCM_MissingRegistration => 'MissingRegistration',
23             FCM_InvalidRegistration => 'InvalidRegistration',
24             FCM_InvalidPackageName => 'InvalidPackageName',
25             FCM_MismatchSenderId => 'MismatchSenderId',
26             FCM_MessageTooBig => 'MessageTooBig',
27             FCM_InvalidDataKey => 'InvalidDataKey',
28             FCM_InvalidTtl => 'InvalidTtl',
29             FCM_Unavailable => 'Unavailable',
30             FCM_InternalServerError => 'InternalServerError',
31             FCM_DeviceMessageRateExceeded => 'DeviceMessageRateExceeded',
32             FCM_TopicsMessageRateExceeded => 'TopicsMessageRateExceeded',
33 1     1   5 };
  1         2  
34              
35             1;