Branch Coverage

blib/lib/DateTime/Calendar/Hebrew.pm
Criterion Covered Total %
branch 59 102 57.8


line true false branch
28 12 0 if $_[0] >= 1
34 12 0 if $_[0] >= 1
40 8 0 if $_[0] >= 0
46 8 0 if $_[0] >= 0
52 5 0 if $_[0] >= 0
58 4 0 if $_[0] >= 0
69 1 11 if ($$self{'nanosecond'})
71 2 10 if ($$self{'sunset'} and $$self{'time_zone'})
79 2 0 if ($DT > $sunset)
98 3 0 if $object->can('set_time_zone')
127 1 0 if $_[0] >= 1
133 1 0 if $_[0] >= 1
139 1 0 if $_[0] >= 0
145 1 0 if $_[0] >= 0
151 1 0 if $_[0] >= 0
157 0 0 if $_[0] >= 0
168 0 1 if ($$self{'nanosecond'})
170 0 1 if ($$self{'sunset'} and $$self{'time_zone'})
178 0 0 if ($DT > $sunset)
210 0 4 $_[2] ? :
216 0 4 unless defined $b
218 0 4 unless ($a->can('utc_rd_values') and $b->can('utc_rd_values'))
226 0 12 if $a[$i] != $b[$i]
234 0 2 if $reversed
240 0 2 if $reversed
248 8 0 if ($deltas{'days'})
249 0 8 if ($deltas{'hours'})
250 8 0 if ($deltas{'minutes'})
251 8 0 if ($deltas{'seconds'})
252 0 8 if ($deltas{'nanoseconds'})
311 4 9 if ($rd < &_to_rd($year, 1, 1)) { }
321 219 0 if (scalar @_)
328 73 146 if ($month < 7) { }
353 702 54 if ((7 * $year + 1) % 19 < 7) { }
360 536 42 if (&_leap_year($year)) { }
377 271 258 if ($ConjunctionParts >= 19440 or $ConjunctionDay % 7 == 2 and $ConjunctionParts >= 9924 and not &_leap_year($year) or $ConjunctionDay % 7 == 1 and $ConjunctionParts >= 16789 and &_leap_year($year - 1)) { }
387 245 284 if ($AlternativeDay % 7 == 0 or $AlternativeDay % 7 == 3 or $AlternativeDay % 7 == 5) { }
401 27 51 if (&_DaysInYear($year) % 10 == 5) { }
407 43 34 if (&_DaysInYear($year) % 10 == 3) { }
414 317 390 if ($month == 2 or $month == 4 or $month == 6 or $month == 8 and not &_LongCheshvan($year) or $month == 9 and &_ShortKislev($year) or $month == 10 or $month == 12 and not &_leap_year($year) or $month == 13) { }
428 0 2 if (@_)
436 0 2 if (@_)
463 0 3 if ($_[0]{'after_sunset'})
471 0 4 if ($_[0]{'after_sunset'})
514 0 0 unless defined $sep
525 0 0 unless defined $sep
534 1 1 unless defined $sep
545 0 1 unless defined $sep
555 0 1 unless defined $sep
605 18 0 $formats{$1} ? :
606 16 0 unless wantarray