Condition Coverage

blib/lib/Catalyst/Authentication/Credential/Remote.pm
Criterion Covered Total %
condition 15 28 53.5


and 3 conditions

line !l l&&!r l&&r condition
20 0 0 2 defined $config->{'allow_regexp'} and $config->{'allow_regexp'} ne ""
27 0 0 2 defined $config->{'deny_regexp'} and $config->{'deny_regexp'} ne ""
34 0 0 2 defined $config->{'cutname_regexp'} and $config->{'cutname_regexp'} ne ""
52 0 0 0 $c->engine->can("env") and defined $c->engine->env
101 9 0 0 defined $authuser and $authuser ne $remuser
104 0 8 1 defined $self->deny_re and $remuser =~ $self->deny_re
105 0 7 1 defined $self->allow_re and not $remuser =~ $self->allow_re
111 1 1 5 $remuser =~ $self->cutname_re and $1 ne ""

or 2 conditions

line l !l condition
41 1 1 $config->{'source'} || 'REMOTE_USER'
43 1 1 $config->{'username_field'} || 'username'