Branch Coverage

lib/Apache/Config/Preproc/ifmodule.pm
Criterion Covered Total %
branch 11 28 39.2


line true false branch
16 0 7 if ($v = delete $_{'preloaded'})
17 0 0 unless ref $v eq 'ARRAY'
20 0 7 if ($v = delete $_{'probe'})
21 0 0 if (ref $v eq 'ARRAY') { }
33 0 32 if (my $v = shift())
41 32 355 if ($d->type eq 'section' and lc $d->name eq 'ifmodule')
45 3 29 if ($negate)
48 13 19 if ($res)
181 0 32 if (exists $modlist{$id})
184 0 32 if $self->preloaded($id)
192 0 0 unless (@servlist)
202 0 0 if (my $pid = open3($nullin, $fd, $nullout, $serv, '-l'))
205 0 0 if (/^\s*(\S+\.c)$/ and exists $modlist{$1})
212 0 0 unless $@