Condition Coverage

blib/lib/Config/ApacheFormat.pm
Criterion Covered Total %
condition 39 57 68.4


and 3 conditions

line !l l&&!r l&&r condition
464 18014 0 3 $line =~ s/\\$// and not eof $fh
483 0 2 2147 defined $block_name and $block_name eq $name
587 0 6 1 not 'File::Spec'->file_name_is_absolute($f) and exists $$data{$root}
652 796 11241 510 $$self{'hash_directives'} and _member($orig, $$self{'hash_directives'}, $$self{'case_sensitive'})
757 0 0 11751 $hdir and ref $hdir eq 'ARRAY'
835 200 0 3 not defined $val and $$self{'_parent'}
200 0 3 not defined $val and $$self{'_parent'} and $$self{'inheritance_support'}
839 3 0 0 not defined $val and $$ptr{'_parent'}
852 1 201 1 $type eq 'ARRAY' and ref $$val[0] eq ref $self
932 0 0 10 $block_array = $$data{$name} and ref $block_array eq 'ARRAY'
0 0 10 $block_array = $$data{$name} and ref $block_array eq 'ARRAY' and ref $$block_array[0] eq ref $self

or 3 conditions

line l !l&&r !l&&!r condition
367 2267 0 0 $args{'duplicate_directives'} eq 'last' or $args{'duplicate_directives'} eq 'error'
2267 0 0 $args{'duplicate_directives'} eq 'last' or $args{'duplicate_directives'} eq 'error' or $args{'duplicate_directives'} eq 'combine'
498 2144 6 1 not $validate_blocks or exists $valid_blocks{$name}
544 12548 5 1 not $validate_directives or exists $valid_directives{$name}
640 1 1 4 /^true$/i or /^on$/i
2 1 3 /^true$/i or /^on$/i or /^yes$/i
1 1 1 /^false$/i or /^off$/i
2 1 0 /^false$/i or /^off$/i or /^no$/i