Branch Coverage

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


line true false branch
62 1 2 if $end < $start
67 1 1 $end_date != $start_date ? :
73 1 1 if $end_date - $start_date > 86400
77 1 1 if $start_date != $end_date
95 1 2 if $end < $start
100 1 1 $end_date != $start_date ? :
105 1 1 if $end_date - $start_date > 86400
109 1 1 if $start_date != $end_date
135 4 1 if not $_[0] % 4 and $_[0] % 100 || !($_[0] % 400)
139 2 3 _is_leap($_[0]) && $_[1] == 1 ? :
155 1 10 ref $_[-1] || !1 ? :
156 1 10 unless @_
159 1 1 _is_leap($year) ? :
5 2 defined $month ? :
1 7 defined $day ? :
1 8 defined $hour ? :
1 9 defined $min ? :