lib/Mail/Toaster.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 108 | 10.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
213 | 0 | 0 | 0 | $counter{$type} > 10000 and $counter{$type} % 50 != 0 |
214 | 0 | 0 | 0 | $counter{$type} > 5000 and $counter{$type} % 25 != 0 |
215 | 0 | 0 | 0 | $counter{$type} > 2500 and $counter{$type} % 10 != 0 |
312 | 0 | 0 | 0 | $maildir and -d $maildir |
391 | 0 | 1 | 0 | $smtpd and 'qpsmtpd' eq $smtpd |
441 | 0 | 0 | 0 | $dspam_status and $signature |
508 | 0 | 0 | 0 | -f $_ and &Mail::Toaster::stat($_)->ctime > $oldest |
523 | 0 | 0 | 0 | defined $self->conf and $self->conf->{'toaster_http_docs'} |
576 | 0 | 0 | 0 | $conf->{'submit_enable'} and $submit eq 'qmail' |
620 | 0 | 4 | 0 | not -d $svcdir and -d '/service' |
665 | 0 | 0 | 0 | $self->conf->{'pop3_daemon'} and $self->conf->{'pop3_daemon'} eq 'qpop3d' |
765 | 0 | 0 | 0 | -l '/service' and -e '/service' |
787 | 5 | 0 | 0 | not -d $sdir and -d '/var/supervise' |
788 | 5 | 0 | 0 | not -d $sdir and -d '/supervise' |
952 | 0 | 0 | 0 | -x $setuidgid and -x $multilog |
969 | 0 | 0 | 0 | $prot eq 'send' and $self->conf->{'send_log_isoqlog'} |
1075 | 0 | 0 | 0 | $uid and $gid |
line | l | !l | condition |
---|---|---|---|
409 | 2 | 0 | $self->conf->{'system_config_dir'} || '/usr/local/etc' |
449 | 1 | 0 | $self->conf->{'logs_base'} || $self->conf->{'qmail_log_base'} || '/var/log/mail' |
571 | 0 | 0 | $conf->{'smtpd_daemon'} || 'qmail' |
572 | 0 | 0 | $conf->{'submit_daemon'} || 'qmail' |
619 | 0 | 4 | $self->conf->{'qmail_service'} || '/var/service' |
738 | 0 | 0 | $self->conf->{'qmail_service'} || '/var/service' |
758 | 0 | 0 | $self->conf->{'qmail_service'} || '/var/service' |
871 | 0 | 0 | $self->conf->{$prot . '_log_method'} || $self->conf->{$prot . 'd_log_method'} || 'multilog' |
907 | 1 | 0 | $self->conf->{'toaster_prefix'} || '/usr/local' |
955 | 0 | 0 | $self->conf->{'qmail_log_user'} || 'qmaill' |
960 | 0 | 0 | $self->conf->{$logprot . '_log_maxsize_bytes'} || '100000' |
961 | 0 | 0 | $self->conf->{$logprot . '_log_method'} || 'none' |
1054 | 0 | 0 | $self->conf->{$prot . '_max_connections'} || 40 |
1084 | 0 | 0 | $self->conf->{$prot . '_listen_on_address'} || 0 |
1123 | 0 | 0 | $self->conf->{'vpopmail_home_dir'} || '/usr/local/vpopmail' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
103 | 1 | 0 | 0 | $cour eq 'port' or $cour > 4 |
190 | 0 | 0 | 0 | $counter->{'ham'} or $counter->{'spam'} |
399 | 0 | 1 | 0 | not $self->conf->{'submit_daemon'} or 'qmail' eq $self->conf->{'submit_daemon'} |
486 | 0 | 0 | 0 | $find ||= $self->util->find_bin('find', 'verbose', 0) |
570 | 0 | 0 | 0 | $conf->{'pop3_log_method'} || $conf->{'logs_pop3d'} |
789 | 5 | 0 | 0 | $sdir ||= $self->qmail->get_qmail_dir . '/supervise' |
854 | 0 | 0 | 0 | -d $dir or -l $dir |
930 | 0 | 0 | 0 | not $prot or $prot eq 'system' |
1089 | 0 | 0 | 0 | $port ||= $prot eq 'smtpd' ? 'smtp' : ($prot eq 'submission' ? 'submission' : ($prot eq 'pop3' ? 'pop3' : die("can't figure out what port $port should listen on!\n"))) |