| blib/lib/Log/Dispatch/SNMP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 10 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 34 | 39 | 33 | if (exists $parameters{$key}) |
| 92 | 0 | 2 | unless $$self{'session'} |
| 102 | 0 | 0 | unless $$self{'session'} |
| 121 | 0 | 0 | if (not $$self{'session'}->trap(-'enterprise', $$self{'EnterpriseOID'}, -'generictrap', $$self{'GenericTrapType'}, -'specifictrap', $$self{'SpecificTrapType'}, -'varbindlist', \@varbindlist)) |
| 134 | 2 | 6 | if ($$self{'session'}) |