Branch Coverage

lib/CatalystX/Eta/Controller/Search.pm
Criterion Covered Total %
branch 3 32 9.3


line true false branch
18 3 0 if (exists $self->config->{'search_ok'})
20 0 0 if (exists $c->req->params->{$key_ok}) { }
0 0 elsif (exists $c->req->params->{"${key_ok}:IN"}) { }
32 0 0 $type eq 'Str' ? :
34 0 0 if (exists $c->req->params->{"${key_ok}:$exp"})
37 0 0 $1 && $1 eq '+' ? :
50 0 0 if $type eq 'Bool' || $type eq 'Int' || $type eq 'Num' || ref $type eq 'MooseX::Types::TypeDecorator' and $val eq ''
56 0 0 unless defined $cons
59 0 0 if (ref $val eq 'HASH') { }
65 0 0 ref $a_val eq 'HASH' ? :
67 0 0 unless ($cons->check($checkval))
79 0 0 unless ($cons->check($checkval))
88 0 0 !($k =~ /\./) ? :
92 0 0 if (ref $such_val eq 'HASH') { }
103 0 3 if %may_search
106 0 3 if (exists $c->req->params->{'limit_rows'} and $c->req->params->{'limit_rows'} =~ /^[0-9]+$/)