line |
true |
false |
branch |
40
|
1 |
32 |
if ($args{'day'} =~ /^fat/i) { }
|
|
1 |
31 |
elsif ($args{'day'} =~ /^ash/i) { }
|
|
1 |
30 |
elsif ($args{'day'} =~ /^ascension/i) { }
|
|
1 |
29 |
elsif ($args{'day'} =~ /^pentecost/i) { }
|
|
1 |
28 |
elsif ($args{'day'} =~ /^trinity/i) { }
|
|
1 |
27 |
elsif ($args{'day'} =~ /^palm/i) { }
|
|
3 |
24 |
elsif ($args{'day'} =~ /saturday/i) { }
|
|
3 |
21 |
elsif ($args{'day'} =~ /friday/i) { }
|
|
3 |
18 |
elsif ($args{'day'} =~ /thursday/i) { }
|
|
4 |
14 |
elsif ($args{'day'} =~ /^\-?\d+$/i) { }
|
67
|
0 |
4 |
if ($offset < -80 or $offset > 250)
|
76
|
3 |
30 |
if ($self{'easter'} eq 'eastern')
|
81
|
0 |
33 |
unless $args{'as'} =~ /^(point|span)s?$/i
|
94
|
303 |
182 |
if ($self->{'easter'} eq 'eastern' and $class ne 'DateTime::Calendar::Julian') { }
|
|
0 |
182 |
elsif ($class ne 'DateTime') { }
|
95
|
0 |
303 |
unless $dt->can('utc_rd_values')
|
98
|
0 |
0 |
unless $dt->can('utc_rd_values')
|
106
|
0 |
485 |
$easter_this_year > $dt ? :
|
108
|
303 |
182 |
if ref $easter ne $class
|
109
|
106 |
379 |
$self->{'as'} eq 'span' ? :
|
119
|
0 |
31 |
if ($self->{'easter'} eq 'eastern' and $class ne 'DateTime::Calendar::Julian') { }
|
|
0 |
31 |
elsif ($class ne 'DateTime') { }
|
120
|
0 |
0 |
unless $dt->can('utc_rd_values')
|
123
|
0 |
0 |
unless $dt->can('utc_rd_values')
|
131
|
26 |
5 |
$easter_this_year->ymd lt $dt->ymd ? :
|
134
|
0 |
31 |
if ref $easter ne $class
|
135
|
2 |
29 |
$self->{'as'} eq 'span' ? :
|
145
|
0 |
4 |
if ($class ne 'DateTime')
|
146
|
0 |
0 |
unless $dt->can('utc_rd_values')
|
150
|
1 |
3 |
if ($self->is($dt))
|
152
|
0 |
1 |
if ref $easter ne $class
|
153
|
0 |
1 |
$self->{'as'} eq 'span' ? :
|
161
|
1 |
2 |
$previous_easter + $following_delta < $dt ? :
|
164
|
0 |
3 |
if ref $easter ne $class
|
165
|
0 |
3 |
$self->{'as'} eq 'span' ? :
|
175
|
0 |
14 |
if ($class ne 'DateTime')
|
176
|
0 |
0 |
unless $dt->can('utc_rd_values')
|
180
|
4 |
10 |
if ($self->{'easter'} eq 'eastern')
|
186
|
11 |
3 |
$easter_this_year->ymd eq $dt->ymd ? :
|
203
|
5 |
7 |
if ($args{'inclusive'})
|
204
|
5 |
0 |
if ($self->is($args{'from'}))
|
207
|
4 |
1 |
$self->{'as'} eq 'span' ? :
|
209
|
5 |
0 |
if ($self->is($args{'to'}))
|
212
|
4 |
1 |
$self->{'as'} eq 'span' ? :
|
220
|
106 |
31 |
$self->{'as'} eq 'span' ? :
|
223
|
125 |
12 |
if $checkdate < $args{'to'}
|
227
|
10 |
2 |
$self->{'as'} eq 'span' ? :
|
239
|
3 |
6 |
if (exists $args{'inclusive'}) { }
|
|
3 |
3 |
elsif (exists $args{'from'} or exists $args{'to'}) { }
|
242
|
0 |
3 |
unless ref($args{'to'}) =~ /DateTime/ and ref($args{'from'}) =~ /DateTime/
|
243
|
1 |
2 |
if ($self->{'as'} eq 'point')
|
244
|
1 |
0 |
if ($args{'inclusive'}) { }
|
257
|
0 |
3 |
unless ref($args{'to'}) =~ /DateTime/ and ref($args{'from'}) =~ /DateTime/
|
258
|
1 |
2 |
if ($self->{'as'} eq 'point')
|
263
|
6 |
3 |
if ($self->{'as'} eq 'span') { }
|
264
|
2 |
4 |
if exists $args_1{'after'}
|
265
|
2 |
4 |
if exists $args_1{'before'}
|
271
|
3 |
49 |
if $_[0]->is_infinite
|
272
|
3 |
1 |
if $_[0]->is_infinite
|
300
|
610 |
410 |
$self->{'easter'} eq 'eastern' ? :
|
307
|
0 |
588 |
unless $year =~ /^\-?\d+$/
|
327
|
0 |
610 |
unless $year =~ /^\-?\d+$/
|