Condition Coverage

blib/lib/Test/MTA/Exim4.pm
Criterion Covered Total %
condition 29 86 33.7


and 3 conditions

line !l l&&!r l&&r condition
239 0 0 15 $$self{'_state'}{'config'}{$type} && $$self{'_state'}{'config'}{$type}{$what}
260 0 0 2 $$self{'_state'}{'config'}{$type} && !$$self{'_state'}{'config'}{$type}{$what}
281 0 0 3 $$res{'deliverable'} && !$$res{'undeliverable'}
323 0 0 19 exists $$addresses{$addr}{$key} and $$addresses{$addr}{$key} eq $$targetspec{$key}
338 0 0 5 $count_ok && $addr_count_ok == $count
359 0 0 1 $$res{'total'} == 1 && (values %{$$res{'addresses'};})[0]->{'discarded'}
380 0 0 1 $$res{'undeliverable'} && !$$res{'deliverable'}
520 0 1 2 $success && join("\n", @$stdout_buf, '')
588 8 12 28 scalar @lines and $lines[0] =~ /^\s/

or 2 conditions

line l !l condition
31 0 0 $ENV{'DEFAULT_EXIM_PATH'} || can_run('exim4') || can_run('exim') || '/usr/sbin/exim'
38 0 4 $$self{'timeout'} ||= 5
75 4 0 $$self{'_state'}{'exim_config_file'} || $$self{'config_file'} || '(unknown)'
591 0 0 $$res{'original'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
24 0 4 0 ref $proto || $proto
31 4 0 0 $$self{'exim_path'} ||= $ENV{'DEFAULT_EXIM_PATH'} || can_run('exim4') || can_run('exim') || '/usr/sbin/exim'
36 0 0 4 $$self{'config_file'} ||= $ENV{'DEFAULT_EXIM_CONFIG_FILE'}
37 0 4 0 $$self{'test'} ||= 'Test::Builder'->new
75 0 4 0 $msg ||= sprintf('config %s is valid', $$self{'_state'}{'exim_config_file'} || $$self{'config_file'} || '(unknown)')
116 0 1 0 $msg ||= sprintf('Checking for existence of %s option', $option)
135 0 1 0 $msg ||= sprintf('Checking for lack of existence of %s option', $option)
155 0 3 0 $msg ||= sprintf('Checking for %s option', $option)
174 0 0 0 $msg ||= sprintf('Checking for %s option', $option)
194 0 0 0 $msg ||= sprintf('Checking for %s option', $option)
214 0 3 0 $msg ||= sprintf(q[Checking expansion of '%s'], $string)
237 0 15 0 $msg ||= sprintf('Checking for %s/%s capability', $type, $what)
258 0 2 0 $msg ||= sprintf('Checking for lack of %s/%s capability', $type, $what)
278 0 3 0 $msg ||= sprintf('Can route to %s', $addr)
306 0 5 0 $msg ||= sprintf('Can route to %s', $addr)
356 0 1 0 $msg ||= sprintf('Discard for %s', $addr)
377 0 1 0 $msg ||= sprintf('Undeliverable to %s', $addr)