| blib/lib/Cisco/SNMP/Password.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 20 | 70.0 |
| line | true | false | branch |
|---|---|---|---|
| 43 | 53 | 0 | if ($self =~ /^Cisco::SNMP/) { } |
| 49 | 53 | 0 | if ($passwd =~ /^[\da-f]+$/i and length $passwd > 2) |
| 50 | 53 | 0 | unless (length $passwd & 1) |
| 56 | 4 | 261 | if ($s > $#xlat) |
| 72 | 3 | 0 | if ($self =~ /^Cisco::SNMP/) { } |
| 82 | 2 | 1 | if (defined $index) |
| 83 | 1 | 1 | if ($index =~ /^\d+$/) { } |
| 0 | 1 | elsif ($index eq '') { } | |
| 84 | 0 | 1 | if ($index < 0 or $index > $#xlat) { } |
| 107 | 4 | 271 | if ($s > $#xlat) |