Branch Coverage

blib/lib/Yancy/Controller/Yancy/API.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
70 0 0 unless $c->openapi->valid_input
77 0 0 if (my $order_by = delete $args->{'$order_by'})
86 0 0 if ($c->stash("collection"))
95 0 0 if (_is_type($type, 'string')) { }
0 0 elsif (grep _is_type($type, $_), ('number', 'integer')) { }
0 0 elsif (_is_type($type, 'boolean')) { }
96 0 0 if ($value =~ tr/*/%/ <= 0)
105 0 0 $value ? :
117 0 0 if $c->stash("filters_out")
128 0 0 unless $type
130 0 0 ref $type eq 'ARRAY' ? :
148 0 0 unless $c->openapi->valid_input
151 0 0 if ($c->stash("collection"))
156 0 0 if $c->stash("filters_out")
182 0 0 unless $c->openapi->valid_input
185 0 0 if ($c->stash("collection"))
190 0 0 if $c->stash("filters")
193 0 0 if ($id) { }
203 0 0 if $c->stash("filters_out")
222 0 0 unless $c->openapi->valid_input
225 0 0 if ($c->stash("collection"))
246 0 0 wantarray ? :
257 0 0 if ref $filter eq "ARRAY"
259 0 0 unless $sub