blib/lib/Date/Hijri/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 20 | 30.0 |
line | true | false | branch |
---|---|---|---|
64 | 7 | 0 | if $self->has_year |
65 | 7 | 0 | if $self->has_month |
66 | 7 | 0 | if $self->has_day |
68 | 0 | 7 | unless ($self->has_year and $self->has_month and $self->has_day) |
207 | 0 | 0 | if grep /$mod/, @{$self->hijri_leap_year_mod;} |
214 | 0 | 0 | $self->is_leap_year($year) ? : |
224 | 0 | 0 | if $month % 2 == 1 or $month == 12 and $self->is_leap_year($year) |
232 | 0 | 7 | if $caller[3] eq '(eval)' |
234 | 0 | 0 | defined $day ? : |
0 | 7 | unless defined $day and $day =~ /^\d{1,2}$/ and $day >= 1 and $day <= 30 |