Branch Coverage

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


line true false branch
49 0 0 unless (defined $params{'device'})
51 0 0 if ($params{'backend'} eq 'ENER314_RT') { }
0 0 elsif ($params{'backend'} eq 'ENER314') { }
74 0 0 unless $socket =~ /^1|2|3|4$/
90 0 0 unless $socket =~ /^0|1|2|3|4$/
91 0 0 $offon ? :
100 0 0 if $self->backend ne 'ENER314_RT'
101 0 0 unless $socket =~ /^0|1|2|3|4$/
102 0 0 $offon ? :