Branch Coverage

blib/lib/Apache/TestConfigPerl.pm
Criterion Covered Total %
branch 0 116 0.0


line true false branch
37 0 0 if ($$vars{'libmodperl'}) { }
0 0 elsif ($$server{'rev'} >= 2 and 1) { }
42 0 0 unless file_name_is_absolute($$vars{'libmodperl'})
48 0 0 if (my $build_config = $self->modperl_build_config) { }
49 0 0 if ($$build_config{'MODPERL_LIB_SHARED'})
79 0 0 if ($$vars{'libmodperl'} and -e $$vars{'libmodperl'}) { }
112 0 0 if -d $_
117 0 0 unless exists $ENV{$_}
125 0 0 if -d $apache_test_dev_dir
133 0 0 if -e $t
145 0 0 unless close $fh
197 0 0 if (my $inc = $$self{'inc'})
201 0 0 unless $_
205 0 0 if (-d $tlib)
211 0 0 if ($ENV{'APACHE_TEST_LIVE_DEV'})
213 0 0 if -d $dev_lib
219 0 0 if ($self->server->{'rev'} >= 2)
226 0 0 unless (-e $startup_pl)
240 0 0 if grep {$_ eq 'SetHandler';} @$args
276 0 0 $namebased ? :
283 0 0 if (not $namebased && exists $$self{'vhosts'}{$module}) { }
288 0 0 $namebased ? :
318 0 0 unless open $fh, $module
321 0 0 if /^(__(DATA|END)__|\#if CONFIG_FOR_HTTPD_TEST)/
327 0 0 if /^\#endif/
328 0 0 unless /\S+/
332 0 0 if (/^#/)
338 0 0 unless $directive =~ /^</
339 0 0 unless defined $rest
341 0 0 if ($outside_container{$directive}) { }
0 0 elsif ($directive =~ /IfModule/) { }
0 0 elsif ($directive =~ /^<(\w+)/) { }
349 0 0 exists $strip_tags{lc $1} ? :
351 0 0 if lc $1 eq 'noautoconfig'
373 0 0 unless ($strip_container)
380 0 0 if (/<VirtualHost/) { }
390 0 0 unless ($strip_container)
406 0 0 if /^\s*\Q$end_tag\E/i
410 0 0 if (/^\s*<(\w+)/) { }
425 0 0 if ($cfg) { }
460 0 0 unless -d $dir
475 0 0 unless -d $dir
478 0 0 unless /\.pm$/
529 0 0 $subdir eq 'Hooks' ? :
532 0 0 if ($hook eq 'OutputFilter' and $module =~ /::i\w+$/)
539 0 0 if ($self->server->{'rev'} < 2 and lc $hook eq 'response')
545 0 0 if ($$directives{'noautoconfig'}) { }
549 0 0 if (my $cv = $add_hook_config{$hook})
556 0 0 unless ($$directives{$handler})
559 0 0 if ($outside_container{$handler}) { }
567 0 0 if (@args)
586 0 0 if (open $fh, $file) { }
591 0 0 if ($content =~ /APACHE_TEST_CONFIGURE/m)
594 0 0 if ($content =~ /APACHE_TEST_CONFIG_ORDER\s+([+-]?\d+)/m)
615 0 0 unless $$status[0]
618 0 0 if $@
620 0 0 if ($module->can('APACHE_TEST_CONFIGURE'))
622 0 0 if $@