Condition Coverage

blib/lib/Elive/Entity/User.pm
Criterion Covered Total %
condition 2 21 9.5


and 3 conditions

line !l l&&!r l&&r condition
56 0 85 21 defined $spec and not ref $spec
99 0 0 0 $updates{'userId'} and @$rows
0 0 0 $updates{'userId'} and @$rows and exists $$rows[0]{'loginName'}
0 0 0 $updates{'userId'} and @$rows and exists $$rows[0]{'loginName'} and $updates{'userId'} eq $$rows[0]{'loginName'}
130 0 0 0 @$results && $$results[0]
205 0 0 0 defined $new_password and $new_password ne ''

or 3 conditions

line l !l&&r !l&&!r condition
153 0 0 0 $opt{'connection'} || $self->connection