blib/lib/Cisco/Management.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 148 | 2.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
123 | 0 | 0 | 0 | $params{'version'} <= 2 and not defined $params{'community'} |
242 | 0 | 0 | 0 | $params{'op'} ne 'wr' and not defined $params{'tftpserver'} |
259 | 0 | 0 | 0 | $params{'catos'} and $params{'family'} == $AF_INET6 |
378 | 0 | 0 | 0 | $cpu5min = &_snmpgetnext($session, '1.3.6.1.4.1.9.2.1.58') and defined $$cpu5min[0] |
0 | 0 | 0 | $cpu5min = &_snmpgetnext($session, '1.3.6.1.4.1.9.9.109.1.1.1.1.5') and defined $$cpu5min[0] | |
0 | 0 | 0 | $cpu5min = &_snmpgetnext($session, '1.3.6.1.4.1.9.9.109.1.1.1.1.8') and defined $$cpu5min[0] | |
537 | 0 | 0 | 0 | $rIfNamePart =~ /^$uIfNamePart/i and $rIfNumPart eq $uIfNumPart |
684 | 0 | 0 | 0 | defined $arg and $arg >= 1 |
901 | 0 | 0 | 0 | $args{$_} =~ /^\d+$/ and $args{$_} > 0 |
914 | 0 | 0 | 0 | exists $params{'recur'} and ref $params{'recur'} eq 'Cisco::Management' |
1527 | 0 | 0 | 0 | defined $arg and $arg >= 1 |
1619 | 0 | 0 | 53 | $passwd =~ /^[\da-f]+$/i and length $passwd > 2 |
1880 | 0 | 0 | 0 | @oids == 0 and @vals == 0 |
1939 | 0 | 0 | 0 | defined $h{'port'} and !($h{'port'} =~ /^\d{1,5}$/) || $h{'port'} < 1 || $h{'port'} > 65535 |
1965 | 0 | 0 | 0 | defined $ret and inet_ntoa($ret) eq $h{'host'} |
line | l | !l | condition |
---|---|---|---|
1427 | 0 | 0 | $$response{'1.3.6.1.4.1.9.9.16.1.1.1.9.' . $instance} || 0 |
1428 | 0 | 0 | $$response{'1.3.6.1.4.1.9.9.16.1.1.1.10.' . $instance} || 0 |
1429 | 0 | 0 | $$response{'1.3.6.1.4.1.9.9.16.1.1.1.11.' . $instance} || 0 |
1430 | 0 | 0 | $$response{'1.3.6.1.4.1.9.9.16.1.1.1.12.' . $instance} || 0 |
1431 | 0 | 0 | $$response{'1.3.6.1.4.1.9.9.16.1.1.1.13.' . $instance} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
77 | 0 | 0 | 0 | ref $self || $self |
92 | 0 | 0 | 0 | /^-?hostname$/i or /^-?(?:de?st|peer)?addr$/i |
166 | 0 | 0 | 0 | ref $self || $self |
192 | 0 | 0 | 0 | /^-?(?:tftp)?server$/i or /^-?tftp$/ |
372 | 0 | 0 | 0 | ref $self || $self |
441 | 0 | 0 | 0 | ref $self || $self |
456 | 0 | 0 | 0 | /^-?interface$/i or /^-?index$/i |
488 | 0 | 0 | 0 | ref $self || $self |
559 | 0 | 0 | 0 | ref $self || $self |
652 | 0 | 0 | 0 | ref $self || $self |
696 | 0 | 0 | 0 | ref $self || $self |
888 | 0 | 0 | 0 | ref $self || $self |
900 | 0 | 0 | 0 | /^-?polling$/i or /^-?interval$/i |
953 | 0 | 0 | 0 | ref $self || $self |
975 | 0 | 0 | 0 | /^-?operation$/i or /^-?command$/i |
1013 | 0 | 0 | 0 | ref $self || $self |
1027 | 0 | 0 | 0 | /^-?range$/i or /^-?line(?:s)?$/i |
1057 | 0 | 0 | 0 | ref $self || $self |
1125 | 0 | 0 | 0 | ref $self || $self |
1173 | 0 | 0 | 0 | ref $self || $self |
1228 | 0 | 0 | 0 | ref $self || $self |
1243 | 0 | 0 | 0 | ref $self || $self |
1274 | 0 | 0 | 0 | ref $self || $self |
1297 | 0 | 0 | 0 | /^-?host(?:name)?$/i or /^-?dest(?:ination)?$/i |
0 | 0 | 0 | /^-?wait$/i or /^-?timeout$/i | |
1465 | 0 | 0 | 0 | ref $self || $self |
1559 | 0 | 0 | 0 | ref $self || $self |
1609 | 0 | 53 | 0 | ref $self || $self |
1639 | 0 | 3 | 0 | ref $self || $self |
1655 | 0 | 0 | 1 | $index < 0 or $index > $#xlat |
1939 | 0 | 0 | 0 | !($h{'port'} =~ /^\d{1,5}$/) || $h{'port'} < 1 || $h{'port'} > 65535 |