Branch Coverage

blib/lib/DBIx/QuickORM/Dialect/MySQL.pm
Criterion Covered Total %
branch 2 72 2.7


line true false branch
26 0 0 $s->dbi_driver eq 'DBD::mysql' ? :
27 0 0 $s->dbi_driver eq 'DBD::mysql' ? :
28 0 0 $s->dbi_driver eq 'DBD::mysql' ? :
42 0 1 unless $mariadb or $mysql
44 1 0 $mariadb ? :
50 0 0 unless builtin::blessed($in)
52 0 0 if $in->{'dbi_driver'}
62 0 0 if $driver eq "DBD::mysql"
63 0 0 if $driver eq "DBD::MariaDB"
70 0 0 if (builtin::blessed($self) eq __PACKAGE__)
71 0 0 if (my $vendor = $self->db_vendor) { }
72 0 0 if (my $class = load_class("DBIx::QuickORM::Dialect::MySQL::$vendor")) { }
0 0 elsif (not $@ =~ m[Can't locate DBIx/QuickORM/Dialect/MySQL/$vendor\.pm in \@INC]) { }
96 0 0 if $driver eq "DBD::MariaDB"
97 0 0 if $driver eq "DBD::mysql"
124 0 0 if $val =~ /MariaDB/i
125 0 0 if $val =~ /Percona/i
126 0 0 if $val =~ /Community/i
134 0 0 if $val =~ /MariaDB/i
135 0 0 if $val =~ /Percona/i
136 0 0 if $val =~ /Community/i
231 0 0 unless $row->{'type'} eq "FOREIGN KEY"
241 0 0 if ($type eq 'foreign key') { }
0 0 elsif ($type eq 'unique') { }
0 0 elsif ($type eq 'unique' or $type eq 'primary key') { }
249 0 0 if $type eq "primary key"
264 0 0 unless $table
288 0 0 if $res->{'EXTRA'} and $res->{'EXTRA'} eq "auto_increment"
291 0 0 if grep {$self->_col_field_to_bool($res->{$_});} grep({/CHARACTER/;} keys %$res)
292 0 0 if grep {$self->_col_field_to_bool($res->{$_});} grep({/NUMERIC/;} keys %$res)
309 0 0 unless defined $val
310 0 0 unless $val
312 0 0 if $val eq "no"
313 0 0 if $val eq "undef"
314 0 0 if $val eq "never"
339 0 0 $nu ? :