line |
true |
false |
branch |
13
|
55 |
1203 |
if (@$date_strings == 1 and $date_strings->[0] =~ /$duration->{'for'}{'regex'}/) { }
|
30
|
27 |
1176 |
if (@$date_strings == 2 and $date_strings->[0] =~ /^$regexes{'first'}$/ and $date_strings->[1] =~ /^$regexes{'last'}$/) { }
|
91
|
0 |
111 |
unless @$date_strings == 2
|
103
|
17 |
94 |
if ($date_strings->[0] =~ /(?=($regexes{'first'})$)/g)
|
107
|
17 |
94 |
if ($date_strings->[1] =~ /(?=^($regexes{'last'}))/g)
|
111
|
16 |
95 |
if (@chunks == 2 and &$has_timespan_sep($tokens, \@chunks, $timespan_sep)) { }
|
180
|
164 |
1012 |
unless @$date_strings == 2
|
183
|
104 |
908 |
unless &$duration_matches($duration, $date_strings, \$entry, \$target)
|
233
|
899 |
408 |
if ($date_strings->[0] =~ /$regex_from/ and $date_strings->[1] =~ /$regex_to/)
|
251
|
0 |
95 |
unless @$date_strings == 2
|
256
|
35 |
60 |
unless &$duration_matches($duration, $date_strings, \$entry, \$target)
|
299
|
57 |
31 |
if ($date_strings->[0] =~ /(?=($regex_from)$)/g)
|
303
|
57 |
31 |
if ($date_strings->[1] =~ /(?=^($regex_to))/g)
|
307
|
47 |
41 |
if (@chunks == 2 and &$has_timespan_sep($tokens, \@chunks, $timespan_sep))
|