Condition Coverage

blib/lib/DateTime/Format/Natural/Duration/Checks.pm
Criterion Covered Total %
condition 15 18 83.3


and 3 conditions

line !l l&&!r l&&r condition
13 1039 164 55 @$date_strings == 1 and $date_strings->[0] =~ /$duration->{'for'}{'regex'}/
30 164 1012 27 @$date_strings == 2 and $date_strings->[0] =~ /^$regexes{'first'}$/
1176 0 27 @$date_strings == 2 and $date_strings->[0] =~ /^$regexes{'first'}$/ and $date_strings->[1] =~ /^$regexes{'last'}$/
111 95 0 16 @chunks == 2 and &$has_timespan_sep($tokens, \@chunks, $timespan_sep)
233 372 36 899 $date_strings->[0] =~ /$regex_from/ and $date_strings->[1] =~ /$regex_to/
307 41 0 47 @chunks == 2 and &$has_timespan_sep($tokens, \@chunks, $timespan_sep)