Condition Coverage

blib/lib/Mail/Milter/Authentication.pm
Criterion Covered Total %
condition 25 77 32.4


and 3 conditions

line !l l&&!r l&&r condition
364 65 0 0 defined $config->{'metric_port'} and $self->get_client_proto eq 'TCP'
65 0 0 defined $config->{'metric_port'} and $self->get_client_proto eq 'TCP' and $self->get_client_port eq $config->{'metric_port'}
0 65 0 defined $config->{'metric_connection'} and $metric_type eq 'inet'
65 0 0 defined $config->{'metric_connection'} and $metric_type eq 'inet' and $self->get_client_proto eq 'TCP'
65 0 0 defined $config->{'metric_connection'} and $metric_type eq 'inet' and $self->get_client_proto eq 'TCP' and $self->get_client_port eq $metric_path
0 0 65 defined $config->{'metric_connection'} and $metric_type eq 'unix'
0 0 65 defined $config->{'metric_connection'} and $metric_type eq 'unix' and $self->get_client_proto eq 'UNIX'
0 56 9 defined $config->{'metric_connection'} and $metric_type eq 'unix' and $self->get_client_proto eq 'UNIX' and $self->get_client_path eq $metric_path
598 28 0 0 $user and $group

or 2 conditions

line l !l condition
358 0 65 $3 || ''
437 0 0 $pid_file || (return undef)
550 28 0 $config->{'connection'} || die('No connection details given')
554 28 0 $config->{'listen_backlog'} || 20
555 28 0 $config->{'max_children'} || 100
556 28 0 $config->{'max_requests_per_child'} || 200
557 28 0 $config->{'min_children'} || 20
558 28 0 $config->{'max_spare_children'} || 20
559 28 0 $config->{'min_spare_children'} || 10
609 0 0 $config->{'error_log'} || die("Could not create error log: $!\n")
645 0 28 $3 || ''
693 0 28 $3 || ''
741 0 0 $config->{'metric_host'} || '127.0.0.1'

or 3 conditions

line l !l&&r !l&&!r condition
492 0 0 0 $command eq 'restart' or $command eq 'start'
493 0 0 0 get_valid_pid($pid_file) || find_process()
503 0 0 0 get_valid_pid($pid_file) || find_process()
518 0 0 0 get_valid_pid($pid_file) || find_process()
1025 0 0 0 $self->{'config'} || get_config()
1047 1 0 0 $self->{'config'} || get_config()
1059 118 33 0 $self->{'config'} || get_config()
1071 3516 2170 0 $self->{'config'} || get_config()