Branch Coverage

blib/lib/Date/Extract/PERLANCAR.pm
Criterion Covered Total %
branch 22 28 78.5


line true false branch
31 0 2 if ($args{'format'} ne 'DateTime' and $args{'format'} ne 'verbatim' and $args{'format'} ne 'epoch' and $args{'format'} ne 'combined')
38 0 0 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')
47 0 1 if ($args{'prefers'} ne 'nearest' and $args{'prefers'} ne 'past' and $args{'prefers'} ne 'future')
79 19 41 unless ref $self
87 54 6 unless wantarray
127 0 5 if $other
174 2 2 $a < $b ? :
175 1 1 $a > $b ? :
196 60 0 defined $handler ? :
215 1 59 if $fmt eq 'verbatim'
219 27 32 if $args{'prefers'} and $args{'prefers'} eq 'future'
225 80 3 if ($parser->success)
231 1 58 if ($fmt eq 'epoch') { }
1 57 elsif ($fmt eq 'combined') { }