Condition Coverage

blib/lib/Date/Baha/i.pm
Criterion Covered Total %
condition 33 51 64.7


and 3 conditions

line !l l&&!r l&&r condition
177 10 27 2 $days >= $lower and $days <= $upper
225 4 2 2 not $args{'size'} and $args{'numeric'}
2 1 1 not $args{'size'} and $args{'numeric'} and $args{'alpha'}
3 2 2 $args{'size'} and $args{'numeric'}
2 2 0 $args{'size'} and $args{'numeric'} and $args{'alpha'}
3 2 1 not $args{'size'} and $args{'numeric'}
2 0 1 not $args{'size'} and $args{'numeric'} and not $args{'alpha'}
2 3 0 $args{'size'} and $args{'numeric'}
2 2 0 not $args{'size'} and $args{'alpha'}
291 8 0 0 $date_hash->{'holy_day'} and $args{'size'}
421 4 2 0 $name eq 'Ayyam-i-Ha' and leap_year($year)
442 0 0 2 $args{'year'} and $args{'month'}
0 0 2 $args{'year'} and $args{'month'} and $args{'day'}

or 3 conditions

line l !l&&r !l&&!r condition
196 57 5 304 $args{'month'} > 16 or $args{'month'} == -1
385 0 0 2 $month < 3 || $month == 3 && $day < 21
411 2 0 0 shift() || (localtime)[5] + 1900
443 0 0 0 $args{'epoch'} ||= time