| blib/lib/Catalyst/Authentication/Store/DBIx/Class/User.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 1 | 18 | 5.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 77 | 0 | 0 | 0 | $dbix_class_config and exists $authinfo->{'result'} |
| 0 | 0 | 0 | $dbix_class_config and exists $authinfo->{'resultset'} | |
| 0 | 0 | 0 | $dbix_class_config and exists $authinfo->{'searchargs'} | |
| 170 | 0 | 0 | 0 | exists $self->config->{'use_userdata_from_session'} and $self->config->{'use_userdata_from_session'} != 0 |
| 191 | 0 | 0 | 0 | exists $self->config->{'use_userdata_from_session'} and $self->config->{'use_userdata_from_session'} != 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 262 | 0 | 0 | 3 | $self->SUPER::can(@_) || do { my($method) = @_; if (not ref $self) { undef; } elsif (not $self->_user) { undef; } elsif (my $code = $self->_user->can($method)) { sub { (shift())->_user->$code(@_); } ; } elsif (my $accessor = &try(sub { $self->_user->result_source->column_info($method)->{'accessor'}; } )) { sub { (shift())->_user->$accessor; } ; } else { undef; } } |