Condition Coverage

blib/lib/Config/Context.pm
Criterion Covered Total %
condition 23 34 67.6


and 3 conditions

line !l l&&!r l&&r condition
1334 0 0 96 $match_sections and ref $match_sections eq 'ARRAY'
0 0 96 $match_sections and ref $match_sections eq 'ARRAY' and @$match_sections
1447 86 3 5 $section_string =~ /$path_sep$/ and $target_string =~ qr/^($regex)/

or 2 conditions

line l !l condition
1100 17 22 delete $args{'match_sections'} || []
1101 1 38 delete $args{'nesting_depth'} || 1
1170 34 0 $match_sections || []
1171 34 0 $nesting_depth || 1
1254 1 0 $$self{'files'} || []
1361 38 192 $$spec{'path_separator'} || '/'
1362 87 143 $$spec{'merge_priority'} || 0
1483 1 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
1088 0 39 0 ref $proto || $proto
1397 82 12 0 $match_type =~ /^path$/i or $match_type =~ /^hierarchy$/i
1447 5 29 60 $section_string =~ /$path_sep$/ and $target_string =~ qr/^($regex)/ or $target_string =~ qr/^($regex)(?:$path_sep|$)/