Branch Coverage

blib/lib/Concierge/Users/Database.pm
Criterion Covered Total %
branch 31 62 50.0


line true false branch
31 0 29 unless ($dbh)
57 29 0 if ($sth)
62 0 29 if ($table_exists)
66 0 0 if ($count_sth)
72 0 0 if ($user_count > 0) { }
74 0 0 unless ($archive_result->{'success'})
91 0 29 unless ($storage_ok)
138 0 27 unless ($dbh)
179 0 29 unless $sth
183 0 29 if $exists
195 146 194 if ($field_def_info and $field_def_info->{'required'})
210 0 29 unless $result
232 0 0 unless ($result)
245 0 80 unless $user_id
247 0 80 unless $initial_record
265 80 0 if ($sth->execute(@values)) { }
283 23 85 $user_data ? :
23 85 $user_data ? :
309 0 84 unless ($sth)
313 84 0 if ($sth->execute(@values)) { }
328 2 5 if (ref $filters eq "HASH" and exists $filters->{'or_groups'})
338 1 1 if ($op eq '=') { }
1 0 elsif ($op eq ':') { }
0 0 elsif ($op eq '!') { }
0 0 elsif ($op eq '>') { }
0 0 elsif ($op eq '<') { }
361 2 0 if (@and_clauses)
367 2 0 if (@or_groups)
374 2 5 if (@where_clauses)
399 1 0 if ($sth->execute($user_id)) { }
409 56 56 if ($self->{'dbh'})