Condition Coverage

blib/lib/HTML/CalendarMonth.pm
Criterion Covered Total %
condition 12 54 22.2


and 3 conditions

line !l l&&!r l&&r condition
132 0 0 0 $self->head_m(@_) and $self->head_dow(@_)
139 0 0 0 $self->head_m($mode) and $self->head_y($mode)
155 0 0 307 $month and defined $year
162 0 0 307 $month <= 12 and $month >= 1
241 0 0 307 $self->head_m and $self->head_y
672 0 0 0 defined $rfirst and defined $rlast
686 0 0 0 defined $item1 and defined $item2
713 0 6447 0 @_ and not defined $_[0]
765 0 0 307 $m and $m =~ /^\d+$/
780 0 614 0 $m and $m =~ /^\d+$/
874 0 309 0 $month and $year

or 2 conditions

line l !l condition
493 0 0 $self->item_at($row, $col) || (next)
523 0 0 $self->item_at($row, $col) || (next)
911 0 307 $attrs{'alias'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
207 8015 45 1291 $dowc or $_ == $self->lastday
766 307 0 0 $loc->monthname($m) || croak('month not found ' . join(', ', @_))
800 0 0 0 $loc->dayname($d) || croak('day not found ', join(', ', @_))
877 0 0 0 $month ||= $nmonth
878 0 0 0 $year ||= $nyear