| line |
true |
false |
branch |
|
111
|
0 |
0 |
unless %periods and keys %periods |
|
118
|
0 |
0 |
if defined $finish |
|
119
|
0 |
0 |
if ($start and $curtime >= $start and $finish and $curtime <= $finish) |
|
129
|
0 |
3 |
unless is_hash($us) and keys %$us |
|
137
|
4 |
5 |
if $channel and lc $chname ne lc $channel |
|
139
|
2 |
3 |
unless $ch and keys %$ch |
|
145
|
1 |
20 |
unless defined $s |
|
148
|
6 |
14 |
if ($r) { } |
|
149
|
5 |
1 |
if $r->[0] and $r->[0] > $s |
|
150
|
6 |
0 |
if $r->[1] and $r->[1] < $f |
|
162
|
7 |
14 |
unless is_array($r) |
|
163
|
0 |
14 |
if $j < 0 |
|
173
|
0 |
21 |
unless defined $period |
|
176
|
1 |
20 |
if ($period =~ /^\-+$/) { } |
|
|
0 |
20 |
elsif ($period =~ /none|no|undef|off/i) { } |
|
|
20 |
0 |
elsif ($period =~ /(\d{1,2})\s*\:\s*(\d{1,2})\s*\-+\s*(\d{1,2})\s*\:\s*(\d{1,2})/) { } |
|
|
0 |
0 |
elsif ($period =~ /(\d{1,2})\s*\-+\s*(\d{1,2})\s*\:\s*(\d{1,2})/) { } |
|
|
0 |
0 |
elsif ($period =~ /(\d{1,2})\s*\-+\s*(\d{1,2})/) { } |
|
196
|
0 |
20 |
if $start < 0 or $start > 86399 |
|
197
|
0 |
20 |
if $finish <= 0 or $finish > 86399 |