Condition Coverage

blib/lib/NSNMP/Agent.pm
Criterion Covered Total %
condition 11 17 64.7


and 3 conditions

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'}

or 2 conditions

line l !l condition
61 1 21 $$self{'community'} ||= 'public'

or 3 conditions

line l !l&&r !l&&!r condition
92 3 1 0 $$oids[++$$self{'lastoid_idx'}] || 'NSNMP'->encode_oid('.1.3')