Condition Coverage

blib/lib/Test/Httpd/Apache2.pm
Criterion Covered Total %
condition 0 15 0.0


and 3 conditions

line !l l&&!r l&&r condition
160 0 0 0 $mod eq 'authz_host' and $self->get_httpd_version =~ /2\.0\./
180 0 0 0 $^O ne 'MSWin32' && $< == 0

or 3 conditions

line l !l&&r !l&&!r condition
207 0 0 0 $$self{'_httpd_version'} ||= do { die 'dying due to previous error' unless my $lines = $self->_read_cmd($self->httpd, '-v'); die 'failed to parse out version number from the output of "httpd -v"' unless $lines =~ m[Apache\/([0-9]+\.[0-9\.]+)]; $1 }
218 0 0 0 $$self{'_static_modules'} ||= do { die 'dying due to previous error' unless my $lines = $self->_read_cmd($self->httpd, '-l'); my @mods; foreach my $line (split(/\n/, $lines, 0)) { if ($line =~ /^\s+mod_(.*)\.c/) { push @mods, $1; } ; } ; \@mods }
252 0 0 0 $$self{'_dynamic_modules'} ||= do { my %mods; if (my $dir = $self->get_dso_path) { foreach my $n (glob "$dir/*.so") { $mods{$2} = $1 if $n =~ m[/((?:mod_|lib)([^/]+?)\.so)$]; } ; } ; \%mods }