Condition Coverage

blib/lib/Apache/AppSamurai/AuthBase.pm
Criterion Covered Total %
condition 0 16 0.0


and 2 conditions

line l !l condition
85 0 0 defined $$self{'conf'} and scalar keys %{$$self{'conf'};}
126 0 0 $self->AddError('warn', 'Invalid username') and return 0
127 0 0 $self->AddError('warn', 'Invalid password') and return 0

and 3 conditions

line !l l&&!r l&&r condition
43 0 0 0 defined $$me{'conf'}{'user'} and defined $$me{'conf'}{'pass'}

or 2 conditions

line l !l condition
149 0 0 shift() || (return undef)
191 0 0 shift() || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
31 0 0 0 ref $this || $this