blib/lib/Date/Julian/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 17 | 23.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
63 | 0 | 0 | 5 | $self->has_year and $self->has_month |
0 | 0 | 5 | $self->has_year and $self->has_month and $self->has_day | |
73 | 0 | 0 | 0 | defined $day and $day =~ /^\d+$/ |
0 | 0 | 0 | defined $day and $day =~ /^\d+$/ and $day >= 1 | |
0 | 0 | 0 | defined $day and $day =~ /^\d+$/ and $day >= 1 and $day <= 29 |
line | l | !l | condition |
---|---|---|---|
286 | 8 | 7 | $year % 4 == ($year > 0 ? 0 : 3) || 0 |