Branch Coverage

blib/lib/Date/Extract.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
28 1 4 if ($args{'format'} ne 'DateTime' and $args{'format'} ne 'verbatim' and $args{'format'} ne 'epoch' and $args{'format'} ne 'combined')
35 1 2 if ($args{'returns'} ne 'first' and $args{'returns'} ne 'last' and $args{'returns'} ne 'earliest' and $args{'returns'} ne 'latest' and $args{'returns'} ne 'all' and $args{'returns'} ne 'all_cron')
44 1 1 if ($args{'prefers'} ne 'nearest' and $args{'prefers'} ne 'past' and $args{'prefers'} ne 'future')
76 19 39 unless ref $self
83 52 6 unless wantarray
123 0 5 if $other
169 2 2 $a < $b ? :
170 1 1 $a > $b ? :
191 58 0 defined $handler ? :
210 1 57 if $fmt eq 'verbatim'
213 25 32 if $args{'prefers'} and $args{'prefers'} eq 'future'
220 78 3 if ($parser->success)
226 1 56 if ($fmt eq 'epoch') { }
1 55 elsif ($fmt eq 'combined') { }