Branch Coverage

blib/lib/Catalyst/Authentication/Store/DBIx/Class/User.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
17 0 0 unless defined $config->{'user_model'}
31 0 0 unless $self->{'resultset'}
34 0 0 unless exists $self->config->{'id_field'}
37 0 0 unless ref $self->config->{'id_field'} eq 'ARRAY'
43 0 0 unless &all(sub { $self->{'resultset'}->result_source->has_column($_); } , @{$self->config->{'id_field'};})
67 0 0 if (exists $authinfo->{'dbix_class'})
75 0 0 if ($dbix_class_config and exists $authinfo->{'resultset'}) { }
0 0 elsif ($dbix_class_config and exists $authinfo->{'searchargs'}) { }
86 0 0 if ($self->resultset->result_source->has_column($key))
90 0 0 if (keys %{$searchargs;}) { }
102 0 0 if ($self->get_object) { }
125 0 0 if (ref $self->_roles eq 'ARRAY')
130 0 0 if (exists $self->config->{'role_column'}) { }
0 0 elsif (exists $self->config->{'role_relation'}) { }
132 0 0 if ($role_data)
138 0 0 if ($self->_user->$relation->result_source->has_column($self->config->{'role_field'})) { }
180 0 0 if (exists $self->config->{'use_userdata_from_session'} and $self->config->{'use_userdata_from_session'} != 0)
187 0 0 if (ref $frozenuser eq 'HASH')
200 0 0 if ($self->_user->can($field)) { }
210 0 0 if ($force)
237 0 0 if $method eq 'DESTROY'