Branch Coverage

blib/lib/Clustericious/RouteBuilder/Search.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
21 0 0 unless $finder->can('find_class')
25 0 0 unless my $items = $self->stash('items')
27 0 0 unless my $manager = $finder->find_class($items)
28 0 0 unless ($manager->can('object_class'))
36 0 0 if (my $mode = $p->{'mode'})
46 0 0 unless ref $got eq 'HASH' and exists $got->{'count'} and exists $got->{'resultset'}
58 0 0 keys %$p > 0 ? :
0 0 $all || exists $p->{'query'} ? :
64 0 0 if (not $a{'limit'} || $a{'page'}) { }
0 0 elsif (($a{'limit'} || $a{'per_page'} || 0) > 1000) { }
76 0 0 @key > 1 ? :