Condition Coverage

blib/lib/HTML/CalendarMonthSimple.pm
Criterion Covered Total %
condition 8 152 5.2


and 3 conditions

line !l l&&!r l&&r condition
97 0 0 0 defined $tablewidth and $tablewidth =~ /^(\d+)(\%?)$/
278 0 0 0 $self->year == $todayyear and $self->month == $todaymonth
0 0 0 $self->year == $todayyear and $self->month == $todaymonth and $thisday == $todaydate

or 2 conditions

line l !l condition
98 0 0 int $1 / 7 || '14'
274 0 0 $thiscontent ||= ' '
361 0 0 shift() || ''
573 0 0 shift() || ''
585 0 0 shift() || (return ())
760 0 0 lc shift() || (return ())
793 0 0 shift() || (return ())

or 3 conditions

line l !l&&r !l&&!r condition
17 0 2 0 ref $class || $class
24 0 2 0 $self->{'today_year'} || $year
25 0 2 0 $self->{'today_month'} || $month
26 0 2 0 $self->{'today_date'} || $date
27 1 1 0 $self->{'month'} || $self->{'today_month'}
28 1 1 0 $self->{'year'} || $self->{'today_year'}
105 0 0 0 $self->weekdaycolor || $self->bgcolor
106 0 0 0 $self->weekendcolor || $self->bgcolor
107 0 0 0 $self->todaycolor || $self->bgcolor
108 0 0 0 $self->contentcolor || $self->contentcolor
109 0 0 0 $self->weekdaycontentcolor || $self->contentcolor
110 0 0 0 $self->weekendcontentcolor || $self->contentcolor
111 0 0 0 $self->todaycontentcolor || $self->contentcolor
112 0 0 0 $self->bordercolor || $self->bordercolor
113 0 0 0 $self->weekdaybordercolor || $self->bordercolor
114 0 0 0 $self->weekendbordercolor || $self->bordercolor
115 0 0 0 $self->todaybordercolor || $self->bordercolor
116 0 0 0 $self->weekdayheadercolor || $self->bgcolor
117 0 0 0 $self->weekendheadercolor || $self->bgcolor
118 0 0 0 $self->headercontentcolor || $self->contentcolor
119 0 0 0 $self->weekdayheadercontentcolor || $self->contentcolor
120 0 0 0 $self->weekendheadercontentcolor || $self->contentcolor
121 0 0 0 $self->headercolor || $self->bgcolor
128 0 0 0 $self->weekdaycellclass || $self->cellclass
129 0 0 0 $self->weekendcellclass || $self->cellclass
130 0 0 0 $self->todaycellclass || $self->cellclass
131 0 0 0 $self->headerclass || $self->cellclass
278 0 0 0 $DAY == $_sunday_index or $DAY == $_saturday_index
279 0 0 0 $self->datecolor($thisday) || $todaycolor
280 0 0 0 $self->datebordercolor($thisday) || $todaybordercolor
281 0 0 0 $self->datecontentcolor($thisday) || $todaycontentcolor
282 0 0 0 $self->datecellclass($thisday) || $todaycellclass
284 0 0 0 $self->datecolor($thisday) || $weekendcolor
285 0 0 0 $self->datebordercolor($thisday) || $weekendbordercolor
286 0 0 0 $self->datecontentcolor($thisday) || $weekendcontentcolor
287 0 0 0 $self->datecellclass($thisday) || $weekendcellclass
289 0 0 0 $self->datecolor($thisday) || $weekdaycolor
290 0 0 0 $self->datebordercolor($thisday) || $weekdaybordercolor
291 0 0 0 $self->datecontentcolor($thisday) || $weekdaycontentcolor
292 0 0 0 $self->datecellclass($thisday) || $weekdaycellclass
306 0 0 0 defined $thiscontentcolor or defined $contentfontsize
310 0 0 0 defined $thiscontentcolor or defined $contentfontsize
313 0 0 0 defined $thiscontentcolor or defined $contentfontsize