Branch Coverage

blib/lib/Date/Julian/Simple.pm
Criterion Covered Total %
branch 15 34 44.1


line true false branch
63 3 0 if ($self->has_year and $self->has_month and $self->has_day) { }
66 0 3 if ($self->is_leap_year($self->year)) { }
69 0 0 if $caller[3] eq "(eval)"
71 0 0 if $self->month != 2
73 0 0 defined $day ? :
0 0 unless defined $day and $day =~ /^\d+$/ and $day >= 1 and $day <= 29
114 3 0 unless defined $day
115 3 0 unless defined $month
116 3 0 unless defined $year
119 0 3 if ($year < 1)
124 3 0 if ($month <= 2)
161 0 2 $e < 14 ? :
162 0 2 $month > 2 ? :
168 0 2 if ($year < 1)
253 2 1 $self->is_leap_year($year) ? :
263 2 2 if ($self->is_leap_year($year))
264 2 0 if $month == 2