Condition Coverage

blib/lib/Date/Extract.pm
Criterion Covered Total %
condition 45 60 75.0


and 3 conditions

line !l l&&!r l&&r condition
28 36 2 5 $args{'format'} ne 'DateTime' and $args{'format'} ne 'verbatim'
38 2 3 $args{'format'} ne 'DateTime' and $args{'format'} ne 'verbatim' and $args{'format'} ne 'epoch'
4 2 1 $args{'format'} ne 'DateTime' and $args{'format'} ne 'verbatim' and $args{'format'} ne 'epoch' and $args{'format'} ne 'combined'
35 36 1 5 $args{'returns'} ne 'first' and $args{'returns'} ne 'last'
37 1 4 $args{'returns'} ne 'first' and $args{'returns'} ne 'last' and $args{'returns'} ne 'earliest'
2 1 3 $args{'returns'} ne 'first' and $args{'returns'} ne 'last' and $args{'returns'} ne 'earliest' and $args{'returns'} ne 'latest'
2 1 2 $args{'returns'} ne 'first' and $args{'returns'} ne 'last' and $args{'returns'} ne 'earliest' and $args{'returns'} ne 'latest' and $args{'returns'} ne 'all'
2 1 1 $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 39 0 2 $args{'prefers'} ne 'nearest' and $args{'prefers'} ne 'past'
39 1 1 $args{'prefers'} ne 'nearest' and $args{'prefers'} ne 'past' and $args{'prefers'} ne 'future'
213 0 32 25 $args{'prefers'} and $args{'prefers'} eq 'future'

or 3 conditions

line l !l&&r !l&&!r condition
50 0 40 0 ref $class || $class
64 0 58 0 $$to{'format'} ||= $$from{'format'}
65 0 58 0 $$to{'prefers'} ||= $$from{'prefers'}
66 8 50 0 $$to{'returns'} ||= $$from{'returns'}
67 0 58 0 $$to{'time_zone'} ||= $$from{'time_zone'}
181 47 5 0 $self->scalar_downgrade || $self->_build_scalar_downgrade
182 2 50 0 $$downgrades{$returns} || $returns
189 53 5 0 $self->handlers || $self->_build_handlers
201 53 5 0 $self->regex || $self->_build_regex