Condition Coverage

blib/lib/Apache/TestRun.pm
Criterion Covered Total %
condition 0 121 0.0


and 3 conditions

line !l l&&!r l&&r condition
150 0 0 0 -d $file and $_ ne '/'
159 0 0 0 $file =~ /\.t$/ and -e $file
328 0 0 0 @$tests and $$self{'server'}->ping
396 0 0 0 $? and not $self->user_error
0 0 0 $? and not $self->user_error and $$self{'opts'}{'bugreport'}
0 0 0 $? and not $self->user_error and $$self{'opts'}{'bugreport'} and $self->can('bug_report')
428 0 0 0 not $$save and my(@reasons) = $$self{'test_config'}->need_reconfiguration($$self{'conf_opts'})
441 0 0 0 not $$save and exists $$opts{'proxy'}
446 0 0 0 not $$save and $$opts{'proxy'} eq 'on'
0 0 0 not $$save and $$opts{'proxy'} eq 'on' and $max == 1
554 0 0 0 -e $file and $$opts{'start-httpd'}
572 0 0 0 exists $$self{'opts'}{'ping'} && $$self{'opts'}{'ping'} eq 'block'
0 0 0 exists $$self{'opts'}{'ping'} && $$self{'opts'}{'ping'} eq 'block' && $server->wait_till_is_up(300)
675 0 0 0 $top and -d $top
770 0 0 0 $$orig_conf_opts{'httpd'} and $$vars{'apxs'}
866 0 0 0 exists $core_files{$file} and $core_files{$file} == -M $file
884 0 0 0 exists $core_files{$core} and $core_files{$core} == -M $core
918 0 0 0 exists $core_files{$core} and $core_files{$core} == -M $core
1020 0 0 0 $( eq $groups and $) eq $groups
1025 0 0 0 $< == $uid and $> == $uid
1114 0 0 0 $( eq $groups and $) eq $groups
1118 0 0 0 $< == $uid and $> == $uid
1171 0 0 0 exists $$self{'opts'}{'ping'} and $$self{'opts'}{'ping'} eq 'block'

or 2 conditions

line l !l condition
223 0 0 $vopts{$_} ||= []
227 0 0 $vopts{$_} ||= {}
303 0 0 $opts{'debug'} ||= 1
358 0 0 (caller 1)[3] or !1
406 0 0 delete $$self{'conf_opts'}{'thaw'} || 1
419 0 0 $$self{'conf_opts'}{'scheme'} || 'http'
443 0 0 $$opts{'proxy'} ||= 'on'
586 0 0 $$self{'subtests'} || []
976 0 0 getpwuid $> || ''
1069 0 0 `$check` || ''
1219 0 0 $db || 1

or 3 conditions

line l !l&&r !l&&!r condition
278 0 0 0 $opts{'configure'} || grep({$opts{$_}[0];} 'preamble', 'postamble')
0 0 0 $opts{'configure'} || grep({$opts{$_}[0];} 'preamble', 'postamble') || grep({$Apache::TestConfig::Usage{$_};} keys %conf_opts)
0 0 0 $opts{'configure'} || grep({$opts{$_}[0];} 'preamble', 'postamble') || grep({$Apache::TestConfig::Usage{$_};} keys %conf_opts) || $self->passenv
0 0 0 $opts{'configure'} || grep({$opts{$_}[0];} 'preamble', 'postamble') || grep({$Apache::TestConfig::Usage{$_};} keys %conf_opts) || $self->passenv || !-e('t/conf/httpd.conf')
339 0 0 0 $$opts{'run-tests'} ||= @$tests
513 0 0 0 $$self{'opts'}{'save'} or not Apache::TestConfig::custom_config_exists()
572 0 0 0 $server->ping || exists $$self{'opts'}{'ping'} && $$self{'opts'}{'ping'} eq 'block' && $server->wait_till_is_up(300)
760 0 0 0 $orig_cwd ||= Cwd::cwd()
1261 0 0 0 $opts{'file'} ||= catfile('t', 'TEST')
1314 0 0 0 -t STDIN or $ENV{'APACHE_TEST_INTERACTIVE_PROMPT_OK'}