C2DM/Constants.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« C2DM/Response.pm ↑ Summary
1 package WWW::Google::C2DM::Constants;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use parent 'Exporter';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 my @error_code = qw(
8 QuotaExceeded
9 DeviceQuotaExceeded
10 MissingRegistration
11 InvalidRegistration
12 MismatchSenderId
13 NotRegistered
14 MessageTooBig
15 MissingCollapseKey
16 );
17  
18 1 our @EXPORT = (@error_code);
19 1 our @EXPORT_OK = ();
20 1 our %EXPORT_TAGS = (
21 all => [@EXPORT, @EXPORT_OK],
22 error_code => \@error_code,
23 );
24  
25 1 ▶use constant {
Subroutine BEGIN: called CC=1 SCAR=0.0
26 # error code
27 1 QuotaExceeded => 'QuotaExceeded',
28 DeviceQuotaExceeded => 'DeviceQuotaExceeded',
29 MissingRegistration => 'MissingRegistration',
30 InvalidRegistration => 'InvalidRegistration',
31 MismatchSenderId => 'MismatchSenderId',
32 NotRegistered => 'NotRegistered',
33 MessageTooBig => 'MessageTooBig',
34 MissingCollapseKey => 'MissingCollapseKey',
35 1 };
36  
37 1 1;
38 __END__
« C2DM/Response.pm ↑ Summary