blib/lib/Metabrik/Server/Snmptrap.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 18 | 0.0 |
line | true | false | branch |
---|---|---|---|
54 | 0 | 0 | if ($port < 1024 and $< != 0) |
58 | 0 | 0 | unless my $proc = "Net::SNMPTrapd"->new |
61 | 0 | 0 | unless my $wf = "Metabrik::Worker::Fork"->new_from_brik_init($self) |
63 | 0 | 0 | unless defined(my $pid = $wf->start) |
66 | 0 | 0 | unless ($pid) |
71 | 0 | 0 | if (not defined $trap) { } |
0 | 0 | elsif ($trap == 0) { } | |
79 | 0 | 0 | if (not defined $trap->process_trap) { } |
107 | 0 | 0 | if (defined $wf) |