Branch Coverage

blib/lib/MetaCPAN/API/Release.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
14 3 1 @_ ? :
19 1 3 unless %opts
23 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'})) { }
31 0 0 unless ref $search_opts and ref $search_opts eq 'HASH'