DateTimeX/Lite/ZeroBase.pm

filter: Statementstmt 88.8% 16 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 77.7% 7 / 9 Podpod 0.0% 0 / 8 totaltotal 65.7% 23 / 35 CC 1 SCAR 2.0
CC
1
Cov
89%
mon_0
2.0
quarter_0
2.0
BEGIN
1.0
CRAP 1.2
« DateTimeX/Lite/TimeZone/Catalog.pm ↑ Summary DateTimeX/Lite/TimeZone/UTC.pm »
1 package DateTimeX::Lite;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 1 ▶sub month_0 { $_[0]->{local_c}{month} - 1 }
Subroutine month_0: called CC=1 SCAR=0.0
Pod undocumented
5 0 ▶sub mon_0 { goto &month_0 };
Subroutine mon_0: not called CC=1 SCAR=6.9
Pod undocumented
6 0 ▶sub quarter_0 { $_[0]->{local_c}{quarter} - 1 }
Subroutine quarter_0: not called CC=1 SCAR=6.9
Pod undocumented
7  
8 4 ▶sub day_of_month_0 { $_[0]->{local_c}{day} - 1 }
Subroutine day_of_month_0: called CC=1 SCAR=0.0
Pod undocumented
9 1 *day_0 = \&day_of_month_0;
10 1 *mday_0 = \&day_of_month_0;
11  
12 3 ▶sub day_of_week_0 { $_[0]->{local_c}{day_of_week} - 1 }
Subroutine day_of_week_0: called CC=1 SCAR=0.0
Pod undocumented
13 1 *wday_0 = \&day_of_week_0;
14 1 *dow_0 = \&day_of_week_0;
15  
16 2 ▶sub day_of_quarter_0 { $_[0]->day_of_quarter - 1 }
Subroutine day_of_quarter_0: called CC=1 SCAR=0.0
Pod undocumented
17 1 *doq_0 = \&day_of_quarter_0;
18  
19 3 ▶sub day_of_year_0 { $_[0]->{local_c}{day_of_year} - 1 }
Subroutine day_of_year_0: called CC=1 SCAR=0.0
Pod undocumented
20 1 *doy_0 = \&day_of_year_0;
21  
22 3 ▶sub hour_12_0 { $_[0]->hour % 12 }
Subroutine hour_12_0: called CC=1 SCAR=0.0
Pod undocumented
23  
24 1 1;
« DateTimeX/Lite/TimeZone/Catalog.pm ↑ Summary DateTimeX/Lite/TimeZone/UTC.pm »