blib/lib/MojoMojo/Controller/Admin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 14 | 28.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
28 | 0 | 1 | 3 | $user and $user->is_admin |
322 | 2 | 1 | 0 | $form->submitted_and_valid and $stash->{'allowed_to_delete'} |
line | l | !l | condition |
---|---|---|---|
110 | 0 | 0 | $form->params->{'anonymous_user'} || '' |
111 | 0 | 0 | $form->params->{'theme'} || 'default' |
125 | 0 | 0 | $c->req->param('page') || 1 |
248 | 0 | 0 | $c->model('DBIC::Person')->find($user) || (return) |