Condition Coverage

blib/lib/Ado/Plugin/Auth.pm
Criterion Covered Total %
condition 10 30 33.3


and 3 conditions

line !l l&&!r l&&r condition
104 9 1 7 $c->req->method ne 'POST' and $auth_method eq 'ado'
255 0 0 0 $user->stop_date != 0 and $user->stop_date < $time

or 2 conditions

line l !l condition
9 23 0 $conf->{'auth_methods'} ||= ['ado']
123 1 5 $c->res->code // !1
196 0 0 $c->param('error') || 'no error'
208 0 0 $c->param('error') || ''
230 0 0 $c->param('error') || 'no error'
243 0 0 $c->param('error') || ''

or 3 conditions

line l !l&&r !l&&!r condition
97 1 1 0 $c->req->headers->referrer // $base_url
162 1 0 3 not $user->id or $user->disabled
255 0 0 0 $user->disabled or $user->stop_date != 0 and $user->stop_date < $time
0 0 0 $user->disabled or $user->stop_date != 0 and $user->stop_date < $time or $user->start_date > $time