Branch Coverage

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


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