Branch Coverage

blib/lib/Date/Span.pm
Criterion Covered Total %
branch 34 34 100.0


line true false branch
23 1 2 if $end < $start
28 1 1 $end_date != $start_date ? :
34 1 1 if $end_date - $start_date > 86400
38 1 1 if $start_date != $end_date
46 1 2 if $end < $start
51 1 1 $end_date != $start_date ? :
56 1 1 if $end_date - $start_date > 86400
60 1 1 if $start_date != $end_date
69 4 1 if not $_[0] % 4 and $_[0] % 100 || !($_[0] % 400)
73 2 3 _is_leap($_[0]) && $_[1] == 1 ? :
89 1 10 ref $_[-1] || !1 ? :
90 1 10 unless @_
93 1 1 _is_leap($year) ? :
5 2 defined $month ? :
1 7 defined $day ? :
1 8 defined $hour ? :
1 9 defined $min ? :