Branch Coverage

blib/lib/Date/Julian/Simple.pm
Criterion Covered Total %
branch 11 36 30.5


line true false branch
61 3 0 if ($self->has_year and $self->has_month and $self->has_day) { }
64 0 3 if ($self->is_leap_year($self->year)) { }
67 0 0 if $caller[3] eq "(eval)"
69 0 0 if $self->month != 2
71 0 0 defined $day ? :
0 0 unless defined $day and $day =~ /^\d+$/ and $day >= 1 and $day <= 29
112 3 0 unless defined $day
113 3 0 unless defined $month
114 3 0 unless defined $year
117 0 3 if ($year < 1)
122 3 0 if ($month <= 2)
147 0 2 $e < 14 ? :
148 0 2 $month > 2 ? :
154 0 2 if ($year < 1)
220 3 0 $year > 0 ? :
226 0 0 $self->is_leap_year($year) ? :
236 0 0 if ($self->is_leap_year($year))
237 0 0 if $month == 2