line |
!l |
l&&!r |
l&&r |
condition |
235
|
0 |
0 |
0 |
exists $self->result->{'data'} and ref($self->result->{'data'})->isa('HiPi::RF::OpenThings::Message') |
255
|
0 |
0 |
0 |
$self->result->{'command'} eq 'switch' and $self->result->{'option'} eq 'list' |
|
0 |
0 |
0 |
$self->result->{'command'} eq 'switch' and $self->result->{'option'} ne 'list' |
|
0 |
0 |
0 |
$self->result->{'command'} =~ /^adapter|monitor$/ and $self->result->{'option'} eq 'list' |
|
0 |
0 |
0 |
$self->result->{'command'} =~ /^adapter|monitor$/ and $self->result->{'option'} ne 'list' |
276
|
0 |
0 |
0 |
$data->{'spi_device'} and $data->{'can_rx'} eq 'YES' |
277
|
0 |
0 |
0 |
$data->{'spi_device'} and $data->{'can_rx'} eq 'YES' |
375
|
0 |
0 |
0 |
exists $self->result->{'data'} and ref($self->result->{'data'})->isa('HiPi::RF::OpenThings::Message') |
476
|
0 |
0 |
0 |
$self->options->{'reset'} and $self->options->{'reset'} =~ /^\d+$/ |
712
|
0 |
0 |
0 |
$switch and $switch =~ /^1|2|3|4$/ |
785
|
0 |
0 |
0 |
$self->receiver and not $group |
817
|
0 |
0 |
0 |
defined $switch and $switch =~ /^0|1|2|3|4$/ |
835
|
0 |
0 |
0 |
$self->options->{'on'} and $self->options->{'off'} |
899
|
0 |
0 |
0 |
$switch and $switch =~ /^|1|2|3|4$/ |
952
|
0 |
0 |
0 |
$self->conf->{'switches'}{$switchname}{'switch'} == $switch and $self->conf->{'switches'}{$switchname}{'group'} == $group |
1186
|
0 |
0 |
0 |
$self->options->{'on'} and $self->options->{'off'} |
line |
l |
!l&&r |
!l&&!r |
condition |
172
|
0 |
0 |
0 |
length $command > 40 or not $command =~ /^[a-z]+$/ |
255
|
0 |
0 |
0 |
$self->result->{'errorcode'} ne 'ERROR_SUCCESS' or not $self->result->{'success'} |
|
0 |
0 |
0 |
$self->result->{'command'} =~ /^pair|alias$/ or $self->result->{'command'} eq 'switch' and $self->result->{'option'} eq 'list' |
|
0 |
0 |
0 |
$self->result->{'command'} eq 'join' or $self->result->{'command'} =~ /^adapter|monitor$/ and $self->result->{'option'} eq 'list' |
399
|
0 |
0 |
0 |
$error //= $errorcode |
410
|
0 |
0 |
0 |
$error //= $errorcode |
527
|
0 |
0 |
0 |
$delete or $rename |
574
|
0 |
0 |
0 |
$create or $rename |
606
|
0 |
0 |
0 |
$delete or $create |
743
|
0 |
0 |
0 |
$name ||= "${groupname}_switch_$switch" |
826
|
0 |
0 |
0 |
$self->options->{'on'} or $self->options->{'off'} |
1177
|
0 |
0 |
0 |
$self->options->{'on'} or $self->options->{'off'} |
1309
|
0 |
0 |
0 |
$result->{'catch_errorcode'} || $alterror |