Branch Coverage

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


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