blib/lib/NSNMP/Agent.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 17 | 64.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
92 | 0 | 1 | 4 | $lastoid and $oid eq $lastoid |
112 | 5 | 10 | 0 | defined $otype and defined $ovalue |
128 | 0 | 4 | 0 | defined $otype and defined $ovalue |
142 | 0 | 2 | 19 | $dr and $dr->community eq $$self{'community'} |
line | l | !l | condition |
---|---|---|---|
61 | 1 | 21 | $$self{'community'} ||= 'public' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
92 | 3 | 1 | 0 | $$oids[++$$self{'lastoid_idx'}] || 'NSNMP'->encode_oid('.1.3') |