Branch Coverage

blib/lib/HiPi/Device/SerialPort.pm
Criterion Covered Total %
branch 0 12 0.0


line true false branch
45 0 0 if exists $userparams{$key}
50 0 0 unless exists $params{$key}
53 0 0 unless my $driver = 'Device::SerialPort'->new($params{'devicename'})
77 0 0 unless $self->portopen
93 0 0 unless $_[0]->portopen
95 0 0 unless $_[0]->serialdriver->close