Branch Coverage

blib/lib/Date/Extract.pm
Criterion Covered Total %
branch 24 26 92.3


line true false branch
29 1 4 if ($args{'format'} ne "DateTime" and $args{'format'} ne "verbatim" and $args{'format'} ne "epoch")
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 38 unless ref $self
84 51 6 unless wantarray
123 0 5 if $other
169 2 2 $a < $b ? :
170 1 1 $a > $b ? :
191 57 0 defined $handler ? :
202 1 56 if $self->{'format'} eq "verbatim"
206 25 31 if $args{'prefers'} and $args{'prefers'} eq "future"
214 75 3 if $parser->success
217 1 55 if ($self->{'format'} eq "epoch")