Branch Coverage

blib/lib/Device/ProXR/RelayControl.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
164 0 0 if (defined $bank and not defined $relay)
172 0 0 unless $self->_valid_bank_and_relay($bank, $relay)
174 0 0 unless ($bank)
226 0 0 if (defined $bank and not defined $relay)
234 0 0 unless $self->_valid_bank_and_relay($bank, $relay)
236 0 0 unless ($bank)
282 0 0 unless $self->_valid_bank_and_relay($bank, $relay)
284 0 0 unless ($bank)
295 0 0 if (defined $resp and length $resp)
344 0 0 if (defined $bank and not defined $relay)
352 0 0 unless $self->_valid_bank_and_relay($bank, $relay)
354 0 0 unless ($bank)
361 0 0 $on ? :
470 0 0 unless $self->_valid_bank($bank)
472 0 0 unless ($bank)
515 0 0 unless $self->_valid_bank($bank)
517 0 0 unless ($bank)
560 0 0 unless $self->_valid_bank($bank)
562 0 0 unless ($bank)
605 0 0 unless $self->_valid_bank($bank)
607 0 0 unless ($bank)
650 0 0 unless $self->_valid_bank($bank)
652 0 0 unless ($bank)
663 0 0 if (defined $resp and length $resp)
702 0 0 unless (defined $bank)
707 0 0 unless ($bank =~ /\A\d+\Z/x)
712 0 0 if ($bank < 0 or $bank > 255)
734 0 0 unless (defined $relay)
739 0 0 unless ($relay =~ /\A\d+\Z/x)
744 0 0 if ($relay < 0 or $relay > 7)