line |
true |
false |
branch |
75
|
0 |
0 |
if @_ |
76
|
0 |
0 |
unless defined $self->{'relay'} |
84
|
0 |
0 |
if $relay =~ /\A[0-9]\Z/ |
86
|
0 |
0 |
if $relay eq "POWER" |
87
|
0 |
0 |
unless $relay =~ /\APOWER[0-9]\Z/ |
137
|
0 |
0 |
if @_ |
138
|
0 |
0 |
unless defined $self->{'user'} |
154
|
0 |
0 |
if @_ |
155
|
0 |
0 |
unless defined $self->{'password'} |
174
|
0 |
0 |
unless ($self->{'name'}) |
176
|
0 |
0 |
if ($relay eq 'POWER0') { } |
242
|
0 |
0 |
$arg ? : |
248
|
0 |
0 |
grep({$_ eq 'ON';} values %$hash) ? : |
|
0 |
0 |
$relay eq 'POWER0' ? : |
|
0 |
0 |
$relay eq 'POWER1' ? : |
257
|
0 |
0 |
$self->user ? : |
264
|
0 |
0 |
unless ref $hash eq "HASH" |