Condition Coverage

blib/lib/Web/ACL.pm
Criterion Covered Total %
condition 16 33 48.4


and 3 conditions

line !l l&&!r l&&r condition
226 0 1 21 defined $opts{'acl'} and ref $opts{'acl'} eq "HASH"
0 0 1 defined $opts{'acl'} and ref $opts{'acl'} ne "HASH"
253 16 0 0 not defined $opts{'acl'}{$acl}{'final'} and $acl eq 'undef' || $acl eq 'nonexistent'
378 9 0 0 $self->{'acl'}{$opts{'apikey'}}{'require_slug'} and not defined $slugs[0]
416 6 4 5 defined $ip and $self->{'acl'}{$opts{'apikey'}}{'ip_auth'}
4 6 0 not defined $ip and $self->{'acl'}{$opts{'apikey'}}{'ip_auth'}
477 8 0 3 defined $ua and $self->{'acl'}{$opts{'apikey'}}{'ua_auth'}
0 8 0 not defined $ua and $self->{'acl'}{$opts{'apikey'}}{'ua_auth'}
513 6 0 3 defined $path and $self->{'acl'}{$opts{'apikey'}}{'path_auth'}
0 6 0 not defined $path and $self->{'acl'}{$opts{'apikey'}}{'path_auth'}

or 3 conditions

line l !l&&r !l&&!r condition
253 0 0 0 $acl eq 'undef' || $acl eq 'nonexistent'