Handler/Constants.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Handler/Test.pm ↑ Summary
1 #!/usr/bin/perl
2 package Date::Handler::Constants;
3  
4  
5 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 8 ▶use vars qw(@ISA $VERSION @EXPORT $DAYS_IN_MONTH $SUPPORTED_TIME_ZONES);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 8 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 8 @ISA = qw(Exporter);
10  
11 8 $VERSION = '1.0';
12  
13 8 @EXPORT = qw($DAYS_IN_MONTH $SUPPORTED_TIME_ZONES);
14  
15 8 $DAYS_IN_MONTH = {
16 0 => 31, #Jan
17 1 => 28, #Feb
18 2 => 31, #Mar
19 3 => 30, #Apr
20 4 => 31, #May
21 5 => 30, #Jun
22 6 => 31, #Jul
23 7 => 31, #Aug
24 8 => 30, #Sep
25 9 => 31, #Oct
26 10 => 30, #Nov
27 11 => 31, #Dec
28 };
29
30 8 $SUPPORTED_TIME_ZONES = {};
31  
32 8 666; #The number of the beast.
« Handler/Test.pm ↑ Summary