line |
true |
false |
branch |
32
|
0 |
0 |
if @_ > 0 |
70
|
0 |
9 |
unless exists $$self{'inputs'}{$input} |
74
|
0 |
9 |
if ($sig == 1000) |
80
|
0 |
9 |
if ($sig == 2) { } |
|
1 |
8 |
elsif ($sig == -2) { } |
92
|
0 |
8 |
if ($$self{'and'} and scalar keys %{$$self{'inputs'};} > 1) |
101
|
0 |
0 |
if $$in{$i} != $sig |
104
|
1 |
7 |
unless $$self{'active'} == 1 |
107
|
1 |
6 |
if (defined $$self{'fixed_output'}) { } |
|
0 |
6 |
elsif ($$self{'invert'}) { } |
118
|
0 |
7 |
if ($$self{'count'} != 1 or $$self{'delay'} != 0) { } |
135
|
0 |
7 |
if $$self{'once'} |
143
|
1 |
4 |
if ($$self{'and'} and scalar keys %{$$self{'inputs'};} > 1) |
169
|
0 |
0 |
if ($$self{'and'} and scalar keys %{$$self{'inputs'};} > 1) |
185
|
0 |
1 |
if defined $delay |
186
|
0 |
1 |
if defined $repeat |
187
|
0 |
1 |
if defined $rand |
199
|
3 |
1 |
if (defined $_[0]) |
210
|
0 |
0 |
$_[0] ? : |
|
0 |
1 |
if @_ > 0 |
218
|
0 |
0 |
$_[0] ? : |
|
0 |
1 |
if @_ > 0 |
226
|
0 |
1 |
if @_ > 0 |
234
|
2 |
1 |
if (@_ > 0) |
236
|
1 |
1 |
$_[0] ? : |