Condition Coverage

blib/lib/Module/List/Wildcard.pm
Criterion Covered Total %
condition 40 59 67.8


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 12 $prefix =~ /\A(?:$root_notleaf_rx:: (?:$notroot_notleaf_rx::)*)?\z/x and not $prefix =~ /(?:\A|[^:]::)\.\.?::/
92 53 110 48 $list_modules and $entry =~ /$pm_rx/
163 0 0 $list_pod and $entry =~ /$pod_rx/
48 48 53 $entry ne '.' and $entry ne '..'
14 96 53 $list_prefixes || $recurse and ($entry ne '.' and $entry ne '..')
96 16 37 $list_prefixes || $recurse and ($entry ne '.' and $entry ne '..') and $entry =~ /$dir_rx/
64 0 37 $list_prefixes || $recurse and ($entry ne '.' and $entry ne '..') and $entry =~ /$dir_rx/ and -d join('/', $dir, $entry)
96 10 11 27 $re_wildcard and not $key =~ /$re_wildcard/
108 0 24 13 $return_path || !exists $results{$newpfx} and $list_prefixes
112 52 0 0 $list_pod and $use_pod_dir
118 0 0 0 $re_wildcard and not $key =~ /$re_wildcard/
127 8 2 2 $list_prefixes and $re_wildcard

or 2 conditions

line l !l condition
151 0 8 $opts->{'brace'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
73 8 4 0 $list_modules or $list_prefixes
12 0 0 $list_modules or $list_prefixes or $list_pod
92 48 0 163 $list_modules and $entry =~ /$pm_rx/ or $list_pod and $entry =~ /$pod_rx/
53 96 14 $list_prefixes || $recurse
98 0 19 2 $return_path or not exists $results{$key}
108 0 37 0 $return_path || !exists $results{$newpfx}
131 2 2 2 $k =~ /$re_wildcard/ or $k_nocolon =~ /$re_wildcard/