Branch Coverage

blib/lib/HiPi/Interface/EnergenieSwitch.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
52 0 0 unless (defined $params{'device'})
54 0 0 if ($params{'backend'} eq 'ENER314_RT') { }
0 0 elsif ($params{'backend'} eq 'RF69HW') { }
0 0 elsif ($params{'backend'} eq 'ENER314') { }
93 0 0 unless $socket =~ /^1|2|3|4$/
109 0 0 unless $socket =~ /^0|1|2|3|4$/
110 0 0 $offon ? :
119 0 0 unless $self->backend =~ /^ENER314_RT|RF69HW$/
120 0 0 unless $socket =~ /^0|1|2|3|4$/
121 0 0 $offon ? :