blib/lib/Net/SNMP/Dispatcher.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 38 | 23.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
175 | 0 | 1 | 0 | defined $transport and defined($fileno = $transport->fileno) |
217 | 0 | 1 | 0 | defined $transport and defined($fileno = $transport->fileno) |
303 | 0 | 0 | 0 | $retries-- > 0 and $!{'EAGAIN'} || $!{'EWOULDBLOCK'} |
577 | 8 | 0 | 4 | not $$event[_ACTIVE()] and $$event[_TIME()] |
642 | 0 | 0 | 5 | ref $callback eq 'ARRAY' and ref $$callback[0] eq 'CODE' |
line | l | !l | condition |
---|---|---|---|
251 | 0 | 0 | $_[0]{'_error'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 0 | 1 | 0 | $INSTANCE ||= 'Net::SNMP::Dispatcher'->_new |
84 | 12 | 0 | 1 | defined $$this{'_event_queue_h'} or keys %{$$this{'_descriptors'};} |
97 | 0 | 0 | 0 | defined $$this{'_event_queue_h'} or keys %{$$this{'_descriptors'};} |
103 | 0 | 0 | 0 | defined $$this{'_event_queue_h'} || keys %{$$this{'_descriptors'};} |
123 | 0 | 0 | 0 | @_ < 2 or not ref $pdu |
303 | 0 | 0 | 0 | $!{'EAGAIN'} || $!{'EWOULDBLOCK'} |
606 | 0 | 0 | 8 | not defined $nfound or $nfound < 0 |