| blib/lib/Sendmail/PMilter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 3 | 44 | 6.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 376 | 0 | 0 | 0 | defined $max_interpreters and $max_interpreters =~ /^\d+$/u |
| 377 | 0 | 0 | 0 | defined $max_requests and $max_requests =~ /^\d+$/u |
| 459 | 0 | 0 | 0 | defined $cb and not UNIVERSAL::isa($cb, "CODE") |
| 532 | 0 | 0 | 0 | -e $path and not -S $path |
| 543 | 0 | 0 | 0 | defined $socket and not $socket->bind($addr) |
| 929 | 0 | 0 | 0 | $child_sem and not $child_sem->down_nb |
| line | l | !l | condition |
|---|---|---|---|
| 382 | 0 | 0 | $ENV{'PMILTER_DISPATCHER'} || 'postfork' |
| 470 | 0 | 0 | shift() || 0 |
| 517 | 0 | 0 | $this->{'backlog'} || 5 |
| 685 | 4 | 1 | shift() || die("milter name not supplied\n") |
| 940 | 0 | 0 | 'threads'->create($child_sub, $socket) || die("thread creation failed: $!\n") |
| 1006 | 0 | 0 | $this->get_max_requests || $params{'max_requests_per_child'} || 100 |
| 1055 | 0 | 0 | $this->get_max_interpreters || $params{'max_children'} || 10 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 523 | 0 | 0 | 0 | $1 eq "local" or $1 eq "unix" |
| 686 | 0 | 4 | 0 | shift() || $this->get_sendmail_cf |
| 767 | 0 | 0 | 0 | shift() || $this->get_sendmail_cf |
| 819 | 0 | 0 | 0 | shift() || $this->get_sendmail_cf |