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
105 9 1 7 $c->req->method ne 'POST' and $auth_method eq 'ado'
256 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']
124 1 5 $c->res->code // !1
197 0 0 $c->param('error') || 'no error'
209 0 0 $c->param('error') || ''
231 0 0 $c->param('error') || 'no error'
244 0 0 $c->param('error') || ''

or 3 conditions

line l !l&&r !l&&!r condition
98 1 1 0 $c->req->headers->referrer // $base_url
163 1 0 3 not $user->id or $user->disabled
256 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