Branch Coverage

blib/lib/HiPi/Energenie/ENER314_RT.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
97 0 0 unless (defined $params{'device'})
141 0 0 unless scalar @$bytes
188 0 0 unless $self->led_on
189 0 0 if (my $redpin = $self->led_red)
193 0 0 if (my $greenpin = $self->led_green)
201 0 0 unless $self->led_on
202 0 0 if (my $redpin = $self->led_red)
210 0 0 unless $self->led_on
211 0 0 if (my $greenpin = $self->led_green)
224 0 0 if (my $buffer = $self->device->receive_message)
237 0 0 unless $msg->is_encoded