Condition Coverage

blib/lib/Apache/TestServer.pm
Criterion Covered Total %
condition 6 46 13.0


and 3 conditions

line !l l&&!r l&&r condition
138 0 0 0 $Config{$item} and $Config{$item} eq 'define'
421 0 0 0 $pid = $self->pid and not $tried_kill++
479 0 0 1 $pid and kill 0, $pid
595 0 0 0 $old_pid and $old_pid == $self->pid
676 0 0 0 !$@ && defined $r

or 2 conditions

line l !l condition
64 6 0 $$self{'config'}->httpd_version || ''
65 6 0 $$self{'config'}->httpd_mpm || ''
302 0 0 $ENV{'MP_DEBUGGER'} || 'gdb'
344 1 0 <$fh> || ''
524 0 0 $$vars{'httpd'} || 'unknown'
601 0 0 $$config{'mpm'} || ''
605 0 0 $$vars{'startup_timeout'} || $ENV{'APACHE_TEST_STARTUP_TIMEOUT'} || 60
637 0 0 $old_sig || 'DEFAULT'

or 3 conditions

line l !l&&r !l&&!r condition
48 6 0 0 $config || 'Apache::TestConfig'->thaw
124 1 0 0 $$vars{'t_pid_file'} || catfile($$vars{'t_logs'}, 'httpd.pid')
302 0 0 0 $$opts{'debugger'} ||= $ENV{'MP_DEBUGGER'} || 'gdb'
362 0 0 0 shift @_ || $$self{'config'}{'vars'}{'port'}
605 0 0 0 $$vars{'startup_timeout'} || $ENV{'APACHE_TEST_STARTUP_TIMEOUT'}