Condition Coverage

blib/lib/Net/SNMP/PDU.pm
Criterion Covered Total %
condition 5 54 9.2


and 3 conditions

line !l l&&!r l&&r condition
178 0 0 0 $$this{'_transport'}->domain ne DOMAIN_UDPIPV4() and $$this{'_transport'}->domain ne DOMAIN_TCPIPV4()
297 0 0 0 defined $oids and ref $oids eq 'ARRAY'
306 0 0 0 $$this{'_error_status'} == @{$oids;} and $$this{'_error_index'}
883 1 0 0 $$this{'_error_status'} and $$this{'_pdu_type'} == GET_RESPONSE()

or 2 conditions

line l !l condition
359 1 0 $var_bind || []
375 0 0 $var_bind || []
458 0 0 $$this{'_error_status'} || 0
480 0 0 $$this{'_error_index'} || 0
487 0 0 $_[0]{'_error_status'} || 0
494 0 0 $_[0]{'_error_index'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
421 0 0 1 $$this{'_pdu_type'} == GET_RESPONSE() or $$this{'_pdu_type'} == TRAP()
0 0 1 $$this{'_pdu_type'} == GET_RESPONSE() or $$this{'_pdu_type'} == TRAP() or $$this{'_pdu_type'} == SNMPV2_TRAP()
0 0 1 $$this{'_pdu_type'} == GET_RESPONSE() or $$this{'_pdu_type'} == TRAP() or $$this{'_pdu_type'} == SNMPV2_TRAP() or $$this{'_pdu_type'} == REPORT()
447 0 0 0 $status < 0 or $status > ($this->version > SNMP_VERSION_1() ? 18 : 5)
471 0 0 0 $index < 0 or $index > 2147483647
540 0 0 0 not defined $vbl or ref $vbl ne 'HASH'
561 0 0 0 not defined $types or ref $types ne 'HASH'
581 0 0 0 defined $$this{'_error'} or not defined $$this{'_var_bind_names'}
606 0 0 0 $$this{'_version'} < SNMP_VERSION_3() or $$this{'_scoped'}
1015 0 0 0 $_[0] > $#error_status or $_[0] < 0