Branch Coverage

blib/lib/Date/Baha/i.pm
Criterion Covered Total %
branch 37 64 57.8


line true false branch
177 2 23 if ($days >= $lower and $days <= $upper)
196 304 62 unless $args{'month'} > 16 or $args{'month'} == -1
199 5 361 if $args{'month'} == -1
209 366 0 wantarray ? :
217 0 8 unless defined $args{'size'}
218 0 8 unless defined $args{'numeric'}
219 0 8 unless defined $args{'alpha'}
223 0 8 $date_hash->{'month'} == -1 ? :
225 1 7 if (not $args{'size'} and $args{'numeric'} and $args{'alpha'}) { }
1 6 elsif ($args{'size'} and $args{'numeric'} and $args{'alpha'}) { }
1 5 elsif (not $args{'size'} and $args{'numeric'} and not $args{'alpha'}) { }
1 4 elsif ($args{'size'} and $args{'numeric'}) { }
1 3 elsif (not $args{'size'} and $args{'alpha'}) { }
236 0 1 $is_ayyam_i_ha ? :
253 0 1 $is_ayyam_i_ha ? :
280 0 3 $is_ayyam_i_ha ? :
291 0 0 if ($date_hash->{'holy_day'} and $args{'size'})
318 0 0 if ($m_d < $_)
325 0 0 unless $holy_date
331 0 0 wantarray ? :
347 2 23 if ($end_month < $start_month)
348 0 2 if ($m == $start_month) { }
0 2 elsif ($m == $end_month) { }
371 0 2 if $date{'dow'} > 7
381 2 0 unless $date{'month'} == -1
385 0 2 $month < 3 || $month == 3 && $day < 21 ? :
405 0 2 if exists $inverted{$m_d}
407 2 0 wantarray ? :
419 6 22 if (@$date > 1)
421 0 6 if $name eq 'Ayyam-i-Ha' and leap_year($year)
442 0 2 unless ($args{'year'} and $args{'month'} and $args{'day'})
446 0 0 $args{'use_gmtime'} ? :