Condition Coverage

blib/lib/MyLibrary/Auth.pm
Criterion Covered Total %
condition 1 24 4.1


and 3 conditions

line !l l&&!r l&&r condition
157 0 0 0 defined $status and $status =~ /^not authenticated$|^authenticated$|^failed authentication - invalid username$|^failed authentication - invalid password$|^failed authentication - user not in patron table$|^expired$/
164 0 0 0 $$_attr_flds_ref{'_key'} and not exists $_auth_obj{$$_attr_flds_ref{'_key'}}
186 0 0 0 defined $status and $status =~ /^not authenticated$|^authenticated$|^failed authentication$|^expired$/
193 0 0 0 $$_attr_flds_ref{'_key'} and not exists $_auth_obj{$$_attr_flds_ref{'_key'}}
263 0 0 0 defined $args{'action'} and $args{'action'} eq 'remove'

or 3 conditions

line l !l&&r !l&&!r condition
136 0 1 0 ref $self || $self
280 0 0 0 $caller[0] eq 'main' or not $caller[0] =~ /^MyLibrary::Auth::\w+/
0 0 0 $caller[0] eq 'main' or not $caller[0] =~ /^MyLibrary::Auth::\w+/ or $caller[1] ne $_auth_obj{${$self;}}{'file'}