| blib/lib/Sendmail/PMilter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 3 | 44 | 6.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 346 | 0 | 0 | 0 | defined $max_interpreters and $max_interpreters =~ /^\d+$/u |
| 347 | 0 | 0 | 0 | defined $max_requests and $max_requests =~ /^\d+$/u |
| 429 | 0 | 0 | 0 | defined $cb and not UNIVERSAL::isa($cb, "CODE") |
| 502 | 0 | 0 | 0 | -e $path and not -S $path |
| 513 | 0 | 0 | 0 | defined $socket and not $socket->bind($addr) |
| 899 | 0 | 0 | 0 | $child_sem and not $child_sem->down_nb |
| line | l | !l | condition |
|---|---|---|---|
| 352 | 0 | 0 | $ENV{'PMILTER_DISPATCHER'} || 'postfork' |
| 440 | 0 | 0 | shift() || 0 |
| 487 | 0 | 0 | $this->{'backlog'} || 5 |
| 655 | 4 | 1 | shift() || die("milter name not supplied\n") |
| 910 | 0 | 0 | 'threads'->create($child_sub, $socket) || die("thread creation failed: $!\n") |
| 976 | 0 | 0 | $this->get_max_requests || $params{'max_requests_per_child'} || 100 |
| 1025 | 0 | 0 | $this->get_max_interpreters || $params{'max_children'} || 10 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 493 | 0 | 0 | 0 | $1 eq "local" or $1 eq "unix" |
| 656 | 0 | 4 | 0 | shift() || $this->get_sendmail_cf |
| 737 | 0 | 0 | 0 | shift() || $this->get_sendmail_cf |
| 789 | 0 | 0 | 0 | shift() || $this->get_sendmail_cf |