| blib/lib/Module/Collect.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 20 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 1 | 6 | if ($args{'prefix'}) { } |
| 43 | 12 | 29 | unless -f $_ |
| 44 | 8 | 21 | unless /$pattern/ |
| 48 | 4 | 3 | ref $path eq 'ARRAY' ? : |
| 49 | 0 | 9 | unless -d $dir |
| 61 | 6 | 15 | unless @packages |
| 73 | 0 | 21 | unless open my $fh, '<', $modulefile |
| 80 | 20 | 40 | if /\A =\w/msx .. /\A =cut \b/msx |
| 82 | 17 | 23 | if (/\A \s* package \s+ ($prefix \S*) \s* ;/msx) |
| 85 | 14 | 3 | unless $multiple |