Branch Coverage

blib/lib/Device/Modbus/RTU/Server.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
45 5838 1 if ($@)
46 0 5838 if (not $@ =~ /^Timeout/) { }
55 0 1 unless defined $req_adu and defined $req_adu->message
59 0 1 if ($req_adu->message->isa('Device::Modbus::Exception'))
103 0 7 if (defined $level)
111 0 7 unless $level <= $self->log_level
115 0 7 ref $msg ? :