Condition Coverage

blib/lib/Module/List/More.pm
Criterion Covered Total %
condition 46 70 65.7


and 3 conditions

line !l l&&!r l&&r condition
48 8 0 0 $options->{'ls_mode'} and @prefix_parts
8 0 0 $options->{'ls_mode'} and @prefix_parts and not $orig_prefix =~ /::\z/
0 0 0 $options->{'ls_mode'} and @prefix_parts and not $orig_prefix =~ /::\z/ and not String::Wildcard::Bash::contains_wildcard($orig_prefix)
63 0 0 8 $options->{'wildcard'} and $has_wildcard
75 0 0 17 $prefix =~ /\A(?:$root_notleaf_rx:: (?:$notroot_notleaf_rx::)*)?\z/x and not $prefix =~ /(?:\A|[^:]::)\.\.?::/
119 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)
124 22 11 27 $re_wildcard and not $key =~ /$re_wildcard/
151 62 0 0 $list_pod and $use_pod_dir
157 0 0 0 $re_wildcard and not $key =~ /$re_wildcard/
168 12 3 2 $list_prefixes and $re_wildcard

or 2 conditions

line l !l condition
95 5 44 $results{$key} ||= undef
97 4 21 $results{$key}{$result_field} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
43 8 0 9 $options->{'wildcard'} or $options->{'ls_mode'}
84 12 5 0 $list_modules or $list_prefixes
17 0 0 $list_modules or $list_prefixes or $list_pod
94 12 13 27 $all or $always_all
119 60 0 201 $list_modules and $entry =~ /$pm_rx/ or $list_pod and $entry =~ /$pod_rx/
63 96 42 $list_prefixes || $recurse
172 2 2 2 $k =~ /$re_wildcard/ or $k_nocolon =~ /$re_wildcard/