Branch Coverage

blib/lib/CellBIS/SQL/Abstract/Test.pm
Criterion Covered Total %
branch 13 46 28.2


line true false branch
36 3 0 if (my $dbh = $self->backend->db->query($q))
66 1 0 if (my $dbh = $self->backend->db->query($q))
82 4 0 if $dbtype eq 'sqlite'
90 0 4 if $dbtype eq 'mariadb'
94 0 4 if $dbtype eq 'pg'
105 4 0 if (my $dbh = $self->backend->db->query($q))
121 2 0 if (my $dbh = $self->backend->db->query('DELETE FROM ' . $table_info->table_name))
139 2 0 if (my $dbh = $self->backend->db->query('DROP TABLE IF EXISTS ' . $table_info->table_name))
161 0 0 unless $self->check_table->{'result'}
165 0 0 if (my $dbh = $self->backend->db->query($q))
178 0 0 if $self->via eq 'mariadb'
179 0 0 if $self->via eq 'pg'
180 0 0 if $self->via eq 'sqlite'
183 0 0 if $self->via ne 'sqlite' and $self->dsn =~ /^sqlite\:/u
187 0 0 if ($self->via eq 'sqlite')
193 0 0 ref $load ? :
0 0 if $load
206 0 1 if $self->via eq 'mariadb'
207 0 1 if $self->via eq 'pg'
208 1 0 if $self->via eq 'sqlite'
211 1 0 if ($self->via eq 'sqlite')
218 0 0 ref $load ? :
0 1 if $load