Branch Coverage

blib/lib/Mojo/Date.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
19 312 828 @_ > 1 ? :
25 164 149 if $date =~ /^\d+$|^\d+\.\d+$/
31 128 21 if ($date =~ /^\w+\W+(\d+)\W+(\w+)\W+(\d+)\W+(\d+):(\d+):(\d+)\W*\w+$/) { }
10 11 elsif ($date =~ /$RFC3339_RE/) { }
2 9 elsif ($date =~ /^\w+\s+(\w+)\s+(\d+)\s+(\d+):(\d+):(\d+)\s+(\d+)$/) { }
38 2 2 $7 eq '+' ? :
4 6 if $7
50 136 4 defined $epoch && ($epoch += $offset) >= 0 ? :
60 1 4 $epoch =~ /(\.\d+)$/ ? :