Branch Coverage

lib/Apache/Config/Preproc/include.pm
Criterion Covered Total %
branch 26 46 56.5


line true false branch
21 0 9 if (my $v = delete $_{'probe'})
22 0 0 if (ref $v eq 'ARRAY') { }
28 0 9 if keys %_
29 0 9 $^O eq 'MSWin32' ? :
37 9 19 if (my $v = shift())
63 370 53 if ($d->type eq 'directive')
64 9 361 if (lc $d->name eq 'serverroot') { }
19 342 elsif ($d->name =~ /^include(optional)?$/i) { }
22 320 elsif ($d->name eq '$PUSH$') { }
19 301 elsif ($d->name eq '$POP$') { }
70 19 0 unless ('File::Spec'->file_name_is_absolute($pat))
71 19 0 if (my $d = $self->server_root)
76 0 19 if -d $pat
78 18 1 if (@filelist)
80 1 22 if ($self->check_included($file))
83 22 0 if (my $inc = 'Apache::Admin::Config'->new($file, $self->conf->options)) { }
100 22 0 if ($d->value =~ /^\"(.+)\" (-?\d+) (-?\d+)$/)
115 0 0 unless (@servlist)
125 0 0 if (my $pid = open3($nullin, $fd, $nullout, $serv, '-V'))
128 0 0 if (/^\s+-D\s+HTTPD_ROOT=(.+)\s*$/)
136 0 0 unless $@
150 0 23 unless my($dev, $ino) = stat $file
151 7 0 if $_->{'dev'} == $dev