Condition Coverage
blib/lib/Apache/TestConfigParse.pm
Criterion
Covered
Total
%
condition
18
41
43.9
and 3 conditions
line
!l
l&&!r
l&&r
condition
130
0
6
12
defined
$dir
and
-e
$dir
6
0
12
defined
$dir
and
-e
$dir
and
-d
_
343
0
0
6
$file
and
-e
$file
365
6
0
0
$extra_file
and
-e
$extra_file
366
6
0
0
$extra_file
and
my
$base
=
$
$self
{
'httpd_basedir'
}
370
0
0
0
not
-e
$extra_file
and
-e
$default_conf
or 2 conditions
line
l
!l
condition
63
6
0
$spec_postamble
{
$directive
}
||
'preamble'
140
6
0
$dir
||=
''
471
6
0
$
$self
{
'httpd_info'
}{
'VERSION'
}
||
''
506
6
0
$version
||=
$parts
[
0
]
or 3 conditions
line
l
!l&&r
!l&&!r
condition
30
54
36
0
shift
@_
||
$_
346
0
0
0
$default_conf
||=
catfile
((
'conf'
,
'httpd.conf'
))
374
6
0
0
$file
or
$extra_file
392
24
0
6
$spec_apply
{
$directive
}
||
$self
->
can
(
"apply_\L$directive\E"
)
24
6
0
$spec_apply
{
$directive
}
||
$self
->
can
(
"apply_\L$directive\E"
)
||
$self
->
can
(
"apply_\L$spec\E"
)