Branch Coverage

blib/lib/Date/Julian/Simple.pm
Criterion Covered Total %
branch 22 42 52.3


line true false branch
63 5 0 if ($self->has_year and $self->has_month and $self->has_day) { }
66 2 3 if ($self->is_leap_year($self->year)) { }
69 0 2 if $caller[3] eq "(eval)"
71 2 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)
141 1 0 unless defined $day
142 1 0 unless defined $month
143 1 0 unless defined $year
174 0 2 $e < 14 ? :
175 0 2 $month > 2 ? :
181 0 2 if ($year < 1)
202 1 0 if ($jdf >= 1)
292 2 1 $self->is_leap_year($year) ? :
302 2 2 if ($self->is_leap_year($year))
303 2 0 if $month == 2