Condition Coverage

blib/lib/Date/Bahai/Simple.pm
Criterion Covered Total %
condition 17 33 51.5


and 3 conditions

line !l l&&!r l&&r condition
75 2 0 20 $self->has_year and $self->has_month
2 0 20 $self->has_year and $self->has_month and $self->has_day
161 0 4 0 $j1 <= $julian_date && $julian_date <= $j2
258 0 1 1 $self->major == $other->major && $self->cycle == $other->cycle && $self->year == $other->year && $self->get_month_name eq $other->get_month_name && $self->day == $other->day
282 0 23 1 defined $month and $month =~ /[A-Z]/i
289 0 0 23 defined $month and $month =~ /^\d{1,2}$/
0 0 23 defined $month and $month =~ /^\d{1,2}$/ and $month >= 1
0 1 22 defined $month and $month =~ /^\d{1,2}$/ and $month >= 1 and $month <= 20
303 0 0 23 defined $day and $day =~ /^\d{1,2}$/
0 0 23 defined $day and $day =~ /^\d{1,2}$/ and $day >= 1
0 1 22 defined $day and $day =~ /^\d{1,2}$/ and $day >= 1 and $day <= 19