Branch Coverage

lib/UR/DataSource/MySQL.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
44 0 0 if ($tmpl->offset and not defined $tmpl->limit) { }
57 0 0 if (defined $limit and $offset) { }
0 0 elsif (defined $limit) { }
71 0 0 unless defined $dbh
80 0 0 if $table_name =~ /^(pg_|sql_|URMETA)/
97 0 0 unless ($self->{'_has_sequence_generator'}{$seq_table} or grep {$_ eq $seq_table;} $self->get_table_names)
99 0 0 unless ($dbh->do("CREATE TABLE IF NOT EXISTS $seq_table (next_value integer PRIMARY KEY AUTO_INCREMENT)"))
114 0 0 unless ($dbh->do("INSERT into $sequence_name values(null)"))
119 0 0 unless (defined $new_id)
123 0 0 unless ($dbh->do("DELETE from $sequence_name where next_value = $new_id"))
161 0 0 if ($is_optional) { }
0 0 elsif ($query_plan->order_by_column_is_descending($column_name)) { }
162 0 0 if ($query_plan->order_by_column_is_descending($column_name)) { }
181 0 0 unless $dbh
188 0 0 unless $sth
194 0 0 if $data->{'Non_unique'}
217 0 0 length $_ ? :
244 0 0 unless (defined $urtype)