blib/lib/MetaCPAN/API/Release.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
16 | 3 | 1 | @_ ? : |
21 | 1 | 3 | unless %opts |
25 | 1 | 2 | if (defined(my $dist = $opts{'distribution'})) { } |
1 | 1 | elsif (defined(my $author = $opts{'author'}) and defined(my $release = $opts{'release'})) { } | |
0 | 1 | elsif (defined(my $search_opts = $opts{'search'})) { } | |
33 | 0 | 0 | unless ref $search_opts and ref $search_opts eq 'HASH' |