Condition Coverage

blib/lib/Date/Extract.pm
Criterion Covered Total %
condition 42 57 73.6


and 3 conditions

line !l l&&!r l&&r condition
27 36 2 3 $args{'format'} ne 'DateTime' and $args{'format'} ne 'verbatim'
38 2 1 $args{'format'} ne 'DateTime' and $args{'format'} ne 'verbatim' and $args{'format'} ne 'epoch'
33 34 1 5 $args{'returns'} ne 'first' and $args{'returns'} ne 'last'
35 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'
42 37 0 2 $args{'prefers'} ne 'nearest' and $args{'prefers'} ne 'past'
37 1 1 $args{'prefers'} ne 'nearest' and $args{'prefers'} ne 'past' and $args{'prefers'} ne 'future'
203 0 31 25 $args{'prefers'} and $args{'prefers'} eq 'future'

or 3 conditions

line l !l&&r !l&&!r condition
48 0 38 0 ref $class || $class
62 0 57 0 $$to{'format'} ||= $$from{'format'}
63 0 57 0 $$to{'prefers'} ||= $$from{'prefers'}
64 8 49 0 $$to{'returns'} ||= $$from{'returns'}
65 0 57 0 $$to{'time_zone'} ||= $$from{'time_zone'}
179 46 5 0 $self->scalar_downgrade || $self->_build_scalar_downgrade
180 2 49 0 $$downgrades{$returns} || $returns
187 52 5 0 $self->handlers || $self->_build_handlers
197 52 5 0 $self->regex || $self->_build_regex