| lib/Test/CPANfile.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 20 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 0 | 1 | unless -f $cpanfile |
| 50 | 9 | 0 | if ($index) |
| 52 | 0 | 36 | if $module eq 'perl' |
| 55 | 8 | 0 | $res ? : |
| 57 | 36 | 0 | if $uri |
| 64 | 2 | 5 | if ($required_version and $required_version =~ /^[0-9._]+$/) { } |
| 3 | 2 | elsif (defined $declared_version) { } | |
| 73 | 2 | 0 | if ($index) |
| 76 | 2 | 0 | $res ? : |
| 79 | 2 | 0 | $uri_map{$uri} ? : |