Condition Coverage

blib/lib/Apache/ConfigParser.pm
Criterion Covered Total %
condition 37 65 56.9


and 3 conditions

line !l l&&!r l&&r condition
311 0 0 2 defined $options and UNIVERSAL::isa($options, 'HASH')
321 0 0 1 @$opt_value and UNIVERSAL::isa($$opt_value[0], 'CODE')
394 0 0 2 defined $separator and length $separator
523 0 0 6 $self->parse_file("$file_or_dir_name/$entry") && $ok
679 4 0 1049 defined $value and length $value
691 786 0 263 defined $value_path_index and $value_path_index =~ /^-?\d+$/
707 0 0 0 defined $new_path and length $new_path
720 0 30 230 defined $server_root and length $server_root
30 30 200 defined $server_root and length $server_root and $new_node->value_is_rel_path
731 0 0 49 defined $new_path and length $new_path
749 1044 0 5 $directive eq 'serverroot' and not $$self{'current_node'}->mother
842 0 8 0 @_ and $_[0]
0 8 0 @_ and $_[0] and ref $_[0]
894 0 16 0 @_ and $_[0]
0 9 7 @_ and $_[0] and ref $_[0]

or 2 conditions

line l !l condition
1006 18269 8 $seen_ref ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
290 0 9 0 ref $class || $class
364 4 0 15 $path =~ /[?*]/ || $path =~ /\[.*\]/
466 2 6 0 -d _ or -f _
757 3 7 1034 $directive eq 'accessconfig' or $directive eq 'include'
10 2 1032 $directive eq 'accessconfig' or $directive eq 'include' or $directive eq 'includeoptional'
9 3 1029 $directive eq 'accessconfig' or $directive eq 'include' or $directive eq 'includeoptional' or $directive eq 'resourceconfig'