Branch Coverage

blib/lib/Gantry/Plugins/Calendar.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
34 0 0 unless $chk->is_text($name)
35 0 0 unless $chk->is_number($year)
36 0 0 unless $chk->is_number($month)
81 0 0 unless ($form_id =~ /^document\./i)
115 0 0 if (not $chk->is_integer($month) or $month > 13 or $month < 1)
120 0 0 if (not $chk->is_integer($year) or length $year != 4)
127 0 0 $offset == 7 ? :
132 0 0 if (defined $select and $select) { }
145 0 0 $month - 1 < 1 ? :
0 0 $month + 1 > 12 ? :
189 0 0 $month_max % 7 + $offset > 7 ? :
198 0 0 if ($k > 0 and $k < $month_max + 1) { }
224 0 0 unless $chk->is_number($day)
225 0 0 unless $chk->is_number($month)
226 0 0 unless $chk->is_number($year)
227 0 0 unless check_date($year, $month, $day)
292 0 0 if (not $chk->is_number($year) or length $year != 4)
314 0 0 if $i % 3 == 0