Condition Coverage

blib/lib/SNMP/ToolBox.pm
Criterion Covered Total %
condition 15 19 78.9


and 2 conditions

line l !l condition
34 39 4 $v && (return $v)

and 3 conditions

line !l l&&!r l&&r condition
65 48 21 66 $walk_base and index($$oid_list[$i], $walk_base) != 0
83 3 0 11 defined $next_oid_idx && $next_oid_idx <= $#{$oid_list;}

or 2 conditions

line l !l condition
34 43 0 $a[$_] || 0
43 0 $b[$_] || 0
58 12 2 $req_oid ||= ''
59 9 5 $walk_base ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
34 0 4 39 $v ||= ($a[$_] || 0) <=> ($b[$_] || 0)