Condition Coverage

blib/lib/Module/List/More.pm
Criterion Covered Total %
condition 42 57 73.6


and 3 conditions

line !l l&&!r l&&r condition
66 0 0 17 $prefix =~ /\A(?:$root_notleaf_rx:: (?:$notroot_notleaf_rx::)*)?\z/x and not $prefix =~ /(?:\A|[^:]::)\.\.?::/
109 63 138 60 $list_modules and $entry =~ /$pm_rx/
201 0 0 $list_pod and $entry =~ /$pod_rx/
50 50 59 $entry ne '.' and $entry ne '..'
42 100 59 $list_prefixes || $recurse and ($entry ne '.' and $entry ne '..')
100 19 40 $list_prefixes || $recurse and ($entry ne '.' and $entry ne '..') and $entry =~ /$dir_rx/
69 0 40 $list_prefixes || $recurse and ($entry ne '.' and $entry ne '..') and $entry =~ /$dir_rx/ and -d join('/', $dir, $entry)
113 22 11 27 $re_wildcard and not $key =~ /$re_wildcard/
140 62 0 0 $list_pod and $use_pod_dir
146 0 0 0 $re_wildcard and not $key =~ /$re_wildcard/
157 12 3 2 $list_prefixes and $re_wildcard

or 2 conditions

line l !l condition
86 5 44 $results{$key} ||= undef
88 4 21 $results{$key}{$result_field} ||= []
181 0 8 $opts->{'brace'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
75 12 5 0 $list_modules or $list_prefixes
17 0 0 $list_modules or $list_prefixes or $list_pod
85 12 13 27 $all or $always_all
109 60 0 201 $list_modules and $entry =~ /$pm_rx/ or $list_pod and $entry =~ /$pod_rx/
63 96 42 $list_prefixes || $recurse
161 2 2 2 $k =~ /$re_wildcard/ or $k_nocolon =~ /$re_wildcard/