Branch Coverage

blib/lib/ORM/Date.pm
Criterion Covered Total %
branch 2 34 5.8


line true false branch
37 0 0 if $err
38 0 0 if $err
39 0 0 if $err
40 0 0 if $err
41 0 0 if $err
42 0 0 if $err
43 0 0 if $err
44 0 0 if $err
77 0 7 unless (defined $time)
91 0 0 if ($str =~ /^(\d{4,4})\-0*(\d+)\-0*(\d+)$/) { }
0 0 elsif ($str =~ /^(\d{4,4})\-0*(\d+)\-0*(\d+)(\s+0*(\d+)\:0*(\d+)(\:0*(\d+))?)$/) { }
108 0 0 if (ref $class) { }
223 26 0 $use_local_tz ? :
236 0 0 $use_local_tz ? :
241 0 0 $_[2] ? :
244 0 0 if (not UNIVERSAL::isa($arg[0], 'ORM::Date')) { }
0 0 elsif (not UNIVERSAL::isa($arg[1], 'ORM::Date')) { }