Branch Coverage

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


line true false branch
19 333 936 @_ > 1 ? :
25 179 155 if $date =~ /^\d+$|^\d+\.\d+$/u
31 134 21 if ($date =~ /^\w+\W+(\d+)\W+(\w+)\W+(\d+)\W+(\d+):(\d+):(\d+)\W*\w+$/u) { }
10 11 elsif ($date =~ /$RFC3339_RE/u) { }
2 9 elsif ($date =~ /^\w+\s+(\w+)\s+(\d+)\s+(\d+):(\d+):(\d+)\s+(\d+)$/u) { }
38 2 2 $7 eq '+' ? :
4 6 if $7
50 142 4 defined $epoch && ($epoch += $offset) >= 0 ? :
58 1 4 $epoch =~ /(\.\d+)$/u ? :