Branch Coverage

blib/lib/MetaCPAN/API/Distribution.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
20 1 4 if (@_ == 1) { }
3 1 elsif (@_) { }
25 1 2 if (defined(my $dist = $opts{'distribution'})) { }
1 1 elsif (defined(my $search_opts = $opts{'search'})) { }
28 0 1 unless ref $search_opts and ref $search_opts eq 'HASH'