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 608 $day and $mon
19 3 605 $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 2863 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 13 1585 $_[0] == 1 or $_[0] == 21 or $_[0] == 31
357 84 31 1470 $_[0] == 2 or $_[0] == 22
358 112 31 1327 $_[0] == 3 or $_[0] == 23
405 5 5 199 $dt or $di
406 2 2 195 $_[0] < $MinYear or $_[0] > $MaxYear