| blib/lib/CPAN/Meta/Check.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 22 | 81.8 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 2 | 0 | $reqs->accepts_module($module, $]) ? : |
| 2 | 11 | if $module eq "perl" | |
| 22 | 1 | 10 | unless defined $metadata |
| 25 | 1 | 1 | defined $version ? : |
| 2 | 8 | unless $reqs->accepts_module($module, $version || 0) | |
| 34 | 0 | 5 | unless defined $metadata |
| 37 | 2 | 1 | defined $version ? : |
| 3 | 2 | if $reqs->accepts_module($module, $version) | |
| 45 | 1 | 0 | ref $meta eq 'CPAN::Meta' ? : |
| 46 | 0 | 1 | ref $phases ? : |
| 54 | 13 | 5 | $type ne 'conflicts' ? : |