Branch Coverage

blib/lib/DateTimeX/Fiscal/Fiscal5253.pm
Criterion Covered Total %
branch 59 72 81.9


line true false branch
199 131 30 $$self{'_start'}->clone->add('days', 367) > $$self{'_end'} ? :
205 30 131 if ($$self{'_weeks'} == 53)
230 0 161 if (&{$_use_dt;}($$self{'year'})) { }
242 0 0 if $_ == $$self{'_weeks'}
263 161 8241 if $_ == $$self{'_weeks'}
281 30 191 $style eq 'restated' ? :
282 30 191 $style eq 'truncated' ? :
285 0 221 if $restate and defined $$self{'_restated'}
286 0 221 if $truncate and defined $$self{'_truncated'}
296 127 94 $$self{'end_month'} == 12 ? :
301 60 161 if ($$self{'_weeks'} == 53 and not $truncate)
302 30 30 if ($restate) { }
4 26 elsif ($$self{'leap_period'} eq 'first') { }
343 1560 9962 $restate ? :
351 2652 8870 if $pw == 1
352 2652 8870 if $pw == $pweeks[$p_index]
361 131 90 if ($$self{'_weeks'} == 52) { }
394 54 340 if ($dt_dow > $$self{'end_dow'}) { }
275 65 elsif ($dt_dow < $$self{'end_dow'}) { }
400 15 379 if $$self{'end_type'} eq 'closest' and $eom_day - $dt->day > 3
430 6 33 if $e1 < $$self{'_date'}
433 0 33 if $s1 > $$self{'_date'}
441 22 95 $$self{'_weeks'} == 53 ? :
447 0 6 @_ == 1 ? :
450 1 5 if scalar keys %args > 1
459 0 4 wantarray ? :
464 8 560 @_ == 1 ? :
469 1 567 if scalar keys %args > 2
475 6 560 if lc $args{'date'} eq 'today'
486 276 290 if $date lt $$cdata{'start'} or $date gt $$cdata{'end'}
495 0 7415 if $w > $$cdata{'weeks'}
499 0 290 wantarray ? :
541 2 7 @_ == 1 ? :
545 2 5 wantarray ? :
576 0 2 @_ == 1 ? :
580 0 0 wantarray ? :