blib/lib/SNMP/Extension/PassPersist.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 38 | 36.8 |
line | l | !l | condition |
---|---|---|---|
202 | 0 | 0 | syslog('err', $msg) and die $msg |
488 | 0 | 0 | $curr_entry_idx = $i and last |
491 | 0 | 0 | $curr_entry_idx = $i - 1 and last |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
87 | 12 | 3 | 2 | $ref and $ref eq 'HASH' |
103 | 16 | 4 | 2 | defined $attrs{$code_attr} and ref $attrs{$code_attr} ne 'CODE' |
164 | 1 | 3 | 0 | $mode_passpersist and $backend_fork |
224 | 1 | 0 | 2 | $needed and $counter > 0 |
243 | 2 | 0 | 0 | $backend_fork and $fh == $pipe |
491 | 0 | 0 | 0 | $curr_entry_idx == -1 and index($$entries[$i], $req_oid) >= 0 |
line | l | !l | condition |
---|---|---|---|
496 | 0 | 0 | $$entries[$curr_entry_idx + 1] || 'NONE' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
99 | 6 | 2 | 0 | $known_attr{$_} or delete $attrs{$_} |
146 | 0 | 4 | 0 | $main::COMMAND || basename($0) |
417 | 0 | 0 | 0 | $self->fetch_next_entry($req_oid) || $self->fetch_first_entry |
530 | 0 | 0 | 0 | $v ||= $a[$_] <=> $b[$_] |