blib/lib/CPAN/Common/Index/MetaDB.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 12 | 58.3 |
line | true | false | branch |
---|---|---|---|
28 | 2 | 1 | unless defined $uri |
38 | 0 | 1 | unless ref $args eq 'HASH' |
43 | 0 | 1 | unless keys %$args == 1 and exists $args->{'package'} and ref $args->{'package'} eq '' |
47 | 0 | 1 | unless $res->{'success'} |
49 | 1 | 0 | if (my $yaml = 'CPAN::Meta::YAML'->read_string($res->{'content'})) |
51 | 1 | 0 | if ($meta and $meta->{'distfile'}) |