Branch Coverage

blib/lib/Apache/Voodoo.pm
Criterion Covered Total %
branch 0 122 0.0


line true false branch
30 0 0 if (ref $Apache::Voodoo::Engine::debug)
38 0 0 if (ref $Apache::Voodoo::Engine::debug)
46 0 0 if (ref $Apache::Voodoo::Engine::debug)
54 0 0 if (ref $Apache::Voodoo::Engine::debug)
62 0 0 if (ref $Apache::Voodoo::Engine::debug)
71 0 0 if (ref $Apache::Voodoo::Engine::debug)
79 0 0 if (ref $Apache::Voodoo::Engine::debug)
87 0 0 if (defined $Apache::Voodoo::Engine::debug)
112 0 0 if (@_ == 3) { }
0 0 elsif (@_ >= 2 and $_[0] =~ /^\s*[\w:\.-]+\s*$/) { }
126 0 0 if (ref $t) { }
147 0 0 if (ref $t) { }
187 0 0 if ($targets{$$history[$i]{'uri'}})
210 0 0 if exists $$o{$key}
213 0 0 if (defined $$o{$key}) { }
214 0 0 if (ref $$o{$key}) { }
218 0 0 if length $$o{$key}
224 0 0 if (ref $$h{$key}) { }
228 0 0 if defined $$h{$key} and length $$h{$key}
235 0 0 if $used{$key}
237 0 0 if (ref $$o{$key}) { }
241 0 0 if length $$o{$key}
253 0 0 unless (ref $select)
259 0 0 defined $selected{$$_[0]} ? :
331 0 0 unless length $date
337 0 0 if ($y < 1000)
367 0 0 if (defined $$params{$column . '_present'}) { }
372 0 0 if (not defined $$params{$column . '_month'}) { }
0 0 elsif ($$params{$column . '_month'} < 1 or $$params{$column . '_month'} > 12) { }
381 0 0 if (not defined $$params{$column . '_year'}) { }
0 0 elsif ($$params{$column . '_year'} < 1000 or $$params{$column . '_year'} > 9999) { }
390 0 0 if ($ok == 1)
422 0 0 if (not defined $date or $date eq 'NULL' or $date =~ /^\s*$/)
437 0 0 if (not defined $time or $time eq 'NULL' or $time =~ /^\s*$/)
445 0 0 if ($h == 12)
448 0 0 if ($h == 0) { }
0 0 elsif ($h > 12) { }
466 0 0 unless ($time =~ /^\d?\d:\d\d(am|pm)?$/io)
471 0 0 if ($time =~ s/([ap])m$//gio)
472 0 0 lc $1 eq 'p' ? :
477 0 0 if ($m < 0 or $m > 60)
479 0 0 if ($h < 0 or $h > 23)
482 0 0 if ($pm eq '1' and $h < 12) { }
0 0 elsif ($pm eq '0' and $h == 12) { }
509 0 0 if ($ey < $sy) { }
0 0 elsif ($ey == $sy) { }
513 0 0 if ($em < $sm) { }
0 0 elsif ($em == $sm) { }
517 0 0 if ($ed < $sd)
558 0 0 if (not $m =~ /^\d+$/ or $m < 1 or $m > 12)
563 0 0 if ($m == 2 and $d == 29)
564 0 0 unless ($y % 4 == 0 and $y % 100 != 0 or $y % 400 == 0)
570 0 0 if (not $d =~ /^\d+$/ or $d < 1 or $d > $md{$m})
575 0 0 if (not $y =~ /^\d+$/ or $y < 1000 or $y > 9999)
579 0 0 if ($check_future == 1)
586 0 0 if ($y < $Y) { }
0 0 elsif ($y == $Y) { }
590 0 0 if ($m < $M) { }
0 0 elsif ($m == $M) { }
594 0 0 if ($d <= $D)
613 0 0 if ($ms)