blib/lib/Bracket/Controller/Root.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 8 | 37.5 |
line | true | false | branch |
---|---|---|---|
44 | 5 | 1 | if ($c->action eq any(@open_actions)) |
49 | 1 | 0 | if (not $c->user_exists) { } |
60 | 0 | 0 | if ($c->action ne $c->controller("Player")->action_for("home") or $c->action eq $c->controller("Player")->action_for("home") and ($c->req->args->[0] and $c->req->args->[0] != $c->user->id)) |
71 | 0 | 0 | if ("admin" eq any(@user_roles)) |