blib/lib/Net/SNMP/Transport.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 52 | 3.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
455 | 0 | 0 | 0 | defined $$this{'_socket'} and $$this{'_socket'}->can($AUTOLOAD) |
483 | 0 | 0 | 2 | defined $$this{'_sock_name'} and exists $$SOCKETS{$$this{'_sock_name'}} |
592 | 0 | 0 | 0 | defined $dest_port and $dest_port != $$dest_nh{'port'} |
602 | 0 | 0 | 0 | defined $sock_port and $sock_port != $$sock_nh{'port'} |
642 | 0 | 3 | 0 | $this->connectionless && exists $$SOCKETS{$$this{'_sock_name'}} |
line | l | !l | condition |
---|---|---|---|
300 | 0 | 0 | $_[0]{'_error'} || '' |
816 | 0 | 0 | (@_ > 1 ? sprintf(shift @_, @_) : $_[0]) || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
211 | 0 | 0 | 0 | $size < MSG_SIZE_MINIMUM() or $size > MSG_SIZE_MAXIMUM() |
241 | 0 | 0 | 0 | $timeout < TIMEOUT_MINIMUM() or $timeout > TIMEOUT_MAXIMUM() |
268 | 0 | 0 | 0 | $retries < RETRIES_MINIMUM() or $retries > RETRIES_MAXIMUM() |
321 | 0 | 0 | 0 | $_[0]{'_socket'}->sockname || $_[0]{'_sock_name'} |
329 | 0 | 0 | 0 | $_[0]{'_sock_hostname'} || $_[0]->sock_address |
369 | 0 | 0 | 0 | $_[0]{'_dest_hostname'} || $_[0]->dest_address |
405 | 0 | 0 | 0 | $_[0]{'_socket'}->peername || $_[0]->dest_name |
581 | 0 | 0 | 0 | /^-?hostname$/i or /^-?(?:de?st|peer)?addr$/i |
0 | 0 | 0 | /^-?maxmsgsize$/i or /^-?mtu$/i | |
609 | 0 | 0 | 0 | not $argv{$_} =~ /^\d+$/ or $argv{$_} < 1 |
724 | 0 | 0 | 0 | getservbyname($serv, $this->_protocol_name) || $port |