blib/lib/Config/General/Match.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 25 | 64.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
684 | 0 | 0 | 15 | exists $args{'-MatchSections'} and ref $args{'-MatchSections'} eq 'ARRAY' |
873 | 0 | 0 | 94 | $match_sections and ref $match_sections eq 'ARRAY' |
0 | 0 | 94 | $match_sections and ref $match_sections eq 'ARRAY' and @$match_sections | |
986 | 86 | 3 | 5 | $section_string =~ /$path_sep$/ and $target_string =~ qr/^($regex)/ |
line | l | !l | condition |
---|---|---|---|
900 | 38 | 186 | $$spec{'-PathSeparator'} || '/' |
901 | 85 | 139 | $$spec{'-MergePriority'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
679 | 0 | 15 | 0 | ref $proto || $proto |
936 | 82 | 12 | 0 | $match_type =~ /^path$/i or $match_type =~ /^hierarchy$/i |
986 | 5 | 29 | 60 | $section_string =~ /$path_sep$/ and $target_string =~ qr/^($regex)/ or $target_string =~ qr/^($regex)(?:$path_sep|$)/ |