Branch Coverage

blib/lib/HTML/CalendarMonthSimple/MultiDaysEvent.pm
Criterion Covered Total %
branch 68 132 51.5


line true false branch
24 0 1 if ($self->weekstartsonmonday) { }
45 1 0 if ($2)
84 0 1 if ($sharpborders) { }
86 0 0 if defined $tableclass
87 0 0 if defined $tablewidth
91 0 0 if defined $bordercolor
97 0 1 if defined $tableclass
98 1 0 if defined $border
99 1 0 if defined $tablewidth
100 0 1 if defined $bgcolor
101 0 1 if defined $bordercolor
102 0 1 if defined $cellpadding
103 0 1 if defined $cellspacing
107 1 0 if ($header)
109 0 1 if defined $headercolor
110 0 1 if defined $headerclass
112 0 1 if defined $headercontentcolor
114 0 1 if defined $headercontentcolor
118 1 0 if ($self->showweekdayheaders)
119 1 0 $self->weekdayheadersbig ? :
122 0 1 defined $weekendheadercolor ? :
0 1 defined $weekendcellclass ? :
0 1 defined $weekendheadercontentcolor ? :
0 1 defined $weekendheadercontentcolor ? :
139 0 1 defined $weekendheadercolor ? :
0 1 defined $weekendcellclass ? :
0 1 defined $weekendheadercontentcolor ? :
0 1 defined $weekendheadercontentcolor ? :
159 0 5 defined $weekendheadercolor ? :
0 5 defined $weekendcellclass ? :
0 5 defined $weekdayheadercontentcolor ? :
0 5 defined $weekdayheadercontentcolor ? :
178 0 1 if ($self->weekstartsonmonday) { }
193 0 1 if ($self->weekstartsonmonday)
208 1 34 if ($#{$$self{'events'}{$thisday};} > -1)
209 1 0 unless $firstevent
213 3 0 unless $prerow{$thisday + $_}
215 0 1 if ($thisday + ($$event{'length'} - 1) > $lastday)
231 1 34 if ($self->year == $todayyear and $self->month == $todaymonth and $thisday == $todaydate) { }
10 24 elsif ($DAY == $_sunday_index or $DAY == $_saturday_index) { }
252 0 35 if $nowrap
253 0 35 if defined $thiscellclass
254 0 35 if defined $cellheight
255 35 0 if defined $cellwidth
257 35 0 if defined $cellalignment
258 0 35 if defined $thisbgcolor
259 0 35 if defined $thisbordercolor
262 0 35 if defined $thiscontentcolor or defined $contentfontsize
264 0 35 if defined $thiscontentcolor
265 0 35 if defined $contentfontsize
266 0 35 if defined $thiscontentcolor or defined $contentfontsize
268 30 5 if $thisday
269 0 35 if defined $thiscontentcolor or defined $contentfontsize
277 35 0 if (exists $$self{'events'}{$thisday})
283 0 0 if ($preoffset)
300 1 34 if ($self->year == $todayyear and $self->month == $todaymonth and $thisday == $todaydate) { }
10 24 elsif ($DAY == $_sunday_index or $DAY == $_saturday_index) { }
321 0 35 if $nowrap
322 0 35 if defined $thiscellclass
323 0 35 if defined $cellheight
324 35 0 if defined $cellwidth
325 35 0 if defined $vcellalignment
326 35 0 if defined $cellalignment
327 0 35 if defined $thisbgcolor
328 0 35 if defined $thisbordercolor
336 0 1 if ($sharpborders)