Branch Coverage

blib/lib/Yancy/Controller/Yancy/MultiTenant.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
182 2 2 unless $c->_is_owned_by
240 0 13 if $id and not $c->_is_owned_by
242 8 5 if ($c->req->method ne "GET")
245 2 6 if (eval { do { $c->req->json } }) { }
299 0 6 unless $c->_is_owned_by
313 0 23 if ($c->stash("collection"))
327 2 14 if (not $item or $item->{$user_id_field} ne $user_id)