blib/lib/MetaCPAN/API/Favorite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 8 | 87.5 |
line | true | false | branch |
---|---|---|---|
12 | 2 | 1 | @_ ? : |
16 | 1 | 2 | unless %opts |
20 | 1 | 1 | if (defined(my $search_opts = $opts{'search'})) { } |
21 | 0 | 1 | unless ref $search_opts and ref $search_opts eq 'HASH' |