Branch Coverage

blib/lib/MetaCPAN/API/Rating.pm
Criterion Covered Total %
branch 5 10 50.0


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