blib/lib/Date/Hijri/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 21 | 23.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
68 | 0 | 0 | 7 | $self->has_year and $self->has_month |
0 | 0 | 7 | $self->has_year and $self->has_month and $self->has_day | |
224 | 0 | 0 | 0 | $month == 12 and $self->is_leap_year($year) |
234 | 0 | 0 | 7 | defined $day and $day =~ /^\d{1,2}$/ |
0 | 0 | 7 | defined $day and $day =~ /^\d{1,2}$/ and $day >= 1 | |
0 | 0 | 7 | defined $day and $day =~ /^\d{1,2}$/ and $day >= 1 and $day <= 30 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
224 | 0 | 0 | 0 | $month % 2 == 1 or $month == 12 and $self->is_leap_year($year) |