Condition Coverage

blib/lib/Calendar/Functions.pm
Criterion Covered Total %
condition 55 56 98.2


and 3 conditions

line !l l&&!r l&&r condition
132 16 3 578 $day and $mon
19 3 575 $day and $mon and $year
194 6 982 714 defined $d1 and not defined $d2
237 1 1 1700 $day and $mon
2 1 1699 $day and $mon and $year
255 0 1692 7 $tp and $fmt =~ /\bEPOCH\b/
1692 2 5 $tp and $fmt =~ /\bEPOCH\b/ and $year >= $EpoYear
1694 2 3 $tp and $fmt =~ /\bEPOCH\b/ and $year >= $EpoYear and $year <= $MaxYear
335 1 1 6 int $day and int $mon
2 1 5 int $day and int $mon and int $year
338 3 1 1 $form2 =~ /DAY/ and not $dotw

or 2 conditions

line l !l condition
158 2833 5 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
193 1696 6 6 defined $d1 or defined $d2
356 101 31 1598 $_[0] == 1 or $_[0] == 21
132 43 1555 $_[0] == 1 or $_[0] == 21 or $_[0] == 31
357 84 31 1440 $_[0] == 2 or $_[0] == 22
358 112 31 1297 $_[0] == 3 or $_[0] == 23
405 5 5 189 $dt or $di
406 2 2 185 $_[0] < $MinYear or $_[0] > $MaxYear