| blib/lib/Module/List.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 27 | 66.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 160 | 0 | 0 | 8 | $prefix =~ /\A(?:$root_notleaf_rx:: (?:$notroot_notleaf_rx::)*)?\z/x and not $prefix =~ /(?:\A|[^:]::)\.\.?::/ |
| 235 | 64 | 298 | 450 | 'File::Spec'->no_upwards($entry) and $entry =~ /$dir_rx/ |
| 362 | 20 | 430 | 'File::Spec'->no_upwards($entry) and $entry =~ /$dir_rx/ and -d 'File::Spec'->catdir($dir, $entry) | |
| 238 | 430 | 0 | 0 | $recurse and not exists $seen_prefixes{$newpfx} |
| line | l | !l | condition |
|---|---|---|---|
| 195 | 2 | 10 | $results{$name} ||= {} |
| 223 | 0 | 0 | $results{$name} ||= {} |
| 244 | 0 | 5 | $results{$newpfx} ||= {'prefix_paths', []} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 168 | 5 | 1 | 2 | $list_modules or $list_prefixes |
| 6 | 0 | 2 | $list_modules or $list_prefixes or $list_pod | |
| 233 | 32 | 0 | 12 | $list_prefixes or $recurse |