| blib/lib/Elive/Entity/User.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 2 | 14 | 14.2 | 
| line | true | false | branch | 
|---|---|---|---|
| 56 | 21 | 85 | if (defined $spec and not ref $spec) { } | 
| 99 | 0 | 0 | if $updates{'userId'} and @$rows and exists $$rows[0]{'loginName'} and $updates{'userId'} eq $$rows[0]{'loginName'} | 
| 151 | 0 | 0 | unless ($opt{'force'}) | 
| 153 | 0 | 0 | unless my $connection = $opt{'connection'} || $self->connection | 
| 156 | 0 | 0 | if $self->userId eq $connection->login->userId | 
| 159 | 0 | 0 | if $self->_db_data->role->stringify <= $Elive::Entity::Role::SYSTEM_ADMIN | 
| 205 | 0 | 0 | if (defined $new_password and $new_password ne '') |