line |
!l |
l&&!r |
l&&r |
condition |
236
|
0 |
0 |
0 |
exists $self->result->{'data'} and ref($self->result->{'data'})->isa('HiPi::RF::OpenThings::Message') |
256
|
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' |
277
|
0 |
0 |
0 |
$data->{'spi_device'} and $data->{'can_rx'} eq 'YES' |
278
|
0 |
0 |
0 |
$data->{'spi_device'} and $data->{'can_rx'} eq 'YES' |
376
|
0 |
0 |
0 |
exists $self->result->{'data'} and ref($self->result->{'data'})->isa('HiPi::RF::OpenThings::Message') |
477
|
0 |
0 |
0 |
$self->options->{'reset'} and $self->options->{'reset'} =~ /^\d+$/ |
713
|
0 |
0 |
0 |
$switch and $switch =~ /^1|2|3|4$/ |
786
|
0 |
0 |
0 |
$self->receiver and not $group |
818
|
0 |
0 |
0 |
defined $switch and $switch =~ /^0|1|2|3|4$/ |
836
|
0 |
0 |
0 |
$self->options->{'on'} and $self->options->{'off'} |
900
|
0 |
0 |
0 |
$switch and $switch =~ /^|1|2|3|4$/ |
953
|
0 |
0 |
0 |
$self->conf->{'switches'}{$switchname}{'switch'} == $switch and $self->conf->{'switches'}{$switchname}{'group'} == $group |
1207
|
0 |
0 |
0 |
$self->options->{'on'} and $self->options->{'off'} |
line |
l |
!l&&r |
!l&&!r |
condition |
173
|
0 |
0 |
0 |
length $command > 40 or not $command =~ /^[a-z]+$/ |
256
|
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' |
400
|
0 |
0 |
0 |
$error //= $errorcode |
411
|
0 |
0 |
0 |
$error //= $errorcode |
528
|
0 |
0 |
0 |
$delete or $rename |
575
|
0 |
0 |
0 |
$create or $rename |
607
|
0 |
0 |
0 |
$delete or $create |
744
|
0 |
0 |
0 |
$name ||= "${groupname}_switch_$switch" |
827
|
0 |
0 |
0 |
$self->options->{'on'} or $self->options->{'off'} |
1198
|
0 |
0 |
0 |
$self->options->{'on'} or $self->options->{'off'} |
1351
|
0 |
0 |
0 |
$result->{'catch_errorcode'} || $alterror |