| line |
true |
false |
branch |
|
84
|
1 |
79 |
unless (defined $hours_array_ref) |
|
88
|
1 |
78 |
if (ref $hours_array_ref ne 'ARRAY') |
|
92
|
27 |
51 |
if (defined $state) |
|
93
|
0 |
27 |
$state == 0 ? : |
|
104
|
51 |
27 |
if (scalar @hour_states == 0) |
|
128
|
0 |
35 |
if ($day < $SUNDAY or $day > $SATURDAY) |
|
138
|
0 |
235 |
if ($day < $SUNDAY or $day > $SATURDAY) |
|
142
|
0 |
235 |
if (defined $hours_ref and ref $hours_ref ne 'ARRAY') |
|
149
|
14 |
221 |
unless (defined $hours_ref) |
|
153
|
31 |
190 |
if (defined $state) |
|
154
|
14 |
17 |
$state == 0 ? : |
|
161
|
190 |
31 |
if (scalar @hour_states == 0) |
|
179
|
2 |
2 |
unless defined $ts |
|
182
|
2 |
2 |
$$self{'ts'}[$day][$hr] == 1 ? : |
|
205
|
1 |
4 |
unless (defined $serialized) |
|
209
|
1 |
3 |
if (length $serialized != 168) |
|
213
|
1 |
2 |
if ($serialized =~ /[^01]+/) |