Branch Coverage

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


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