line |
true |
false |
branch |
58
|
0 |
5 |
if $sd and $sm |
59
|
5 |
0 |
if ($sd) |
60
|
3 |
2 |
if ($jd - $from) % ($count * $sd) == 0 |
65
|
0 |
0 |
unless $d == $fd |
67
|
0 |
0 |
if $md % ($count * $sm) == 0 |
87
|
0 |
11 |
unless $jd >= $jd_from_limit and $jd <= $jd_to_limit |
96
|
2 |
9 |
if ($frequency =~ /^\s*(?:every\s+)?(\d+)\s+($re_spans)$/i) { } |
|
3 |
6 |
elsif ($frequency =~ /^\s*every\s+($re_span)/i) { } |
|
0 |
6 |
elsif ($frequency =~ /^\s*every\s+$re_nth\s+day\s+each\s+month\s*$/i) { } |
|
3 |
3 |
elsif ($frequency =~ /^\s*(?:each\s+month,?\s+)?on\s+the\s+$re_nth(?:\s+(?:of\s+)?each\s+month)?\s*$/i) { } |
|
0 |
3 |
elsif ($frequency =~ /^\s*every\s+($re_wday)\s*$/i) { } |
|
2 |
1 |
elsif ($frequency =~ /^\s*(?:every|on\s+the)\s$re_small_nth\s+($re_wday)(?:\s+(?:of\s+)?each\s+month)?\s*$/i) { } |
|
0 |
1 |
elsif ($frequency =~ /^\s*range\s*$/) { } |
100
|
1 |
1 |
unless match_span($jd, $jd_from_limit, $count, $name) |
105
|
1 |
2 |
unless match_span($jd, $jd_from_limit, $count, $name) |
109
|
0 |
0 |
unless $dd == $1 |
114
|
1 |
2 |
unless $dd == $1 |
118
|
0 |
0 |
unless $dow = day_of_week($jd) |
128
|
1 |
1 |
unless $dow = day_of_week($jd) |
130
|
0 |
1 |
unless $weeknum == $nth |
132
|
0 |
0 |
unless $jd == $jd_to_limit |
156
|
0 |
6 |
if ($timespan =~ /^(\d+)\s+($re_spans)$/) { } |
|
6 |
0 |
elsif ($timespan =~ /^(\d+)\s+($re_span)$/) { } |
|
0 |
0 |
elsif ($timespan =~ /^\s*all ?time\s*$/) { } |
163
|
0 |
0 |
unless $jd == $jd_to_limit |
180
|
5 |
1 |
if ($count == 1) { } |